리눅스 LVM 에러 복구 방법이 있을까요?
리눅스 centos5.4 입니다.
LVM으로 설정하여 사용중에
/dev/mapper/VolGroup00-LogVol100 <== 전체 설정
/dev/mapper/VolGroup00-LogVol101 <== swap 파티션으로 설정
VolGroup00-LogVol100 에서 강제로 lvreduce 와 resize2fs를 사용하여 2G 용량을 줄인 후에
재부팅을 해보니
----------------------------------------------------------------------------------------------------------------------------------
Setting up Logical Volume Management : 2 Logical volume(s) in volume group "VolGroup00" now active
Checking filesystems
/dev/VolGroup00/LogVol00 : The filesystem size (according to the superblock) is 39043072 blocks
The physical size of the device is 3851874 blocks
Either the superblock or the partition table is likely to be corrupt!
/dev/Volgroup00/LogVol00 : UNEXPECTED INCONSISTENCY ; RUN fsck MANUALLY.
(i.e. , without -a or -p options) [FAILED]
*** An error occurred during the file system check.
*** Dropping you to a sheall ; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue): <<비빌번호 입력 후
(Repair filesystem ) 1 # fsck <==명령 입력
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
The filesystem size (according to the superblock ) is 39043072 blocks
The physical size of the device is 38518784 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort? <==이런 화면이 나옵니다.
---------------------------------------------------------------------------------------------------------------------------------
df를 사용해보면
/dev/mapper/VolGroup00-LogVol00 151279660 98795736 44684468 69% 이렇게 나옵니다만
물론 swap 부분인 Log-Vol01은 나오지 않습니다.
어떻게 해야할지 막막하네요
댓글 달기