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

Re: [linux-lvm] Logical Volume Inaccessible



>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 ~]# 



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