ntfsresize - Dateisystemgröße ändern

$ sudo ntfsresize --size 400000M /dev/sdb1

Das Verkleinern dauerte über eine Stunde. Diese Änderung hätte ich mir jedoch sparen können, denn ich habe danach den zweiten Schritt

You can go on to shrink the device for example with Linux fdisk.

nicht hinbekommen und deshalb die gesamte Ferstplatte mit geparted auf ext4 umgestellt.

$ sudo ntfsresize --size 400000M /dev/sdb1
ntfsresize v2015.3.14AR.1 (libntfs-3g)
Device name        : /dev/sdb1
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 1979425223168 bytes (1979426 MB)
Current device size: 1979425226752 bytes (1979426 MB)
New volume size    : 399999996416 bytes (400000 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use       : 280336 MB (14,2%)
Collecting resizing constraints ...
Needed relocations : 27230620 (111537 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])? y
Schedule chkdsk for NTFS consistency check at Windows boot time ...
Resetting $LogFile ... (this might take a while)
Relocating needed data ...
100.00 percent completed
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.