LVM 出現「read failed after 0 of 4096 at xxxxxx: 輸入/輸出錯誤」錯誤

LVM 出現「read failed after 0 of 4096 at xxxxxx: 輸入/輸出錯誤」錯誤

我的系統是Ubuntu 12.04。在這個系統上使用左心室容量用於管理磁碟機和類似的大容量儲存設備。當我使用lvscan用於掃描所有邏輯磁碟區的命令,然後顯示以下輸出

(12.10_20140228_00)ubuntu@pdc-00000:~$ sudo lvscan
[sudo] password for ubuntu: 
  /dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 10737352704: Input/output error
  /dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 10737410048: Input/output error
  /dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 0: Input/output error
  /dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 4096: Input/output error
  /dev/ubuntu/rootfs_12.10_20140409_00: read failed after 0 of 4096 at 10737352704: Input/output error
  /dev/ubuntu/rootfs_12.10_20140409_00: read failed after 0 of 4096 at 10737410048: Input/output error
  /dev/ubuntu/rootfs_12.10_20140409_00: read failed after 0 of 4096 at 0: Input/output error
  /dev/ubuntu/rootfs_12.10_20140409_00: read failed after 0 of 4096 at 4096: Input/output error
  ACTIVE            '/dev/ubuntu/videos' [30.00 GiB] inherit
  ACTIVE            '/dev/ubuntu/swap' [5.59 GiB] inherit
  ACTIVE   Original '/dev/ubuntu/rootfs_12.10_base' [10.00 GiB] inherit
  ACTIVE            '/dev/ubuntu/logging' [12.00 GiB] inherit
  ACTIVE            '/dev/ubuntu/bluetooth' [12.00 MiB] inherit
  ACTIVE            '/dev/ubuntu/machine_config' [12.00 MiB] inherit
  ACTIVE   Snapshot '/dev/ubuntu/rootfs_12.10_20140228_00' [6.00 GiB] inherit
  inactive Snapshot '/dev/ubuntu/rootfs_12.10_20140228_01' [6.00 GiB] inherit
  inactive Snapshot '/dev/ubuntu/rootfs_12.10_20140409_00' [6.00 GiB] inherit
  ACTIVE   Snapshot '/dev/ubuntu/rootfs_12.10_20140409_01' [6.00 GiB] inherit 

這也是輸出pvscan

(12.10_20140228_00)ubuntu@pdc-00000:~$ sudo pvscan
[sudo] password for ubuntu: 
  /dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 10737352704: Input/output error
  /dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 10737410048: Input/output error
  /dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 0: Input/output error
  /dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 4096: Input/output error
  /dev/ubuntu/rootfs_12.10_20140409_00: read failed after 0 of 4096 at 10737352704: Input/output error
  /dev/ubuntu/rootfs_12.10_20140409_00: read failed after 0 of 4096 at 10737410048: Input/output error
  /dev/ubuntu/rootfs_12.10_20140409_00: read failed after 0 of 4096 at 0: Input/output error
  /dev/ubuntu/rootfs_12.10_20140409_00: read failed after 0 of 4096 at 4096: Input/output error
  PV /dev/sda2   VG ubuntu   lvm2 [101.79 GiB / 20.18 GiB free]
  Total: 1 [101.79 GiB] / in use: 1 [101.79 GiB] / in no VG: 0 [0   ]

的意思是什麼/dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 10737352704: Input/output error.

請告訴我為什麼會出現此錯誤以及它對系統有影響嗎?

答案1

基本上我得到這個錯誤是因為兩個損壞的快照。

inactive Snapshot '/dev/ubuntu/rootfs_12.10_20140228_01' [6.00 GiB] inherit
inactive Snapshot '/dev/ubuntu/rootfs_12.10_20140409_00' [6.00 GiB] inherit

lvremove為了解決這個問題,我使用命令刪除了損壞的快照。

sudo lvremove /dev/ubuntu/rootfs_12.10_20140228_01

為此我提到了郵政。

相關內容