linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Faheem Mitha <faheem@email.unc.edu>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] resizing root filesystem on LVM with live CD?
Date: Sun, 28 Aug 2005 18:16:29 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.62.0508281740530.11178@Chrestomanci> (raw)


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

             reply	other threads:[~2005-08-28 22:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-28 22:16 Faheem Mitha [this message]
2005-08-29  0:41 ` [linux-lvm] resizing root filesystem on LVM with live CD? mailinglist
2005-08-29 13:27   ` Kelly Sauke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.62.0508281740530.11178@Chrestomanci \
    --to=faheem@email.unc.edu \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).