R
R
Robotex2012-11-04 18:23:21
ubuntu
Robotex, 2012-11-04 18:23:21

How to effectively partition a 1Tb HDD and what file systems to use in Ubuntu 12.10?

I bought a terabyte screw. What partitions of what size is it most efficient to split it into (6Gb DDR3 RAM), and what file systems are better to use?

Answer the question

In order to leave comments, you need to log in

14 answer(s)
O
Oleg Karnaukhov, 2012-11-04
@BupycNet

/ - 50 gigs - enough even if you download games from repositories.
/boot - 100 MB - better separately, then it will be easier if you demolish or reinstall the OS, especially if there are several of them.
swap - from 1 to 10 gigs (you need at least 6 if you want to use hibernate fully)
/ home - everything else
FS is better like this. /boot ext2 (but in general you can and ext4 I advise you to transfer it to ReadOnly later, unless of course you update Grub often) / ext4 /home there is already a larger choice, but I use ext4.
You can also, for example, as indicated above, create a section for media files. For example, for video, XFS is perfect here.

L
lionsimba, 2012-11-04
@lionsimba

If it is difficult to immediately determine the partition, you can start LVM on a screw with a minimum number of partitions of a minimum size. And later, if necessary, increase their size and add new sections.

S
Sild, 2012-11-04
@Sild

Диск /dev/sda: 1000.2 Гб, 1000204886016 байт Устр-во Загр Начало Конец Блоки Id Система /dev/sda1 * 1083985920 1186385919 51200000 7 HPFS/NTFS/exFAT //диск C /dev/sda2 1186385920 1953521663 383567872 7 HPFS/NTFS/exFAT //диск D /dev/sda3 2048 81921969 40959961 83 Linux // / (корень) /dev/sda4 81922048 1083985919 501031936 83 Linux // /home
With 8GB of RAM (as with 6) I see no reason to create a swap. And on /boot /tmp /mnt and other joys of Linuxoid, I consider it unnecessary to allocate partitions on a home computer. Yes, at the root left at least 2 times more than, most likely, will ever be used. It's a pity that 30GB compared to 1TB, but you never know what.

A
Alexey Akulovich, 2012-11-04
@AterCattus

I suggest, however, not “everything else in / home”, but in a separate section.
If you want a clean rearrangement in the future, you will have to look for what to save from / home and copy it to another place.
swap is not needed unless hibernate is needed. If you do with it, change the swappiness.

W
Wott, 2012-11-04
@Wott

Uh, I've been rooting everything for a long time and don't worry about partitioning
. Yes, and I always use 2xRAM in swap - do you feel sorry for 12G?
ubunta, one disk, desktop - ext4

O
oia, 2012-11-04
@oia

www.ubuntologia.ru/installation

A
ArtKun, 2012-11-04
@ArtKun

In my experience, about 13GB should be enough for the OS, FS - ext4.
On swap - 1Gb.
/home - everything else, and depends on the stored data. If you plan to store many large files (say, from 3 GB per file), then XFS, if nothing unusual, also ext4.

V
vsespb, 2012-11-04
@vsespb

I vote for:
- All EXT4,
- 50 GB '/',
- 4 Gb '/swap' (disable in OS if not needed).
— Else '/home'

S
srka, 2012-11-04
@srka

use ext4
/ root - 30-40gb.
swap, I would advise 7GB, with your amount of RAM. If you use the Standby mode (I can make a mistake in the terminology, the one that throws off the RAM on the broom), the contents of the memory will be thrown off just in the swap. And if there was some data, stupidly the content may not fit and there will be an error. I once did a 2GB swap and I had 2GB of RAM ... sometimes it worked perfectly to fall asleep to the disk, sometimes it wrote - out of memory

Q
qxfusion, 2012-11-04
@qxfusion

/swap - 8GB (130% RAM) swapfs
/boot - 64MB fat32 or ext3
/var - 16GB ReiserFS into small files (it's better to put it in RAM for good)
/ramdisk - 128MB tmpfs * often needed to process many small files so as not to clog the main FS
/ - 64GB BtrFS * as for me, the best option is
/home - * BtrFS or XFS

T
teremock, 2012-11-05
@teremock

One screw is in any case not effective.
I have 4 pieces.
And it is distributed so that the system, swap, tempo and main partition are on different physical devices.
And dividing one screw into a bunch of partitions makes little sense - at least in terms of performance

D
Dmitry, 2012-11-05
@deemytch

/ - reiserfs
home - xfs
According to personal research, the raiser is faster than all extX on small files, and xfs is faster on large ones.
And on the home partition, there will probably be a lot of multimedia and files of 5-15 gigs.

B
Busla, 2012-11-06
@Busla

AFAIK in modern realities, access to the swap file is carried out directly, in terms of performance it is comparable to a dedicated partition (unless, of course, the disk is crammed under the cover and the swap file is not fragmented). So you can not bother with a partition with a fixed volume. Moreover, the RAM is a profitable business, with a change in its volume, it is also necessary to change the volume of the swap.

R
Robotex, 2013-01-21
@Robotex

Which system is better to choose for a 500GB partition for a library (there will be both healthy video files and small audio and text files): ReiserFS, XFS or Ext4?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question