Clan x86

Technical (Development, Security, etc.) => Unix / Linux Discussion => Topic started by: rabbit on October 13, 2005, 06:35:50 PM

Title: Hah-HAH! (Part 2: The Partition Chronicles)
Post by: rabbit on October 13, 2005, 06:35:50 PM
The install directions suggest different partitions for /, /home, and /usr.  I've got 32gb drive.  As far as I can remember, swap gets the biggest chunck of that, and then the rest is split up?  I'm not sure.  Recommendations?
Title: Re: Hah-HAH! (Part 2: The Partition Chronicles)
Post by: Joe on October 13, 2005, 06:57:56 PM
I just went 10GB swap (more than more than more than enough) and 110GB /. The seperation is so that when your / gets fried you still have your documents in /home.
Title: Re: Hah-HAH! (Part 2: The Partition Chronicles)
Post by: MyndFyre on October 13, 2005, 07:30:38 PM
Quote from: Joe[e2] on October 13, 2005, 06:57:56 PM
I just went 10GB swap (more than more than more than enough)

Holy shit!

2GB swap is generally more than enough unless you're running massively-loaded servers.
Uh yeah.  I did 2GB swap, and about 10gb /.
Title: Re: Hah-HAH! (Part 2: The Partition Chronicles)
Post by: iago on October 13, 2005, 08:27:48 PM
A rule of thumb is that your swap should be about twice your ram.  I tend to use 1gb of swap, sometimes 512 on certain machines. 

I'd recommend that, if you don't know what sizes to use, then just do ~1gb swap, and the rest /.  Once you get used to where you use the most space, you can worry about partitions. 

Just FYI, this is what I did:

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             7.3G  1.6G  5.4G  23% /
/dev/hda2             7.3G  366M  6.5G   6% /usr/local
/dev/hda3              35G  7.4G   26G  23% /home
/dev/hda5              23G   17G  5.7G  75% /vmware
tmpfs                 252M     0  252M   0% /dev/shm


I found that I was using far more space in /home than anywhere else, so it was logical to give it more room.