LVM에 대해 "xxxxxx에서 4096 중 0 이후 읽기 실패: 입력/출력 오류" 오류 발생

LVM에 대해 "xxxxxx에서 4096 중 0 이후 읽기 실패: 입력/출력 오류" 오류 발생

Ubuntu 12.04가 설치된 시스템이 있습니다. 이 시스템에서 사용됨LVM디스크 드라이브 및 유사한 대용량 저장 장치를 관리합니다. 내가 사용했을 때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

이에 대해 나는 언급했다.이것우편.

관련 정보