From: Pascal Garcia dld <dld.pascal.garcia@wanadoo.fr>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] How to extend a root LVM volume?
Date: Thu, 17 Jun 2004 22:37:50 +0200 [thread overview]
Message-ID: <1087504670.2697.23.camel@localhost.localdomain> (raw)
In-Reply-To: <40D1D120.3070605@miksis.com>
Hello,
Sorry but I will not solve your problem.
The problem I see is that you must declare the volume and "import the
pvs" but I am not sure you will be, afterwards able to reboot.
I just want to tell about what I did not to have that problem. It does
not help for your problem.
They are file systems that can be resized (at least extended) without
unmounting the partition.
ext2 and ext3 partitions, as far as I know, can not. reiserfs partition
can, but I believe there are few others. Reiserfs is the one I use.
This is the script I use to extend my root partition by 500M when needed
! I just make sure my important data is saved before I do that, just in
case ...
lvextend -L +500M /dev/rootvg/1
resize_reiserfs /dev/rootvg/1
No need to reboot, to stop to start rescue disk, ... That is done!
Easy no!
Regards
Pascal Garcia
Le jeu 17/06/2004 � 19:13, Mark Miksis a �crit :
> I'm trying to extend a root LVM. I'm using LVM2 on FC2. Here is what
> I've tried:
>
> I ran lvextend when the system was booted normally and the volumes were
> mounted. This worked as expected and lvdisplay properly shows the new
> larger size.
>
> Then I booted into the FC2 rescue CD and instructed it to NOT search for
> and mount Fedora installations. I then ran:
> # resize2fs /dev/Volume00/LogVol00
> I don't have the specific error, but it basically says that the
> specified volume doesn't exist. Indeed if I look in /dev, my volume
> group and volumes are nowhere to be found.
>
> At that point I tried:
> # lvm
> lvm> vgscan
> After only about 1 second, it responds that no volumes are found.
>
> I also tried rebooting from the CD and letting it mount my
> installations. In this case, the volume and volume groups are properly
> discovered and mounted. However, if I try to unmount the volume, it
> always responds with "device busy".
>
> Is this a problem with how the FC2 rescue disk scans for volumes? Any
> help would be appreciated.
>
>
> _______________________________________________
> 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/
next prev parent reply other threads:[~2004-06-17 20:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-17 17:13 [linux-lvm] How to extend a root LVM volume? Mark Miksis
2004-06-17 20:37 ` Pascal Garcia dld [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-06-17 17:04 Mark Miksis
2004-06-20 8:50 ` Heinz Mauelshagen
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=1087504670.2697.23.camel@localhost.localdomain \
--to=dld.pascal.garcia@wanadoo.fr \
--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