Re: Logical Volume Inaccessible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>What does 'pvscan; vgscan; lvscan' show? If the LVs show 'inactive', try 

>'lvchange -ay <lv_path>', then 'lvscan' should show the LV as 'ACTIVE'. 
>If so, try mounting the LV.
>-- 
>Digimer
>Papers and Projects: https://alteeve.ca/w/
>What if the cure for cancer is trapped in the mind of a person without 
>access to education?

Here is what I got:

[root@localhost ~]# pvscan
  /dev/sda2: read failed after 0 of 1024 at 0: Input/output error
  /dev/sda2: read failed after 0 of 1024 at 4096: Input/output error
  /dev/sda2: read failed after 0 of 2048 at 0: Input/output error
  No matching physical volumes found
[root@localhost ~]# lvscan
  /dev/sda2: read failed after 0 of 2048 at 0: Input/output error
[root@localhost ~]# vgscan
  Reading all physical volumes.  This may take a while...
  /dev/sda2: read failed after 0 of 1024 at 0: Input/output error
  /dev/sda2: read failed after 0 of 1024 at 4096: Input/output error
  /dev/sda2: read failed after 0 of 2048 at 0: Input/output error
[root@localhost ~]# lvchange -ay /dev/sda2
  /dev/sda2: read failed after 0 of 2048 at 0: Input/output error
  /dev/sda2: read failed after 0 of 1024 at 0: Input/output error
  /dev/sda2: read failed after 0 of 1024 at 4096: Input/output error
  /dev/sda2: read failed after 0 of 2048 at 0: Input/output error
  Volume group "sda2" not found
  Skipping volume group sda2
[root@localhost ~]# 


_______________________________________________
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/





[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux