On Mon Aug 14 2000 at 10:38, Matt Marnell wrote:
> In my never-ending quest to find the perfect partition sizes for my new 30
> GB box, I'd like to perform an audit of the users of this list. If you
> don't mind, please submit the total space located in each of these
> directories...thanks.
Depends on how you want to carve things up, and how you are going to
use that system.
Nothing beats experimentation and experience.
> / (root)
Can vary. 40Mb can be enough for / without having /var /tmp and
/usr on the same partition.
> /var
Depends on what is going to go onto it. You'll need heaps if you
have lots of email in /var/spool/mail/ or mysql databases, or a
squid cache.
Often it is a good idea to separate out /var/spool/ onto a separate
partition, especially if you need to keep lots in /var/log/ and
/var/spool/ and there is a danger of the partition filling up.
Having them separate means that if one parition fills, then at least
the logs or the data is "safe".
> /usr
1Gb should be enough for the basics plus a bit more. If you have
the space, increase this to 1.5 or even 2Gb. Depends on what
applications you are going to be installing.
Hints:
/usr is mostly read-only. Keep it that way.
Have /usr/local/ separate, or as a symbolic link to /home/local/
so that when you upgrade or re-install, /usr/local/ is preserved
somewhere if the partition is reformatted.
/usr/src/ is mostly read-write. Have it as a symbolic link to
/home/src or have it in its own partition. Size depends on how
much compiling and so on that you are doing.
> /tmp
300-500Mb should be enough for most purposes. Give it plenty.
> /home
This partition should always be preserved thoughout system upgrades.
All data that needs to be backed up should be kept here. This is
the partition that always has the highest backup priority, it is the
partition you never want to loose... all user data goes here.
> /opt
Depends. I use redhat, so I have no need for it. If I ever do,
then I'll either keep it on / or symlink it to /usr. Other distros,
eg, SuSE, use it extensively.
> *for the root value, please don't count the space located in the other
> directories on the list...I just want the size of root plus all other files
> and dirs NOT in the other dirs on this list....THANKS VERY MUCH!!!
Believe me, partitioning hard drives is a bit of a black art. You
never get it right, and no solution is "perfect" for any two people.
It is an individual thing.
Aim for a scheme that will work, not cause you any hassles, and can
be easily upgraded or crashed and rebuilt without much pain.
> Matt
>
Cheers
Tony