我正在尝试重新调整我的外部 500GB 便携式硬盘,但我做不到……我在 gparted 中得到了以下内容
GParted 0.8.1 --enable-libparted-dmraid
Libparted 2.3
Shrink /dev/sdb1 from 465.73 GiB to 444.31 GiB 00:00:40 ( ERROR )
calibrate /dev/sdb1 00:00:00 ( SUCCESS )
path: /dev/sdb1
start: 63
end: 976707583
size: 976707521 (465.73 GiB)
check file system on /dev/sdb1 for errors and (if possible) fix them 00:00:10 ( SUCCESS )
ntfsresize -P -i -f -v /dev/sdb1
ntfsresize v2011.4.12AR.4 (libntfs-3g)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 500074246656 bytes (500075 MB)
Current device size: 500074250752 bytes (500075 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 405632 MB (81.1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 475063 MB 0
Multi-Record : 494172 MB 30165
$MFTMirr : 250037 MB 1
Sparse : 454633 MB 35
Ordinary : 500067 MB 153160
You might resize at 405631090688 bytes or 405632 MB (freeing 94443 MB).
Please make a test run using both the -n and -s options before real resizing!
shrink file system 00:00:20 ( ERROR )
run simulation 00:00:10 ( SUCCESS )
ntfsresize -P --force /dev/sdb1 -s 477071639039 --no-action
ntfsresize v2011.4.12AR.4 (libntfs-3g)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 500074246656 bytes (500075 MB)
Current device size: 500074250752 bytes (500075 MB)
New volume size : 477071634944 bytes (477072 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 405632 MB (81.1%)
Collecting resizing constraints ...
Needed relocations : 92761 (380 MB)
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Relocating needed data ...
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
The read-only test run ended successfully.
real resize 00:00:10 ( ERROR )
ntfsresize -P --force /dev/sdb1 -s 477071639039
ntfsresize v2011.4.12AR.4 (libntfs-3g)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 500074246656 bytes (500075 MB)
Current device size: 500074250752 bytes (500075 MB)
New volume size : 477071634944 bytes (477072 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 405632 MB (81.1%)
Collecting resizing constraints ...
Needed relocations : 92761 (380 MB)
WARNING: Every sanity check passed and only the dangerous operations left.
Make sure that important data has been backed up! Power outage or computer
crash may result major data loss!
Are you sure you want to proceed (y/[n])? OK quitting. NO CHANGES have been made to your NTFS volume.
check file system on /dev/sdb1 for errors and (if possible) fix them 00:00:09 ( SUCCESS )
ntfsresize -P -i -f -v /dev/sdb1
ntfsresize v2011.4.12AR.4 (libntfs-3g)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 500074246656 bytes (500075 MB)
Current device size: 500074250752 bytes (500075 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 405632 MB (81.1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 475063 MB 0
Multi-Record : 494172 MB 30165
$MFTMirr : 250037 MB 1
Sparse : 454633 MB 35
Ordinary : 500067 MB 153160
You might resize at 405631090688 bytes or 405632 MB (freeing 94443 MB).
Please make a test run using both the -n and -s options before real resizing!
grow file system to fill the partition 00:00:01 ( SUCCESS )
run simulation 00:00:01 ( SUCCESS )
ntfsresize -P --force /dev/sdb1 --no-action
ntfsresize v2011.4.12AR.4 (libntfs-3g)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 500074246656 bytes (500075 MB)
Current device size: 500074250752 bytes (500075 MB)
New volume size : 500074246656 bytes (500075 MB)
Nothing to do: NTFS volume size is already OK.
real resize 00:00:00 ( SUCCESS )
ntfsresize -P --force /dev/sdb1
ntfsresize v2011.4.12AR.4 (libntfs-3g)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 500074246656 bytes (500075 MB)
Current device size: 500074250752 bytes (500075 MB)
New volume size : 500074246656 bytes (500075 MB)
Nothing to do: NTFS volume size is already OK.
========================================
HTML 报告这里
答案1
您的驱动器报告其使用率为 81.1% 并且几乎已满:
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 500074246656 bytes (500075 MB)
Current device size: 500074250752 bytes (500075 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 405632 MB (81.1%)
此外,代码还会不断建议您执行以下操作:
Please make a test run using both the -n and -s options before real resizing!
这也可能是有价值的,不确定是否已经完成,但确实看到 -s 在使用,似乎尝试使用 - - 强制。
当硬盘驱动器已满时,不确定调整分区大小会带来什么好处。您可能希望先压缩驱动器上的某些文件,然后再尝试调整驱动器大小并重新分区,因为这样可以获得更多宝贵的空间来执行调整大小所需的空间,而不是尝试使用有限的空间进行重新分区。
HTH。祝你有美好的一天。:)
答案2
警告:所有健全性检查均已通过,只剩下危险操作。请确保已备份重要数据!断电或计算机崩溃可能会导致重大数据丢失!
您确定要继续 (y/[n]) 吗?
确定退出。您的 NTFS 卷未发生任何更改。
看起来你已收到警告,你中止调整大小。是这样的吗?