[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A question about /srv partition



Junpei Xia wrote:
Thanks, Dave:)

On Apr 2, 2005 1:24 PM, Dave Ewart <davee@sungate.co.uk> wrote:

On Saturday, 02.04.2005 at 12:21 -0500, Andrew Schulman wrote:


Of course, I have /boot, /home, /opt, /tmp, /usr, /usr/local, /var
all on their own partitions.

Of course?  Wow, that is a lot of partitions.  Do you find yourself
having to repartition a lot?

Yeah, partitioning is always hard to advise on, because it depends on
what you need.

/boot is required with some systems, BIOSes or disks, but is not
required at all on many systems

/home is nearly always a good idea, unless the server will not have any
real users (i.e. it's just a web server or something like that: just
running services).  Usually you will want /home to survive a reinstall.

/opt is probably pointless, unless you are building software yourself to
put there.  Debian will never use this.

/tmp is sometimes useful if you have a lot of users creating temporary
files, as it stops the root partition filling up

/usr is not normally required on a separate partition, although you can
sometimes share /usr across multiple systems if you do

/usr/local: similar to /opt, in that you put stuff you build yourself
there and it can survive a reinstall

/var is usually worth keeping separate, so that root doesn't fill up
completely

In summary, It Depends.


I recommend using LVM2.  It is especially nice when in 6 months to a
year you decide you want to change your partition layout.

-Roberto

--
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: