Fedora 22 The NTFS partition is in an unsafe state.
Fedora 22 で NTFS をマウントしようとした際に「The NTFS partition is in an unsafe state. NTFSパーティションは危険な状態です。」と言われる。
$ sudo mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1001,gid=1001" "/dev/sdc" "/run/media/tomoyan/ST1000LM014_1000GB" The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sdc': 許可されていない操作です 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.
ntfsfix で NTFS を修復
$ sudo ntfsfix /dev/sdc 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/sdc was processed successfully.
再度 NTFS をマウント
$ sudo mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1001,gid=1001" "/dev/sdc" "/run/media/tomoyan/ST1000LM014_1000GB"