I have a machine with two 20GB drives and I'm going to be installing Linux (openSuSE 10.2 downloading ISO right now) as the only operating system on the machine. I just read about partitioning and I think I have a good scheme but I just want to check with some Linux users on the forums first before I run the installer.
All units are in megabytes. Oh, and the partitions are listed from first to last on the drive.
Drive 1:
/ - 9128
swap - 128
/home - 9128
swap - 128
/tmp - 300
Drive 2:
/usr - 9128
swap - 128
/usr/local - 9128
swap - 128
/var - 300
I'm not sure if putting multiple swap partitions between other partitions is common practice, but I think that it'll make the machine slightly faster as the head doesn't have to travel as far to get to a swap partition (because there will always be one right next to the partition currently being accesed).
-iam
Linux Partitioning
Moderator: Moderators
-
blackbox_dev
- Senior Member
- Posts: 1906
- Joined: Sun Jan 15, 2006 5:19 pm
- Location: Formerly known as iam7805
Linux Partitioning
I'd imagine right now you wish you were a cuttlefish...
-
gannon
- Moderator
- Posts: 6974
- Joined: Sun Apr 04, 2004 4:48 pm
- Location: Near that one big lake
- Contact:
Seems good enough. I usually just make a large / partition, then a swap one. Don't really see the reason to make folders into separate partitions since it'll only limit what you can put there, especially /tmp.
My server setup is this at the moment:
Drive 1 (20GB): / (18GB) swap (2GB)
Drive 2 (250GB): /mnt/stor1
Drive 3 (250GB): /mnt/stor2
Drive 4 (250GB): /mnt/stor3
Drive 5 (400GB): /mnt/stor4
I symbolically link my storage drives to my FTP, HTTP, NFS, and SMB folder for quick access.
My server setup is this at the moment:
Drive 1 (20GB): / (18GB) swap (2GB)
Drive 2 (250GB): /mnt/stor1
Drive 3 (250GB): /mnt/stor2
Drive 4 (250GB): /mnt/stor3
Drive 5 (400GB): /mnt/stor4
I symbolically link my storage drives to my FTP, HTTP, NFS, and SMB folder for quick access.
As gannon mentioned you don't need to have all those directories have separate partitions.
For most people you can get away with just a "/" and a "/swap" for your hard drive setup.
If you're going to be messing with the kernel, or you're worried about your base system getting messed up add a "/boot" partition to the table.
The only time I can think that you'd make a partition for "/bome" is if you have put it on a hard drive (likely slave) and simply want it to be accessible by distributions on removable hard drives, or another bootable OS on separate hard drive.
Hope this isn't confusing.
For most people you can get away with just a "/" and a "/swap" for your hard drive setup.
If you're going to be messing with the kernel, or you're worried about your base system getting messed up add a "/boot" partition to the table.
The only time I can think that you'd make a partition for "/bome" is if you have put it on a hard drive (likely slave) and simply want it to be accessible by distributions on removable hard drives, or another bootable OS on separate hard drive.
Hope this isn't confusing.
vskid wrote:Nerd = likes school, does all their homework, dies if they don't get 100% on every assignment
Geek = likes technology, dies if the power goes out and his UPS dies too
I am a geek.