* [linux-lvm] How to extend a root LVM volume?
@ 2004-06-17 17:04 Mark Miksis
2004-06-20 8:50 ` Heinz Mauelshagen
0 siblings, 1 reply; 4+ messages in thread
From: Mark Miksis @ 2004-06-17 17:04 UTC (permalink / raw)
To: linux-lvm
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-lvm] How to extend a root LVM volume?
@ 2004-06-17 17:13 Mark Miksis
2004-06-17 20:37 ` Pascal Garcia dld
0 siblings, 1 reply; 4+ messages in thread
From: Mark Miksis @ 2004-06-17 17:13 UTC (permalink / raw)
To: linux-lvm
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] How to extend a root LVM volume?
2004-06-17 17:13 [linux-lvm] How to extend a root LVM volume? Mark Miksis
@ 2004-06-17 20:37 ` Pascal Garcia dld
0 siblings, 0 replies; 4+ messages in thread
From: Pascal Garcia dld @ 2004-06-17 20:37 UTC (permalink / raw)
To: LVM general discussion and development
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] How to extend a root LVM volume?
2004-06-17 17:04 Mark Miksis
@ 2004-06-20 8:50 ` Heinz Mauelshagen
0 siblings, 0 replies; 4+ messages in thread
From: Heinz Mauelshagen @ 2004-06-20 8:50 UTC (permalink / raw)
To: LVM general discussion and development
I am guessing that rescue CD has a restrictive filter setup
which prevents vgscan from seeing the drives.
On Thu, Jun 17, 2004 at 10:04:06AM -0700, Mark Miksis wrote:
> 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/
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@RedHat.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-20 8:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-17 17:13 [linux-lvm] How to extend a root LVM volume? Mark Miksis
2004-06-17 20:37 ` Pascal Garcia dld
-- strict thread matches above, loose matches on Subject: below --
2004-06-17 17:04 Mark Miksis
2004-06-20 8:50 ` Heinz Mauelshagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox