[KLUG Members] Re: How do I resize a root LV?

Adam Williams members@kalamazoolinux.org
Mon, 23 Feb 2004 17:54:01 -0500 (EST)


>Thanks for the help. I hadn't found the steps to activate a VG from a
>non-hard disk boot. Most of my LVM boxes are Suse and use ext2/3 for the
>/boot and root file systems.

vgscan didn't work?

>The Suse whitepaper on LVM only discusses resizing LV's with ext2/3 and
>Reiser file systems. With Reiser you can grow the partition while mounted,
>but in both cases you have to unmount the file system to shrink it before
>you shrink the LV. Although the white paper is a couple of years old the
>omission of XFS in this document led me to believe that Suse doesn't support
>XFS on VG's. Maybe XFS is something I should look into if you can shrink
>file systems while mounted.

I've created XFS filesystems in logical volumes on SuSe.  It didn't 
complain,  but I don't know if it is "supported".  Since the LVM and XFS 
code share some heritage I'd be surprised if there was a problem.

>On a similar note, the Suse install doesn't support booting LV's with GRUB.
>You have to choose LILO if you want LVM support. Go figure. I haven't tried
>going back after the install and switching from LILO to GRUB to see if it
>works. I presume that Suse has a good reason for not using GRUB with LV's.
>Same logic with the choice of file systems on my LV's.

I like to create a little "stock" /boot anyway.