![LVM2 볼륨을 마운트하는 동안 패닉 오류가 발생했습니다.](https://linux55.com/image/35291/LVM2%20%EB%B3%BC%EB%A5%A8%EC%9D%84%20%EB%A7%88%EC%9A%B4%ED%8A%B8%ED%95%98%EB%8A%94%20%EB%8F%99%EC%95%88%20%ED%8C%A8%EB%8B%89%20%EC%98%A4%EB%A5%98%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
라이브 CD에서 부팅할 수 있는 CentOS 7 시스템이 있습니다.
시스템 HDD에는 /root 및 /home 볼륨 2개를 포함하는 lvm2 파티션이 있습니다.
아무런 문제 없이 라이브 환경에서 /root 볼륨을 마운트할 수 있습니다.
/home 볼륨을 마운트하려고 하면 커널 패닉이 발생합니다.
임시로 파일을 복사하는 경우에는 /home 디렉터리를 마운트해야 합니다.
편집: 추가 정보:
[root@localhost ~]# lvscan
ACTIVE '/dev/centos_midas/swap' [3.64 GiB] inherit
ACTIVE '/dev/centos_midas/home' [877.32 GiB] inherit
ACTIVE '/dev/centos_midas/root' [50.00 GiB] inherit
[root@localhost ~]# pvscan
PV /dev/sdb2 VG centos_midas lvm2 [930.96 GiB / 0 free]
Total: 1 [930.96 GiB] / in use: 1 [930.96 GiB] / in no VG: 0 [0 ]
[root@localhost ~]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "centos_midas" using metadata type lvm2
[root@localhost ~]#
답변1
하지만:
xfs_repair -L /dev/centos_midas/home
볼륨을 마운트하고 파일을 외부 USB 드라이브에 복사할 수 있습니다.