[linux-lvm] Logical Volume Inaccessible
Tom+Dale
tdmyth at yahoo.com
Sun Jan 12 04:59:27 UTC 2014
>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 at 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 at localhost ~]# lvscan
/dev/sda2: read failed after 0 of 2048 at 0: Input/output error
[root at 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 at 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 at localhost ~]#
More information about the linux-lvm
mailing list