This is sort of going a different direction - but I often divide the root LVM (when I use one) into logical volumes that are mounted as / , /usr, /var, /opt, /tmp, etc. (VG root LV usr mount /dev/root/usr /usr , etc)
That might seem at crosspurposes to what's been discussed, but it keeps the 'OS' stuff in one VG as much as possible, and also allows for some management of the sizes of those system dirs. Using a bit more of /usr than anticipated? - add some free space from the root VG (or add another DASD to it) and dynamically increase /usr. I prefer having a single root LVM but with logical volumes that map to directories which I can expand individually as needed. I prefer as few VG's in use as possible. One for system - one for apps - maybe another for data, depending on the situation.. Even if you don't mount root as an LVM itself - you can still manage all the system dirs (/usr, /var, etc) under a single VG with seperate LVs. Scott Rohling On Thu, Aug 14, 2008 at 10:45 AM, Fargusson.Alan <[EMAIL PROTECTED]>wrote: > The answer is: it depends. > > I usually try to put /usr, /opt, /var, and /tmp on separate filesystems. > One big HOWEVER is that I know that my users don't use much space in their > home directories. I would separate /home out if I didn't know this for > sure. > > We only have 3390-3s, so I start with one volume per filesystem, except > /tmp. Since /tmp can be much smaller I use create a minidisk of around 300 > cylinders. We are not doing much with Linux on Z right now, so /tmp may > need to be larger if you are doing a lot of compiles, or anything that > creates large temporary files. > > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of > Ryan McCain > Sent: Thursday, August 14, 2008 9:24 AM > To: [email protected] > Subject: Re: Root filesystem > > > Do you have every directory under / defined as its own filesystem? /etc, > /boot, /var, /opt, /lib, etc.. ? > > >>> On Thu, Aug 14, 2008 at 11:15 AM, in message > <[EMAIL PROTECTED]>, > David > Boyes <[EMAIL PROTECTED]> wrote: > >> The main reason is we have a limited about of disk to allocate and we > > will > >> have a hard time saying X gigs go to /opt, Y gigs will be needed for > >> /home, etc. > > > > Then put those secondary directories into LVMs and mount them at boot > > time in /etc/fstab -- no problem there. It's really just / that we're > > worrying about here. For a manageable system in a large configuration, / > > is (and should be) small and rarely changed -- all it has to do is > > provide mount points for other filesystems, either in LVM, network, FCP, > > etc. > > > > In most cases, / contains enough to get the system up and on the network > > to the point where you can work with it. Once you can do that, you can > > do anything else you want to do fairly easily. > > > > ---------------------------------------------------------------------- > > For LINUX-390 subscribe / signoff / archive access instructions, > > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or > > visit > > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > > __________________________________________________________________________________________________ > > CONFIDENTIALITY NOTICE: This email from the State of California is for the > sole use of the intended recipient and may contain confidential and > privileged information. Any unauthorized review or use, including > disclosure or distribution, is prohibited. If you are not the intended > recipient, please contact the sender and destroy all copies of this email. > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
