LVM 出现“在 xxxxxx 处读取 4096 个数据中的 0 个后失败:输入/输出错误”错误

LVM 出现“在 xxxxxx 处读取 4096 个数据中的 0 个后失败:输入/输出错误”错误

我的系统是 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

为此我提到邮政。

相关内容