
Ich habe ein System mit Ubuntu 12.04. Auf diesem System verwendetLVMzur Verwaltung von Festplatten und ähnlichen Massenspeichergeräten. Als ichlvscan
Befehl zum Scannen aller logischen Volumes, dann wurde folgende Ausgabe angezeigt
(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
Auch hier ist die Ausgabe vonpvscan
(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 ]
Was ist die Bedeutung von /dev/ubuntu/rootfs_12.10_20140228_01: read failed after 0 of 4096 at 10737352704: Input/output error
.
Bitte lassen Sie mich wissen, warum dieser Fehler auftritt und welche Auswirkungen er auf das System hat.
Antwort1
Grundsätzlich ist dieser Fehler aufgrund der beiden defekten Snapshots aufgetreten.
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
Um dieses Problem zu beheben, habe ich die beschädigten Snapshots mit lvremove
einem Befehl entfernt.
sudo lvremove /dev/ubuntu/rootfs_12.10_20140228_01
Hierzu verwies ichDasPost.