resizing root filesystem on LVM with live CD?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Dear People,

I have a machine which is running Fedora Core on AMD64. I did not install this computer myself. The current setup is that that there are two partitions on the disk, one of them /boot and the other is given to a LVM volume group. This volume group currently has two logical volumes on it, swap and root, both using ext3.

/etc/fstab appears at the bottom of this email. I don't have access to this machine at this moment, otherwise I would give output of df.

What I want to do is to shrink the root logical volume, which I assume, though I'm not sure at the moment, occupies all the svailable space on in the volume group, along with the swap partition.

It is apparently possible to resize logical volumes with root mounted on a running system, but this seems a little too adventurous for my taste.

However, it seems possible that a live cd exists which can be used to resize logical volumes, and this would of course have no problem with the root filesystem of a system that is not running.

Does anyone have any suggestions about this? Note that it will need to run a 2.6 kernel, since I need to use lvm2.

I tried Knoppix, but it does not seem to know about LVM. I'm going to try the Debian installer, and see if I can get it to do this.

If people have suggestions, I'd be interested to hear about them.

Thanks.                                                         Faheem.

*************************************************************************
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 /dev/devpts /dev/pts devpts gid=5,mode=620 0 0 /dev/shm /dev/shm tmpfs defaults 0 0 /dev/proc /proc proc defaults 0 0 /dev/sys /sys sysfs defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 /dev/scd0 /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0 /dev/hda /media/cdrecorder1 auto pamconsole,exec,noauto,managed 0 0

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux