LVM questions

Tony Arnold tony.arnold at manchester.ac.uk
Sat Apr 22 21:21:37 UTC 2006


Dick,

Thanks for you help.

On Sat, 2006-04-22 at 21:24 +0100, Dick Davies wrote:
> On 22/04/06, Tony Arnold <tony.arnold at manchester.ac.uk> wrote:
> 
> That's right. What format is the root fs? With reiser it's a piece of cake.
> You can have problems with other filesystems (XFS can't be shrunk for example).

The root file system is ext3. I could use resize2fs to shrink it, but it
won't if it's mounted, and I cannot umount the root file system on a
running system.

My solution was to boot the installation CD in rescue mode. I somehow
managed to get to the partition disks part of the installation which I
used to resize the root system. It gave some error message, but after
rebooting, the fs was the size I wanted, but the volume had not changed
in size. The LVM utility sorted that out though.

So I've done what I needed to do, but I feel there should be a cleaner
way. Maybe a live CD boot would have helped. (Oh, booting into recovery
mode didn't help. I could umount /, but then the resize2fs utility was
not available!)

Regards,
Tony.





More information about the ubuntu-users mailing list