|
calibrate /dev/hda1 00:00 ( SUCCES )
|
|
path: /dev/hda1 start: 12691350 end: 452245814 size: 439554465 (209.60 GiB)
|
|
calculate new size and position of /dev/hda1 00:00 ( SUCCES )
|
|
requested start: 0 requested end: 439554464 requested size: 439554465 (209.60 GiB)
|
new start: 63 new end: 439554464 new size: 439554402 (209.60 GiB)
|
|
check filesystem on /dev/hda1 for errors and (if possible) fix them 00:35 ( SUCCES )
|
|
ntfsresize -P -i -f -v /dev/hda1
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051881984 bytes (225052 MB) Current device size: 225051886080 bytes (225052 MB) Checking for bad sectors ... Checking filesystem consistency ... Accounting clusters ... Space in use : 83592 MB (37.1%) Collecting resizing constraints ... Estimating smallest shrunken size supported ... File feature Last used at By inode $MFT : 116646 MB 0 Multi-Record : 125029 MB 5841 $MFTMirr : 125029 MB 1 Compressed : 117073 MB 5371 Ordinary : 125037 MB 10 You might resize at 83591245824 bytes or 83592 MB (freeing 141460 MB). Please make a test run using both the -n and -s options before real resizing!
|
|
|
shrink filesystem 01:13 ( SUCCES )
|
|
run simulation 00:37 ( SUCCES )
|
|
ntfsresize -P --force --force /dev/hda1 -s 225051853823 --no-action
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051881984 bytes (225052 MB) Current device size: 225051886080 bytes (225052 MB) New volume size : 225051849216 bytes (225052 MB) Checking filesystem consistency ... Accounting clusters ... Space in use : 83592 MB (37.1%) Collecting resizing constraints ... Needed relocations : 0 (0 MB) Schedule chkdsk for NTFS consistency check at Windows boot time ... Resetting $LogFile ... (this might take a while) Updating $BadClust file ... Updating $Bitmap file ... Updating Boot record ... The read-only test run ended successfully.
|
|
|
real resize 00:36 ( SUCCES )
|
|
ntfsresize -P --force --force /dev/hda1 -s 225051853823
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051881984 bytes (225052 MB) Current device size: 225051886080 bytes (225052 MB) New volume size : 225051849216 bytes (225052 MB) Checking filesystem consistency ... Accounting clusters ... Space in use : 83592 MB (37.1%) Collecting resizing constraints ... Needed relocations : 0 (0 MB) Schedule chkdsk for NTFS consistency check at Windows boot time ... Resetting $LogFile ... (this might take a while) Updating $BadClust file ... Updating $Bitmap file ... Updating Boot record ... Syncing device ... Successfully resized NTFS on device '/dev/hda1'. You can go on to shrink the device for example with Linux fdisk. IMPORTANT: When recreating the partition, make sure that you 1) create it at the same disk sector (use sector as the unit!) 2) create it with the same partition type (usually 7, HPFS/NTFS) 3) do not make it smaller than the new NTFS filesystem size 4) set the bootable flag for the partition if it existed before Otherwise you won't be able to access NTFS or can't boot from the disk! If you make a mistake and don't have a partition table backup then you can recover the partition table by TestDisk or Parted's rescue mode.
|
|
|
|
shrink partition from 209.60 GiB to 209.60 GiB 00:00 ( SUCCES )
|
|
old start: 12691350 old end: 452245814 old size: 439554465 (209.60 GiB)
|
new start: 12691350 new end: 452245751 new size: 439554402 (209.60 GiB)
|
|
check filesystem on /dev/hda1 for errors and (if possible) fix them 00:35 ( SUCCES )
|
|
ntfsresize -P -i -f -v /dev/hda1
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051849216 bytes (225052 MB) Current device size: 225051853824 bytes (225052 MB) Checking for bad sectors ... Checking filesystem consistency ... Accounting clusters ... Space in use : 83592 MB (37.1%) Collecting resizing constraints ... Estimating smallest shrunken size supported ... File feature Last used at By inode $MFT : 116646 MB 0 Multi-Record : 125029 MB 5841 $MFTMirr : 125029 MB 1 Compressed : 117073 MB 5371 Ordinary : 125037 MB 10 You might resize at 83591245824 bytes or 83592 MB (freeing 141460 MB). Please make a test run using both the -n and -s options before real resizing!
|
|
|
grow filesystem to fill the partition 00:01 ( SUCCES )
|
|
run simulation 00:01 ( SUCCES )
|
|
ntfsresize -P --force --force /dev/hda1 --no-action
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051849216 bytes (225052 MB) Current device size: 225051853824 bytes (225052 MB) New volume size : 225051849216 bytes (225052 MB) Nothing to do: NTFS volume size is already OK.
|
|
|
real resize 00:00 ( SUCCES )
|
|
ntfsresize -P --force --force /dev/hda1
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051849216 bytes (225052 MB) Current device size: 225051853824 bytes (225052 MB) New volume size : 225051849216 bytes (225052 MB) Nothing to do: NTFS volume size is already OK.
|
|
|
|
calculate new size and position of /dev/hda1 00:00 ( SUCCES )
|
|
requested start: 63 requested end: 439554464 requested size: 439554402 (209.60 GiB)
|
new start: 63 new end: 439554464 new size: 439554402 (209.60 GiB)
|
|
check filesystem on /dev/hda1 for errors and (if possible) fix them 00:35 ( SUCCES )
|
|
ntfsresize -P -i -f -v /dev/hda1
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051849216 bytes (225052 MB) Current device size: 225051853824 bytes (225052 MB) Checking for bad sectors ... Checking filesystem consistency ... Accounting clusters ... Space in use : 83592 MB (37.1%) Collecting resizing constraints ... Estimating smallest shrunken size supported ... File feature Last used at By inode $MFT : 116646 MB 0 Multi-Record : 125029 MB 5841 $MFTMirr : 125029 MB 1 Compressed : 117073 MB 5371 Ordinary : 125037 MB 10 You might resize at 83591245824 bytes or 83592 MB (freeing 141460 MB). Please make a test run using both the -n and -s options before real resizing!
|
|
|
move partition to the left 00:00 ( SUCCES )
|
|
old start: 12691350 old end: 452245751 old size: 439554402 (209.60 GiB)
|
new start: 63 new end: 439554464 new size: 439554402 (209.60 GiB)
|
|
move filesystem to the left 04:54:19 ( SUCCES )
|
|
perform readonly test 01:09:06 ( SUCCES )
|
|
finding optimal blocksize
|
|
read 32768 sectors using a blocksize of 128 sectors 00:00 ( SUCCES )
|
|
|
read 32768 sectors using a blocksize of 256 sectors 00:01 ( SUCCES )
|
|
|
optimal blocksize is 128 sectors (64.00 KiB)
|
|
read 439488866 sectors using a blocksize of 128 sectors 01:09:05 ( SUCCES )
|
|
439488866 of 439488866 read
|
|
|
perform real move 03:45:13 ( SUCCES )
|
|
finding optimal blocksize
|
|
copy 32768 sectors using a blocksize of 64 sectors 00:01 ( SUCCES )
|
|
|
copy 32768 sectors using a blocksize of 128 sectors 00:01 ( SUCCES )
|
|
|
copy 32768 sectors using a blocksize of 256 sectors 00:01 ( SUCCES )
|
|
|
copy 32768 sectors using a blocksize of 512 sectors 00:01 ( SUCCES )
|
|
|
optimal blocksize is 256 sectors (128.00 KiB)
|
|
copy 439423330 sectors using a blocksize of 256 sectors 03:45:09 ( SUCCES )
|
|
439423330 of 439423330 copied
|
|
|
|
updating bootsector of ntfs filesystem on /dev/hda1 00:00 ( SUCCES )
|
|
echo 3f000000 | /usr/bin/xxd -r -p | /bin/dd conv=notrunc of=/dev/hda1 bs=1 seek=28
|
|
4+0 records in 4+0 records out 4 bytes (4 B) copied, 0.0512058 s, 0.1 kB/s
|
|
|
check filesystem on /dev/hda1 for errors and (if possible) fix them 00:38 ( SUCCES )
|
|
ntfsresize -P -i -f -v /dev/hda1
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051849216 bytes (225052 MB) Current device size: 225051853824 bytes (225052 MB) Checking for bad sectors ... Checking filesystem consistency ... Accounting clusters ... Space in use : 83592 MB (37.1%) Collecting resizing constraints ... Estimating smallest shrunken size supported ... File feature Last used at By inode $MFT : 116646 MB 0 Multi-Record : 125029 MB 5841 $MFTMirr : 125029 MB 1 Compressed : 117073 MB 5371 Ordinary : 125037 MB 10 You might resize at 83591245824 bytes or 83592 MB (freeing 141460 MB). Please make a test run using both the -n and -s options before real resizing!
|
|
|
grow filesystem to fill the partition 00:00 ( SUCCES )
|
|
run simulation 00:00 ( SUCCES )
|
|
ntfsresize -P --force --force /dev/hda1 --no-action
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051849216 bytes (225052 MB) Current device size: 225051853824 bytes (225052 MB) New volume size : 225051849216 bytes (225052 MB) Nothing to do: NTFS volume size is already OK.
|
|
|
real resize 00:00 ( SUCCES )
|
|
ntfsresize -P --force --force /dev/hda1
|
|
ntfsresize v1.13.1.1 (libntfs 9:0:0) Device name : /dev/hda1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 225051849216 bytes (225052 MB) Current device size: 225051853824 bytes (225052 MB) New volume size : 225051849216 bytes (225052 MB) Nothing to do: NTFS volume size is already OK.
|
|
|
|
|