;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

root@ttyp3[ntfsprogs]# ./ntfsresize -i /dev/hdc2
ntfsresize v1.7.1
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 29956468736 bytes (29957 MB)
Current device size: 29956469760 bytes (29957 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use       : 4431 MB (14.8%)
Calculating smallest shrunken size supported ...
You could resize at 14979330048 bytes or 14980 MB (freeing 14977 MB).
root@ttyp3[ntfsprogs]# ./ntfsresize -s 14980 /dev/hdc2
ntfsresize v1.7.1
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 29956468736 bytes (29957 MB)
Current device size: 29956469760 bytes (29957 MB)
New volume size    : 12288 bytes (1 MB)
Checking filesystem consistency ...
 83.99 percent completed
root@ttyp3[ntfsprogs]# ./ntfsresize -s 14980m /dev/hdc2
ntfsresize v1.7.1

Usage: ntfsresize [options] device
    Resize an NTFS volume non-destructively.

    -i      --info       Calculate the smallest shrunken size supported
    -s num  --size num   Resize volume to num[k|M|G] bytes

    -n      --no-action  Do not write to disk
    -f      --force      Force to progress (DANGEROUS)
    -V      --version    Display version information
    -h      --help       Display this help

    The options -i and -s are mutually exclusive. If both options are
    omitted then the NTFS volume will be enlarged to the device size.

Please report bugs to linux-ntfs-dev@lists.sourceforge.net
Linux NTFS homepage: http://linux-ntfs.sourceforge.net

root@ttyp3[ntfsprogs]# ./ntfsresize -s 14980M /dev/hdc2
ntfsresize v1.7.1

root@ttyp3[ntfsprogs]# fdisk /dev/hdc

The number of cylinders for this disk is set to 3648.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdc: 255 heads, 63 sectors, 3648 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1             1         5     40131   de  Dell Utility
/dev/hdc2   *         6      3647  29254365    7  HPFS/NTFS

root@ttyp3[ntfsprogs]# ./ntfsresize -s 14980M /dev/hdc2
ntfsresize v1.7.1
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 29956468736 bytes (29957 MB)
Current device size: 29956469760 bytes (29957 MB)
New volume size    : 14979997696 bytes (14980 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use       : 4431 MB (14.8%)
WARNING: Every sanity check passed and only the DANGEROUS operations left.
Please make sure all your important data had been backed up in case of an
unexpected failure!
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)
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
Syncing device ...
Successfully resized NTFS on device '/dev/hdc2'.
You can go on to shrink the device e.g. with 'fdisk'.
IMPORTANT: When recreating the partition, make sure you
  1)  create it with the same starting disk cylinder
  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 may lose your data or can't boot your computer from the disk!
root@ttyp3[ntfsprogs]#