* [linux-lvm] resizing root filesystem on LVM with live CD?
@ 2005-08-28 22:16 Faheem Mitha
2005-08-29 0:41 ` mailinglist
0 siblings, 1 reply; 3+ messages in thread
From: Faheem Mitha @ 2005-08-28 22:16 UTC (permalink / raw)
To: LVM general discussion and development
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] resizing root filesystem on LVM with live CD?
2005-08-28 22:16 [linux-lvm] resizing root filesystem on LVM with live CD? Faheem Mitha
@ 2005-08-29 0:41 ` mailinglist
2005-08-29 13:27 ` Kelly Sauke
0 siblings, 1 reply; 3+ messages in thread
From: mailinglist @ 2005-08-29 0:41 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 2786 bytes --]
You can use a Gentoo Live CD
Am Montag, 29. August 2005 00:16 schrieb Faheem Mitha:
> 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/
--
Micha Krause
Jabber: SMS-King@jabber.org
Email: mailinglist@krausam.de
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] resizing root filesystem on LVM with live CD?
2005-08-29 0:41 ` mailinglist
@ 2005-08-29 13:27 ` Kelly Sauke
0 siblings, 0 replies; 3+ messages in thread
From: Kelly Sauke @ 2005-08-29 13:27 UTC (permalink / raw)
To: LVM general discussion and development
mailinglist@krausam.de wrote:
> You can use a Gentoo Live CD
>
> Am Montag, 29. August 2005 00:16 schrieb Faheem Mitha:
>
>>Dear People,
>>
>>I have a machine which is running Fedora Core on AMD64.
Just use the FC rescue cd of the same version that you have installed. That way
you're running the same versions of everything as well.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-29 13:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-28 22:16 [linux-lvm] resizing root filesystem on LVM with live CD? Faheem Mitha
2005-08-29 0:41 ` mailinglist
2005-08-29 13:27 ` Kelly Sauke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).