0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

NTFS ファイルシステムに Ubuntu からアクセスできない

0
Posted at

ハードディスクのマウントエラー

image.png

環境

  • Ubuntu 22.04 LTS

dmesg

以下のように表示されている。


[ 6695.908396] ntfs3: sdc2: It is recommened to use chkdsk.
[ 6695.948011] ntfs3: sdc2: volume is dirty and "force" flag is not set!

書き込みをしている最中に、オーバーヒートでPCが落ちてしまったのでそれが原因かな。

ntfsfix で修復

$ sudo ntfsfix /dev/sdc1
Mounting volume... NTFS signature is missing.
FAILED
Attempting to correct errors... NTFS signature is missing.
FAILED
Failed to startup volume: Invalid argument
NTFS signature is missing.
Trying the alternate boot sector
Unrecoverable error
Volume is corrupt. You should run chkdsk.

あっ sdc1 じゃなくて sdc2 だった。

$ sudo ntfsfix /dev/sdc2
Mounting volume... $MFTMirr does not match $MFT (record 3).
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 3...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/sdc2 was processed successfully.

sdd2 も同様に行って、アクセスできるようになりました。

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?