GParted 0.10.0 --enable-libparted-dmraid

Libparted 2.3

Move /dev/sda2 to the right and shrink it from 27.98 GiB to 27.98 GiB  00:16:18    ( SUCCESS )
    
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 )
    
using internal algorithm
copy 27.98 GiB
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
1.85673 seconds
copy 16.00 MiB using a block size of 2.00 MiB  00:00:01    ( SUCCESS )
    
16.00 MiB of 16.00 MiB copied
1.01728 seconds
copy 16.00 MiB using a block size of 4.00 MiB  00:00:01    ( SUCCESS )
    
16.00 MiB of 16.00 MiB copied
0.751964 seconds
copy 16.00 MiB using a block size of 8.00 MiB  00:00:01    ( SUCCESS )
    
16.00 MiB of 16.00 MiB copied
0.642433 seconds
copy 16.00 MiB using a block size of 16.00 MiB  00:00:00    ( SUCCESS )
    
16.00 MiB of 16.00 MiB copied
0.567146 seconds
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.

========================================

Move /dev/sda1 to the right and grow it from 100.00 MiB to 101.98 MiB  00:00:08    ( SUCCESS )
    
calibrate /dev/sda1  00:00:01    ( SUCCESS )
    
path: /dev/sda1
start: 2,048
end: 206,847
size: 204,800 (100.00 MiB)
calculate new size and position of /dev/sda1  00:00:00    ( SUCCESS )
    
requested start: 408,516,885
requested end: 408,725,729
requested size: 208,845 (101.98 MiB)
new start: 408,516,885
new end: 408,725,729
new size: 208,845 (101.98 MiB)
check file system on /dev/sda1 for errors and (if possible) fix them  00:00:00    ( SUCCESS )
    
ntfsresize -P -i -f -v /dev/sda1
    
