Ian Bruseker said:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ok, this is another one of my questions that has no right answer.  But I'm
> pondering it today and I thought I'd toss it out to the group.  I'm
> install
> SuSE 8.2 to run in a server configuration.  All previous training tells me
> you don't make one big root partition - it's just bad karma.  Split things
> up
> so that filling one partition (say, /var, where database content is
> usually
> put) won't bring down your system.  Distro makers either don't know this
> or
> don't like it, because their auto-partitioning schemes always make one big
> "/" partition.
>
> Ok, back to SuSE - I've always broken /var and /usr off into their own
> partitions, and sometimes /home if it's warranted.  But SuSE throws in
> /srv
> and /opt.  This is getting a bit silly.  I don't want 7 partitions
> (including
> swap) - the machine only has 8 GB of hard drive space.  Nor do I have any
> clue how big /opt might get, and how big /srv will get compared to /var.
> I
> thought I'd cheat and just move /srv to /var then symlink to it, but
> Apache
> really doesn't like that (and I'm betting whatever FTP server I put on
> there
> won't like it either - they tend to generally be very anti-symlink).
>
> So, I'll solve this situation my own, I'm sure, but I thought I'd put it
> out
> there - how are people partitioning their servers, SuSE or other distro?

You could change the config for Apache so that it would accept the
symlink, however this might pose a security concern for you.  A better way
would be to move /srv to /var, recreate an empty /srv directory and then
mount /var/srv onto /srv using 'mount -o bind /var/srv /srv'  I don't
think Apache will know any different.  An entry for /etc/fstab could look
like:

/var/srv           /srv    auto            bind                0

I usually put / (~100MB), /tmp (~1GB or bigger depending on what I'm using
the server for), /var (~4GB, again it varies) & /usr (~5GB, again it
varies) onto 4 separate partitions.  I usually move /opt into /usr as well
and bind mount it onto /opt.

Hope this helps.

Cheers,

-- 
Trevor Lauder
Web: http://www.thelauders.net
E-Mail: [EMAIL PROTECTED]
Resume: http://www.thelauders.net/resume/
Gentoo Linux Powered

"Any intelligent fool can make things bigger and more complex... It takes
a touch of genius -- and a lot of courage to move in the opposite
direction."  -- Albert Einstein

Reply via email to