[linux-lvm] vgchange doesn't activate the logical volume

Patrick Caulfield pcaulfie at redhat.com
Wed Jun 21 08:37:03 UTC 2006


Daniel Loney wrote:
> After doing random
>    vgchange -an /dev/vg02
>    vgscan
>    vgchange -ay /dev/vg02
>  
> vgchange no longer sets the volume to available.  The volume remains in
> a *NOT available* state.
>  
> I am using
> lvm2-2.01.14-3.6
>  
> Here is the output of the vgchange and vgdisplay commands:
>  
> suse01:~ # vgchange -vay /dev/vg02
>     Using volume group(s) on command line
>     Finding volume group "vg02"
>   /dev/sda: read failed after 0 of 4096 at 0: Input/output error


I think you need to investigate why LVM can't read /dev/sda - assuming that's
supposed to be one of your disks.

>     Activated logical volumes in volume group "vg02"
>   0 logical volume(s) in volume group "vg02" now active
>  
> suse01:~ # vgdisplay -v vg02| more
>     Using volume group(s) on command line
>     Finding volume group "vg02"
>   /dev/sda: read failed after 0 of 4096 at 0: Input/output error


-- 

patrick




More information about the linux-lvm mailing list