
У меня система с 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
Для этого я сослалсяэтотпочта.