[linux-lvm] Error extending an lv
Heinz J . Mauelshagen
mauelshagen at sistina.com
Mon Sep 16 05:58:02 UTC 2002
On Sat, Sep 14, 2002 at 08:59:07PM +0100, Matthew Johnson wrote:
> Hi, I've just had to resize one of the lv's on my lvm system (debian
> woody), so I ran lvextend -L +5G /dev/lvm1/music, then ran
> resize_reiserfs /dev/lvm1/music - and continued copying stuff on. This
> was done with the vg active, but I had to unmount the partition to
> resize the reiserfs (my mount is screwed up - I'm going to reinstall the
> system anyway in a couple of weeks, I'm just booting it in single user
> mode atm to put some data somewhere temporarily).
> Anyway, when I next booted and ran vgchange -ay, I get the message
> "physical volume /dev/hde8 inconsistant", and the partition won't mount.
> Any ideas?
so /dev/hde8 belonged to your VG "lvm1", was empty before (no extents allocated)
and extending /dev/lvm1/music changed that?
What does "vgck lvm1" tell you?
Before you change anything, make sure that you have backups of all files
in /etc/lvmconf/ !!!
> (that pv might only now have data on it, but it created fine with the
> pvcreate command earlier)
> linux-lvm mailing list
> linux-lvm at sistina.com
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
Mauelshagen at Sistina.com +49 2626 141200
More information about the linux-lvm