2017년 9월 8일 금요일

우분투 ntfs 디스크 마운트 되지 않을때

잘 인식되던 하드 디스크가 마운트 되지 않을 때 해결 방법

#fdisk -l 명령으로 디스크 상태 확인한다.

일단 터미널에서 마운트 명령을 내려 본다.

# mount /dev/sdb1 /data
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sdb1': 명령을 허용하지 않음
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

주절 주절 NTFS 파티션이 문제가 있다는 오류 메시지가 뜨면 ntfsfix 명령으로 해결한다.
# ntfsfix /dev/sdb1
Mounting volume... The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.



댓글 없음: