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

Daniel Loney dloney at iai.co.il
Wed Jun 21 08:09:10 UTC 2006


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
    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
  --- Volume group ---
  VG Name               vg02
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  18
  VG Access             read/write
  VG Status             resizable
  MAX LV                128
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               40.00 GB
  PE Size               4.00 MB
  Total PE              10239
  Alloc PE / Size       10000 / 39.06 GB
  Free  PE / Size       239 / 956.00 MB
  VG UUID               2XYqoQ-Ah1U-Aqc3-4beH-mZRM-o5U5-kdEDCE
    
  --- Logical volume ---
  LV Name                /dev/vg02/lvol0
  VG Name                vg02
  LV UUID                7HItNY-hmWC-AwLl-lamP-7FWq-G3Ug-irPavo
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                39.06 GB
  Current LE             10000
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
    
  --- Physical volumes ---
  PV Name               /dev/sdb
  PV UUID               6mxyu2-1fp0-ziRZ-VNPE-dROT-At0p-dXmFiT
  PV Status             allocatable
  Total PE / Free PE    10239 / 239



Any ideas? 
  
***************************************************************************************  
The information contained in this communication is proprietary to Israel Aircraft Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060621/dd1c2d7a/attachment.htm>


More information about the linux-lvm mailing list