linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Chris Osicki <osk@admin.swisscom-mobile.ch>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Re: Extending the Root Volume with LVM
Date: Tue, 20 Feb 2007 11:45:18 +0100	[thread overview]
Message-ID: <20070220114518.13e93256@slopi> (raw)
In-Reply-To: <45D0CFA1.9070508@akamail.com>


Clark

Have a look at ext2online. It comes with RHEL 4.

Regards,
Chris

On Mon, 12 Feb 2007 12:35:45 -0800
Duane Clark <dclark@akamail.com> wrote:

> Sean McGlynn wrote:
> > I am working with RHEL 4 Update 4.  When initially installing the OS I 
> > allowed the installation to automatically partition the disk, and it 
> > used LVM to create a logical volume to mount the root file system.  The 
> > only other logical volume it created was for the swap file.
> >  
> > Now, as an experiment, I am attempting to extend the volume group and 
> > logical volume on which root is mounted.  Everything appeared to 
> > be going smoothly (extending the VG, extending the LV, doing a vgchange, 
> > and then a lvm lvchange), but I am now at the point where I want to run 
> > e2fsck to check the file system and resize2fs to resize the files system 
> > to realize the added space, and I can't do either because the volume is 
> > mounted, and cannot be unmounted.
> >  
> > I've read a few suggestions such as using the installation media to go 
> > in in rescue mode, but nothing seems to do the trick. 
> 
> Why, what problems did you run into? When rescue mode asked you whether 
> you wanted it to find and mount the root partitions, did you select 
> "skip"? Here are step by step instructions on how I reduced the LVM (on 
> FC4), including e2fsck and resize2fs.
> 
> https://www.redhat.com/archives/linux-lvm/2006-August/msg00081.html
> 
> > I also read 
> > something that said that you cannot extend the root volume, and that you 
> > shouldn't have to.  This appears to be more accurate than anything else 
> > I've read.
> 
> Definitely not true.
> 
> _______________________________________________
> 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/
> 

  reply	other threads:[~2007-02-20 10:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-12 20:11 [linux-lvm] Extending the Root Volume with LVM Sean McGlynn
2007-02-12 20:35 ` [linux-lvm] " Duane Clark
2007-02-20 10:45   ` Chris Osicki [this message]
2007-02-20 17:36     ` Duane Clark
2007-02-12 20:43 ` Duane Clark
2007-02-13 10:26 ` [linux-lvm] " Luca Berra

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=20070220114518.13e93256@slopi \
    --to=osk@admin.swisscom-mobile.ch \
    --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).