1

Topic: Can't shrink volume

I have 2 drives in my computer: one 120gb ssd and 1tb hdd;
on the ssd i have both windows and linux and i want to resize a portion of the hdd for files in linux, but i get this error. Also i couldn't shrink the volume in Windows, live cd or any other place i could think of


my gparted_details.htm:
GParted 1.0.0

configuration --enable-libparted-dmraid --enable-online-resize

libparted 3.3

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

Device:    /dev/sda
Model:    ATA ST1000DX002-2DV1
Serial:    Z4YFH4WA
Sector size:    512
Total sectors:    1953525168

Heads:    255
Sectors/track:    2
Cylinders:    3830441

Partition table:    gpt

Partition    Type    Start    End    Flags    Partition Name    File System    Label    Mount Point
/dev/sda1    Primary    34    32767    msftres    Microsoft reserved partition    unknown       
/dev/sda2    Primary    32768    1953521663    msftdata    Basic data partition    ntfs    Local Disk   
========================================

Device:    /dev/sdb
Model:    ATA WDC WDS120G1G0A-
Serial:    173503A0084B
Sector size:    512
Total sectors:    234441648

Heads:    255
Sectors/track:    2
Cylinders:    459689

Partition table:    gpt

Partition    Type    Start    End    Flags    Partition Name    File System    Label    Mount Point
/dev/sdb1    Primary    2048    206847    boot, esp    EFI system partition    fat32        /boot/efi
/dev/sdb2    Primary    206848    239615    msftres    Microsoft reserved partition    unknown       
/dev/sdb3    Primary    239616    177680688    msftdata    Basic data partition    ntfs       
/dev/sdb5    Primary    177682432    233416703            ext4        /
/dev/sdb4    Primary    233416704    234438655    hidden, diag        ntfs       
========================================

Move /dev/sda2 to the right and shrink it from 931.50 GiB to 870.02 GiB  00:00:07    ( ERROR )
       
calibrate /dev/sda2  00:00:00    ( SUCCESS )
       
path: /dev/sda2 (partition)
start: 32768
end: 1953521663
size: 1953488896 (931.50 GiB)
check file system on /dev/sda2 for errors and (if possible) fix them  00:00:07    ( ERROR )
       
ntfsresize -i -f -v '/dev/sda2'  00:00:07    ( ERROR )

2

Re: Can't shrink volume

Wierd.  ntfsresize check failed but apparently reported no error message.  We need to double check that.

From a terminal window run this and paste the output:

blkid /dev/sda2
sudo ntfsresize -i -f -v /dev/sda2
echo $?
dmesg | tail