|
calibrate /dev/sda2 00:00:01 ( SUCCESS )
|
|
path: /dev/sda2 start: 206,848 end: 58,879,999 size: 58,673,152 (27.98 GiB)
|
|
calculate new size and position of /dev/sda2 00:00:00 ( SUCCESS )
|
|
requested start: 408,725,730 requested end: 467,395,109 requested size: 58,669,380 (27.98 GiB)
|
new start: 408,725,730 new end: 467,395,109 new size: 58,669,380 (27.98 GiB)
|
|
check file system on /dev/sda2 for errors and (if possible) fix them 00:00:02 ( SUCCESS )
|
|
ntfsresize -P -i -f -v /dev/sda2
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30040650240 bytes (30041 MB) Current device size: 30040653824 bytes (30041 MB) Checking for bad sectors ... Checking filesystem consistency ... Accounting clusters ... Space in use : 22984 MB (76.5%) Collecting resizing constraints ... Estimating smallest shrunken size supported ... File feature Last used at By inode $MFT : 25548 MB 0 Multi-Record : 30041 MB 31 $MFTMirr : 1 MB 1 Compressed : 29979 MB 7821 Sparse : 26086 MB 82055 Ordinary : 30041 MB 128076 You might resize at 22983213056 bytes or 22984 MB (freeing 7057 MB). Please make a test run using both the -n and -s options before real resizing!
|
|
|
shrink file system 00:00:04 ( SUCCESS )
|
|
run simulation 00:00:02 ( SUCCESS )
|
|
ntfsresize -P --force --force /dev/sda2 -s 30038722559 --no-action
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30040650240 bytes (30041 MB) Current device size: 30040653824 bytes (30041 MB) New volume size : 30038716928 bytes (30039 MB) Checking filesystem consistency ... Accounting clusters ... Space in use : 22984 MB (76.5%) Collecting resizing constraints ... Needed relocations : 331 (2 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:02 ( SUCCESS )
|
|
ntfsresize -P --force --force /dev/sda2 -s 30038722559
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30040650240 bytes (30041 MB) Current device size: 30040653824 bytes (30041 MB) New volume size : 30038716928 bytes (30039 MB) Checking filesystem consistency ... Accounting clusters ... Space in use : 22984 MB (76.5%) Collecting resizing constraints ... Needed relocations : 331 (2 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 ... Syncing device ... Successfully resized NTFS on device '/dev/sda2'. 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 27.98 GiB to 27.98 GiB 00:00:00 ( SUCCESS )
|
|
old start: 206,848 old end: 58,879,999 old size: 58,673,152 (27.98 GiB)
|
new start: 206,848 new end: 58,876,227 new size: 58,669,380 (27.98 GiB)
|
|
check file system on /dev/sda2 for errors and (if possible) fix them 00:00:02 ( SUCCESS )
|
|
ntfsresize -P -i -f -v /dev/sda2
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30038716928 bytes (30039 MB) Current device size: 30038722560 bytes (30039 MB) Checking for bad sectors ... Checking filesystem consistency ... Accounting clusters ... Space in use : 22984 MB (76.5%) Collecting resizing constraints ... Estimating smallest shrunken size supported ... File feature Last used at By inode $MFT : 25548 MB 0 Multi-Record : 30038 MB 82066 $MFTMirr : 1 MB 1 Compressed : 29979 MB 7821 Sparse : 26086 MB 82055 Ordinary : 30039 MB 10590 You might resize at 22983213056 bytes or 22984 MB (freeing 7055 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:00 ( SUCCESS )
|
|
run simulation 00:00:00 ( SUCCESS )
|
|
ntfsresize -P --force --force /dev/sda2 --no-action
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30038716928 bytes (30039 MB) Current device size: 30038722560 bytes (30039 MB) New volume size : 30038716928 bytes (30039 MB) Nothing to do: NTFS volume size is already OK.
|
|
|
real resize 00:00:00 ( SUCCESS )
|
|
ntfsresize -P --force --force /dev/sda2
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30038716928 bytes (30039 MB) Current device size: 30038722560 bytes (30039 MB) New volume size : 30038716928 bytes (30039 MB) Nothing to do: NTFS volume size is already OK.
|
|
|
|
calculate new size and position of /dev/sda2 00:00:01 ( SUCCESS )
|
|
requested start: 408,725,730 requested end: 467,395,109 requested size: 58,669,380 (27.98 GiB)
|
new start: 408,725,730 new end: 467,395,109 new size: 58,669,380 (27.98 GiB)
|
|
check file system on /dev/sda2 for errors and (if possible) fix them 00:00:01 ( SUCCESS )
|
|
ntfsresize -P -i -f -v /dev/sda2
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30038716928 bytes (30039 MB) Current device size: 30038722560 bytes (30039 MB) Checking for bad sectors ... Checking filesystem consistency ... Accounting clusters ... Space in use : 22984 MB (76.5%) Collecting resizing constraints ... Estimating smallest shrunken size supported ... File feature Last used at By inode $MFT : 25548 MB 0 Multi-Record : 30038 MB 82066 $MFTMirr : 1 MB 1 Compressed : 29979 MB 7821 Sparse : 26086 MB 82055 Ordinary : 30039 MB 10590 You might resize at 22983213056 bytes or 22984 MB (freeing 7055 MB). Please make a test run using both the -n and -s options before real resizing!
|
|
|
grow partition from 27.98 GiB to 222.77 GiB 00:00:01 ( SUCCESS )
|
|
old start: 206,848 old end: 58,876,227 old size: 58,669,380 (27.98 GiB)
|
new start: 206,848 new end: 467,395,109 new size: 467,188,262 (222.77 GiB)
|
|
move file system to the right 00:16:03 ( SUCCESS )
|
|
finding optimal block size
|
|
copy 16.00 MiB using a block size of 1.00 MiB 00:00:01 ( SUCCESS )
|
|
16.00 MiB of 16.00 MiB copied
|
|
copy 16.00 MiB using a block size of 2.00 MiB 00:00:01 ( SUCCESS )
|
|
16.00 MiB of 16.00 MiB copied
|
|
copy 16.00 MiB using a block size of 4.00 MiB 00:00:01 ( SUCCESS )
|
|
16.00 MiB of 16.00 MiB copied
|
|
copy 16.00 MiB using a block size of 8.00 MiB 00:00:01 ( SUCCESS )
|
|
16.00 MiB of 16.00 MiB copied
|
|
copy 16.00 MiB using a block size of 16.00 MiB 00:00:00 ( SUCCESS )
|
|
16.00 MiB of 16.00 MiB copied
|
|
optimal block size is 16.00 MiB
|
|
copy 27.90 GiB using a block size of 16.00 MiB 00:15:59 ( SUCCESS )
|
|
27.90 GiB of 27.90 GiB copied
|
|
27.98 GiB (30,038,722,560 B) copied
|
|
shrink partition from 222.77 GiB to 27.98 GiB 00:00:01 ( SUCCESS )
|
|
old start: 206,848 old end: 467,395,109 old size: 467,188,262 (222.77 GiB)
|
new start: 408,725,730 new end: 467,395,109 new size: 58,669,380 (27.98 GiB)
|
|
update boot sector of ntfs file system on /dev/sda2 00:00:00 ( SUCCESS )
|
check file system on /dev/sda2 for errors and (if possible) fix them 00:00:02 ( SUCCESS )
|
|
ntfsresize -P -i -f -v /dev/sda2
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30038716928 bytes (30039 MB) Current device size: 30038722560 bytes (30039 MB) Checking for bad sectors ... Checking filesystem consistency ... Accounting clusters ... Space in use : 22984 MB (76.5%) Collecting resizing constraints ... Estimating smallest shrunken size supported ... File feature Last used at By inode $MFT : 25548 MB 0 Multi-Record : 30038 MB 82066 $MFTMirr : 1 MB 1 Compressed : 29979 MB 7821 Sparse : 26086 MB 82055 Ordinary : 30039 MB 10590 You might resize at 22983213056 bytes or 22984 MB (freeing 7055 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:00 ( SUCCESS )
|
|
run simulation 00:00:00 ( SUCCESS )
|
|
ntfsresize -P --force --force /dev/sda2 --no-action
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30038716928 bytes (30039 MB) Current device size: 30038722560 bytes (30039 MB) New volume size : 30038716928 bytes (30039 MB) Nothing to do: NTFS volume size is already OK.
|
|
|
real resize 00:00:00 ( SUCCESS )
|
|
ntfsresize -P --force --force /dev/sda2
|
|
ntfsresize v2011.4.12 (libntfs-3g) Device name : /dev/sda2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 30038716928 bytes (30039 MB) Current device size: 30038722560 bytes (30039 MB) New volume size : 30038716928 bytes (30039 MB) Nothing to do: NTFS volume size is already OK.
|
|
|
|
|