GParted 0.5.1

Libparted 2.2

Move /dev/sdb1 to the left and shrink it from 465.76 GiB to 445.76 GiB  05:42:34    ( SUCCESS )
    
calibrate /dev/sdb1  00:00:00    ( SUCCESS )
    
path: /dev/sdb1
start: 2048
end: 976769023
size: 976766976 (465.76 GiB)
calculate new size and position of /dev/sdb1  00:00:00    ( SUCCESS )
    
requested start: 0
requested end: 934822349
requested size: 934822350 (445.76 GiB)
new start: 63
new end: 934822349
new size: 934822287 (445.76 GiB)
check file system on /dev/sdb1 for errors and (if possible) fix them  00:00:00    ( SUCCESS )
    
ntfsresize -P -i -f -v /dev/sdb1
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 500104626688 bytes (500105 MB)
Current device size: 500104691712 bytes (500105 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 18313 MB (3.7%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3225 MB 0
$MFTMirr : 1 MB 1
Sparse : 3437 MB 41
Ordinary : 36197 MB 910
You might resize at 18312593408 bytes or 18313 MB (freeing 481792 MB).
Please make a test run using both the -n and -s options before real resizing!
shrink file system  00:00:06    ( SUCCESS )
    
run simulation  00:00:01    ( SUCCESS )
    
ntfsresize -P --force /dev/sdb1 -s 478629010943 --no-action
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 500104626688 bytes (500105 MB)
Current device size: 500104691712 bytes (500105 MB)
New volume size : 478628938240 bytes (478629 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 18313 MB (3.7%)
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:00:05    ( SUCCESS )
    
ntfsresize -P --force /dev/sdb1 -s 478629010943
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 500104626688 bytes (500105 MB)
Current device size: 500104691712 bytes (500105 MB)
New volume size : 478628938240 bytes (478629 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 18313 MB (3.7%)
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/sdb1'.
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 465.76 GiB to 445.76 GiB  00:00:00    ( SUCCESS )
    
old start: 2048
old end: 976769023
old size: 976766976 (465.76 GiB)
new start: 2048
new end: 934824334
new size: 934822287 (445.76 GiB)
check file system on /dev/sdb1 for errors and (if possible) fix them  00:00:00    ( SUCCESS )
    
ntfsresize -P -i -f -v /dev/sdb1
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 478628938240 bytes (478629 MB)
Current device size: 478629010944 bytes (478630 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 18313 MB (3.8%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3225 MB 0
$MFTMirr : 1 MB 1
Sparse : 3437 MB 41
Ordinary : 36197 MB 910
You might resize at 18312527872 bytes or 18313 MB (freeing 460316 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 /dev/sdb1 --no-action
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 478628938240 bytes (478629 MB)
Current device size: 478629010944 bytes (478630 MB)
New volume size : 478628938240 bytes (478629 MB)
Nothing to do: NTFS volume size is already OK.
real resize  00:00:00    ( SUCCESS )
    
ntfsresize -P --force /dev/sdb1
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 478628938240 bytes (478629 MB)
Current device size: 478629010944 bytes (478630 MB)
New volume size : 478628938240 bytes (478629 MB)
Nothing to do: NTFS volume size is already OK.
calculate new size and position of /dev/sdb1  00:00:00    ( SUCCESS )
    
requested start: 63
requested end: 934822349
requested size: 934822287 (445.76 GiB)
new start: 63
new end: 934822349
new size: 934822287 (445.76 GiB)
check file system on /dev/sdb1 for errors and (if possible) fix them  00:00:00    ( SUCCESS )
    
ntfsresize -P -i -f -v /dev/sdb1
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 478628938240 bytes (478629 MB)
Current device size: 478629010944 bytes (478630 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 18313 MB (3.8%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3225 MB 0
$MFTMirr : 1 MB 1
Sparse : 3437 MB 41
Ordinary : 36197 MB 910
You might resize at 18312527872 bytes or 18313 MB (freeing 460316 MB).
Please make a test run using both the -n and -s options before real resizing!
move partition to the left  00:00:01    ( SUCCESS )
    
old start: 2048
old end: 934824334
old size: 934822287 (445.76 GiB)
new start: 63
new end: 934822349
new size: 934822287 (445.76 GiB)
move file system to the left  05:42:26    ( SUCCESS )
    
perform read-only test  01:29:30    ( SUCCESS )
    
using internal algorithm
read 934822287 sectors
finding optimal blocksize
    
read 65536 sectors using a blocksize of 128 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 read
0.320515 seconds
read 65536 sectors using a blocksize of 256 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 read
0.361287 seconds
read 65536 sectors using a blocksize of 512 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 read
0.387058 seconds
read 65536 sectors using a blocksize of 1024 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 read
0.487239 seconds
read 65536 sectors using a blocksize of 2048 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 read
0.36078 seconds
read 65536 sectors using a blocksize of 4096 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 read
0.329037 seconds
read 65536 sectors using a blocksize of 8192 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 read
0.330658 seconds
read 65536 sectors using a blocksize of 16384 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 read
0.347349 seconds
read 65536 sectors using a blocksize of 32768 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 read
0.366584 seconds
read 65536 sectors using a blocksize of 65536 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 read
0.344933 seconds
optimal blocksize is 128 sectors (64.00 KiB)
read 934166927 sectors using a blocksize of 128 sectors  01:29:27    ( SUCCESS )
    
934166927 of 934166927 read
934822287 sectors read
perform real move  04:12:56    ( SUCCESS )
    
using internal algorithm
copy 934822287 sectors
finding optimal blocksize
    
copy 65536 sectors using a blocksize of 64 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 copied
0.846309 seconds
copy 65536 sectors using a blocksize of 128 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 copied
0.711546 seconds
copy 65536 sectors using a blocksize of 256 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 copied
0.711756 seconds
copy 65536 sectors using a blocksize of 512 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 copied
0.703405 seconds
copy 65536 sectors using a blocksize of 1024 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 copied
0.702499 seconds
copy 65536 sectors using a blocksize of 2048 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 copied
0.703295 seconds
copy 65536 sectors using a blocksize of 4096 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 copied
0.696503 seconds
copy 65536 sectors using a blocksize of 8192 sectors  00:00:00    ( SUCCESS )
    
65536 of 65536 copied
0.695098 seconds
copy 65536 sectors using a blocksize of 16384 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 copied
0.670218 seconds
copy 65536 sectors using a blocksize of 32768 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 copied
0.718864 seconds
copy 65536 sectors using a blocksize of 65536 sectors  00:00:01    ( SUCCESS )
    
65536 of 65536 copied
0.720211 seconds
optimal blocksize is 16384 sectors (8.00 MiB)
copy 934101391 sectors using a blocksize of 16384 sectors  04:12:48    ( SUCCESS )
    
934101391 of 934101391 copied
934822287 sectors copied
update boot sector of ntfs file system on /dev/sdb1  00:00:00    ( SUCCESS )
check file system on /dev/sdb1 for errors and (if possible) fix them  00:00:01    ( SUCCESS )
    
ntfsresize -P -i -f -v /dev/sdb1
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 478628938240 bytes (478629 MB)
Current device size: 478629010944 bytes (478630 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 18313 MB (3.8%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 3225 MB 0
$MFTMirr : 1 MB 1
Sparse : 3437 MB 41
Ordinary : 36197 MB 910
You might resize at 18312527872 bytes or 18313 MB (freeing 460316 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 /dev/sdb1 --no-action
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 478628938240 bytes (478629 MB)
Current device size: 478629010944 bytes (478630 MB)
New volume size : 478628938240 bytes (478629 MB)
Nothing to do: NTFS volume size is already OK.
real resize  00:00:00    ( SUCCESS )
    
ntfsresize -P --force /dev/sdb1
    
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sdb1
NTFS volume version: 3.1
Cluster size : 65536 bytes
Current volume size: 478628938240 bytes (478629 MB)
Current device size: 478629010944 bytes (478630 MB)
New volume size : 478628938240 bytes (478629 MB)
Nothing to do: NTFS volume size is already OK.

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