Partitioning for server
So I'm in the early stages of setup a homebrew fileserver/backup server.
In it will be two harddrives: hda (80gigs) hdg (160gigs) I will be using Slackware 10.2 as my distro of choice. My question is how should partition this harddrive space? Where should the different partitions be mounted? I would appreciate you could be specific. Like: / /boot /home /bin /tmp .... I have no idea on how to approach this situation. If my anything I'm saying sounds vague please do NOT hesitate to ask. |
I did some digging and came up with a rough sketch. What do you think?
/ /home /usr /var /tmp swap These were the six partitions I am considering doing. Any suggestions? How much space should I allocate to each? Here is one idea. 1gig swap hda1 39gig / hda2 160gig /home hdg1 20gig /usr hda3 5gig /var hda4 5gig /tmp hda5 How does this sound? |
If it will only be serving files and storing archives, I would do as follows:
/boot: 50M /usr: 1G /var: 1G /: 2G /mnt/backup: 130G /mnt/files: 100G As a comparison, my office fileserver / domain controller is as follows: Code:
Disk usage : |
If your putting /usr on a separate partition then there is no need to have so much space for /. Maybe 512 megs for /.
Depending on what software you are going to install a gig for /usr may be a bit short, and 20 gig is way over the top. I also like to put /tmp on a separate partition. Your swap space could also be reduced to 512 megs. Remember the less space you waste in things like /usr, / the more you have for backups and future ideas. You don't have to use all of the space now, leave some unpartitioned space left on the drive if you don't need it - it'll give more flexibility for the future. Anyhow, for the sake of interest: Code:
Filesystem Size Used Avail Use% Mounted on |
All times are GMT -5. The time now is 05:23 AM. |