LVM で「xxxxxx で 4096 のうち 0 の後に読み取りに失敗しました: 入出力エラー」というエラーが発生する

LVM で「xxxxxx で 4096 のうち 0 の後に読み取りに失敗しました: 入出力エラー」というエラーが発生する

私はUbuntu 12.04を使用しています。このシステムではライトVMディスクドライブや同様の大容量記憶装置を管理するために使用しました。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

基本的に、2 つのスナップショットが壊れているためにこのエラーが発生しました。

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

これについては、これ役職。

関連情報