On Feb 24, 2006, at 11:49 PM, Carl Lowenstein wrote:
/boot can't be in an LV because Grub doesn't understand that.
True.
/ shouldn't be in an LV because if you ever want to resize it, you can only do that if it is not mounted.
False, for cases where resize = grow. True, for cases where resize = shrink.
Both ext2/ext3 and ReiserFS have online grow tools.I've used them extensively here at UCSD. Our servers have far more disk capacity than we need up front, so we under-allocate. Then, as needs dictate, we can create new filesystems on the fly, or grow existing ones without anyone being the wiser.
lvextend -L +2G /dev/vg00/var && ext2online /dev/vg00/varwill snappily and handily add 2GB to /dev/vg00/var (mounted as, well, /var) without having to even let the users know what's happening.
Yes, if / is in LVM, you can expand it, too.Shrinking filesystems is an exercise in pain. I would not recommend shrinking a filesystem if there is at all any other way to do what you need.
Gregory -- Gregory K. Ruiz-Ade <[EMAIL PROTECTED]> OpenPGP Key ID: EAF4844B keyserver: pgpkeys.mit.edu
PGP.sig
Description: This is a digitally signed message part
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
