linux:fedora:fedora_22_the_ntfs_partition_is_in_an_unsafe_state

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
linux:fedora:fedora_22_the_ntfs_partition_is_in_an_unsafe_state [2024/02/04 10:00] – 削除 - 外部編集 (Unknown date) 非ログインユーザーlinux:fedora:fedora_22_the_ntfs_partition_is_in_an_unsafe_state [2024/02/04 10:00] (現在) – ↷ linux:fedora_22_the_ntfs_partition_is_in_an_unsafe_state から linux:fedora:fedora_22_the_ntfs_partition_is_in_an_unsafe_state へページを移動しました。 ともやん
行 1: 行 1:
 +====== Fedora 22 The NTFS partition is in an unsafe state. ======
 +Fedora 22 で NTFS をマウントしようとした際に「The NTFS partition is in an unsafe state. NTFSパーティションは危険な状態です。」と言われる。\\
 +<code>
 +$ 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.
 +</code>
 +
 +===== ntfsfix で NTFS を修復 =====
 +<code>
 +$ 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.
 +</code>
 +
 +===== 再度 NTFS をマウント =====
 +<code>
 +$ sudo mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1001,gid=1001" "/dev/sdc" "/run/media/tomoyan/ST1000LM014_1000GB"
 +</code>