我正在缩小数据分区(> 550 GB)以腾出一些空间来安装 Ubuntu(与我现有的 Windows 7 一起)。
然而,我收到了这条消息:
错误(30):无法更新 MFT 自己的记录:只读文件系统
我检查了分区是否有错误并进行了碎片整理,没有问题。有人能解释一下 MFT 是什么,以及我该如何解决这个问题吗?
我附加了一张我正在尝试做的事情的图片。dev/sda2
这是我的 Windows 7 分区,dev/sda5
是需要缩小的数据分区。
以下是完整日志
Shrink /dev/sda5 from 532.90 GiB to 468.96 GiB 00:00:13 ( ERROR )
calibrate /dev/sda5 00:00:01 ( SUCCESS )
path: /dev/sda5
start: 316625152
end: 1434202874
size: 1117577723 (532.90 GiB)
check file system on /dev/sda5 for errors and (if possible) fix them 00:00:02 ( SUCCESS )
ntfsresize -i -f -v /dev/sda5
ntfsresize v2013.1.13AR.1 (libntfs-3g)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 572199793152 bytes (572200 MB)
Current device size: 572199794176 bytes (572200 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 186301 MB (32.6%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
Multi-Record : 562170 MB 69800
$MFTMirr : 541068 MB 1
Sparse : 173572 MB 6610
Ordinary : 572159 MB 13720
You might resize at 186300178432 bytes or 186301 MB (freeing 385899 MB).
Please make a test run using both the -n and -s options before real resizing!
shrink file system 00:00:10 ( ERROR )
run simulation 00:00:10 ( ERROR )
ntfsresize --force --force -s 503538647040 --no-action /dev/sda5
ntfsresize v2013.1.13AR.1 (libntfs-3g)
Device name : /dev/sda5
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 572199793152 bytes (572200 MB)
Current device size: 572199794176 bytes (572200 MB)
New volume size : 503538643456 bytes (503539 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 186301 MB (32.6%)
Collecting resizing constraints ...
Needed relocations : 6234476 (25537 MB)
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Relocating needed data ...
100.00 percent completed
ERROR(30): Couldn't update MFT own record: Read-only file system