1830235 Members
2464 Online
109999 Solutions
New Discussion

partitions

 
rmedidi
Contributor

partitions

hi everybody

how i can use 37 gb hard disk for installing qmail in fedora.

please tell me how much space i should allocate for certain directories

/ =
root =
boot =
user =
home =
var =
tmp =
2 REPLIES 2
Stuart Browne
Honored Contributor

Re: partitions

If it's just going to be a mail server, then something like this:

swap - 2GB (or so, depending on memory)
/ - 5GB
/boot - 100MB
/var - the rest

/tmp shouldn't be used much so no need to separate it. Unless you want to make /usr a read-only filesystem, no need to seperate. As for /home, well, if it's going to be a mail server, then you're not going to have much in there either.

/root (as against just /) should never be a seperate filesystem.

So that leaves /var with all of qmail's queues.

It's roughly how I do sendmail servers.
One long-haired git at your service...
Ivan Ferreira
Honored Contributor

Re: partitions

The partitions sizes recommended above are good. You can use LVM, so if you ever run out of space on /var, you can add more disks to the volume group and extend the /var logical volume.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?