The layout Mark Post suggests is terrific. I also split /boot because I sense more control, but splitting /boot (thus allowing easier kernel switcheroo) is only really helpful if you carry the contents of /lib/modules there too (because kernel modules kinda hafta go along with the booted kernel).
LVM gets tricky when recovering. Regarding Scott's question, I have to follow by asking, what are you after? The ability to grow root using the same tool as other vols? Don't, because if you split /usr and /opt (as Mark indicated) then op sys growth is more than 90% covered. In such a case, 400M is generous, but yet is small compared to all other volumes. A discrete root is much easier to recover. Recovery of a volume group is usually not the issue. But LVM makes recovery OF THE SYSTEM much more difficult. Recovering LVM is not as easy as recovering discrete volumes, but it can be done. The problem is aggravated when the volume group to be recovered has the same name as a volume group already in use (on the machine where you perform recovery). With care, you can bring the to-be-recovered volume group online in a 'chroot' by selectively removing the PVs (in 'chroot' space) which host the other VG by that name. This is the same reason I so strongly dislike mounting by label. But I don't experience as much pain with LVM as with mounting by label when use of LVM is ... well ... more carefully applied. LVM is highly reliable. To date, I have not experienced any problems with LVM2 that were not induced by outside factors. But because those outside factors exist, I still put root and boot on discrete volumes. Summary: * let root be a discrete volume * let boot be a discrete volume if you can also manage your kernel modules * throw the rest into LVM * back LVM by ECKD or EDEV or SAN (try all of them) * consider "tmpfs" for /tmp if it is roomy enough for your needs And be thankful. (Oh ... started this yesterday ... so I am a little slow.) -- R; <>< On Thu, Nov 26, 2009 at 11:58, And Get Involved <[email protected]> wrote: > We use sles10 on z/VM. And also use LVM. > > where we should put /boot and / ? > how large for physical volume? Should put / into physical partition? > > Why? > > I remember on one red book said put /boot on /dasda with the size 512 MB. > then the rest put into LVM. Can't find that book anymore. Is that right? > > Thanks! > > Sunny > > This message is intended only for the addressee. It may contain privileged > or confidential information. Any unauthorized disclosure is strictly > prohibited. If you have received this message in error, please notify us > immediately so that we may correct our internal records. Please then delete > the original email. Thank you. (Sent by Webgate2) > > > ---------------------------------------------------------------------- > 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