ntfsresize v2011.4.12 (libntfs-3g)
Device name : /dev/sda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 104854016 bytes (105 MB)
Current device size: 104857600 bytes (105 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 26 MB (24.2%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 36 MB 0
$MFTMirr : 1 MB 1
Sparse : 23 MB 100
Ordinary : 35 MB 6
You might resize at 35217408 bytes or 36 MB (freeing 69 MB).
Please make a test run using both the -n and -s options before real resizing!
grow partition from 100.00 MiB to 194.89 GiB  00:00:00    ( SUCCESS )
    
old start: 2,048
old end: 206,847
old size: 204,800 (100.00 MiB)
new start: 2,048
new end: 408,721,684
new size: 408,719,637 (194.89 GiB)
move file system to the right  00:00:05    ( SUCCESS )
    
using internal algorithm
copy 100.00 MiB
finding optimal block size
    
copy 16.00 MiB using a block size of 1.00 MiB  00:00:02    ( SUCCESS )
    
16.00 MiB of 16.00 MiB copied
1.80373 seconds
copy 16.00 MiB using a block size of 2.00 MiB  00:00:01    ( SUCCESS )
    
16.00 MiB of 16.00 MiB copied
0.955756 seconds
copy 16.00 MiB using a block size of 4.00 MiB  00:00:00    ( SUCCESS )
    
16.00 MiB of 16.00 MiB copied
0.704603 seconds
copy 16.00 MiB using a block size of 8.00 MiB  00:00:01    ( SUCCESS )
    
16.00 MiB of 16.00 MiB copied
0.597517 seconds
copy 16.00 MiB using a block size of 16.00 MiB  00:00:01    ( SUCCESS )
    
16.00 MiB of 16.00 MiB copied
0.521246 seconds
optimal block size is 16.00 MiB
copy 20.00 MiB using a block size of 16.00 MiB  00:00:00    ( SUCCESS )
    
20.00 MiB of 20.00 MiB copied
100.00 MiB (104,857,600 B) copied
shrink partition from 194.89 GiB to 100.00 MiB  00:00:00    ( SUCCESS )
    
old start: 2,048
old end: 408,721,684
old size: 408,719,637 (194.89 GiB)
new start: 408,516,885
new end: 408,721,684
new size: 204,800 (100.00 MiB)
update boot sector of ntfs file system on /dev/sda1  00:00:01    ( SUCCESS )
check file system on /dev/sda1 for errors and (if possible) fix them  00:00:00    ( SUCCESS )
    
ntfsresize -P -i -f -v /dev/sda1
    
ntfsresize v2011.4.12 (libntfs-3g)
Device name : /dev/sda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 104854016 bytes (105 MB)
Current device size: 104857600 bytes (105 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 26 MB (24.2%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 36 MB 0
$MFTMirr : 1 MB 1
Sparse : 23 MB 100
Ordinary : 35 MB 6
You might resize at 35217408 bytes or 36 MB (freeing 69 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/sda1 --no-action
    
ntfsresize v2011.4.12 (libntfs-3g)
Device name : /dev/sda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 104854016 bytes (105 MB)
Current device size: 104857600 bytes (105 MB)
New volume size : 104854016 bytes (105 MB)
Nothing to do: NTFS volume size is already OK.
real resize  00:00:00    ( SUCCESS )
    
ntfsresize -P --force --force /dev/sda1
    
ntfsresize v2011.4.12 (libntfs-3g)
Device name : /dev/sda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 104854016 bytes (105 MB)
Current device size: 104857600 bytes (105 MB)
New volume size : 104854016 bytes (105 MB)
Nothing to do: NTFS volume size is already OK.
calculate new size and position of /dev/sda1  00:00:00    ( SUCCESS )
    
requested start: 408,516,885
requested end: 408,725,729
requested size: 208,845 (101.98 MiB)
new start: 408,516,885
new end: 408,725,729
new size: 208,845 (101.98 MiB)
check file system on /dev/sda1 for errors and (if possible) fix them  00:00:00    ( SUCCESS )
    
ntfsresize -P -i -f -v /dev/sda1
    
ntfsresize v2011.4.12 (libntfs-3g)
Device name : /dev/sda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 104854016 bytes (105 MB)
Current device size: 104857600 bytes (105 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 26 MB (24.2%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 36 MB 0
$MFTMirr : 1 MB 1
Sparse : 23 MB 100
Ordinary : 35 MB 6
You might resize at 35217408 bytes or 36 MB (freeing 69 MB).
Please make a test run using both the -n and -s options before real resizing!
grow partition from 100.00 MiB to 101.98 MiB  00:00:01    ( SUCCESS )
    
old start: 408,516,885
old end: 408,721,684
old size: 204,800 (100.00 MiB)
new start: 408,516,885
new end: 408,725,729
new size: 208,845 (101.98 MiB)
check file system on /dev/sda1 for errors and (if possible) fix them  00:00:00    ( SUCCESS )
    
ntfsresize -P -i -f -v /dev/sda1
    
ntfsresize v2011.4.12 (libntfs-3g)
Device name : /dev/sda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 104854016 bytes (105 MB)
Current device size: 106928640 bytes (107 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 26 MB (24.2%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 36 MB 0
$MFTMirr : 1 MB 1
Sparse : 23 MB 100
Ordinary : 35 MB 6
You might resize at 35217408 bytes or 36 MB (freeing 69 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/sda1 --no-action
    
ntfsresize v2011.4.12 (libntfs-3g)
Device name : /dev/sda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 104854016 bytes (105 MB)
Current device size: 106928640 bytes (107 MB)
New volume size : 106922496 bytes (107 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 26 MB (24.2%)
Collecting resizing constraints ...
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:00:00    ( SUCCESS )
    
ntfsresize -P --force --force /dev/sda1
    
ntfsresize v2011.4.12 (libntfs-3g)
Device name : /dev/sda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 104854016 bytes (105 MB)
Current device size: 106928640 bytes (107 MB)
New volume size : 106922496 bytes (107 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 26 MB (24.2%)
Collecting resizing constraints ...
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/sda1'.

========================================