查看硬盘信息:
Disk /dev/sdb: 931.48 GiB, 1000170586112 bytes, 1953458176 sectors
Disk model: Elements 25A2
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: AE288EFD-967A-4C23-8E4A-1C70E79FC63A
Device Start End Sectors Size Type
/dev/sdb1 2048 1953456127 1953454080 931.5G Microsoft basic data
查看出错信息:
$ sudo dmesg | tail
[ 2376.510374] sd 8:0:0:0: [sdb] No Caching mode page found
[ 2376.510387] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 2376.550617] sdb: sdb1
[ 2376.550977] sd 8:0:0:0: [sdb] Attached SCSI disk
[ 2376.836440] ntfs3: sdb1: It is recommened to use chkdsk.
[ 2376.899244] ntfs3: sdb1: volume is dirty and "force" flag is not set!
[ 2379.838407] ntfs3: sdb1: It is recommened to use chkdsk.
[ 2379.868784] ntfs3: sdb1: volume is dirty and "force" flag is not set!
[ 2494.661242] ntfs3: sdb1: It is recommened to use chkdsk.
[ 2495.107081] ntfs3: sdb1: volume is dirty and "force" flag is not set!
修正:
$ sudo ntfsfix -d /dev/sdb1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.