After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665128 - Resize NTFS failed at "grow file system to fill the partition"
Resize NTFS failed at "grow file system to fill the partition"
Status: RESOLVED DUPLICATE of bug 655215
Product: gparted
Classification: Other
Component: application
0.8.1
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2011-11-29 11:42 UTC by Steve Purchase
Modified: 2011-12-05 11:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Saved details (10.17 KB, text/html)
2011-11-29 11:42 UTC, Steve Purchase
Details

Description Steve Purchase 2011-11-29 11:42:41 UTC
Created attachment 202363 [details]
Saved details

Attempting to shrink a Windows partition. The resize seemed to work successfully until the final stage where it looks just like confirmation wasn't given to change the filesystem.

I will attempt recovery by manually running "ntfsresize -P --force /dev/sda3", although it doesn't look like it'll actually do much.

GParted 0.8.1 --enable-libparted-dmraid
Libparted 2.3
Shrink /dev/sda3 from 68.34 GiB to 52.35 GiB  00:02:21    ( ERROR )

...snip lots of success...

grow file system to fill the partition  00:00:02    ( ERROR ) 

run simulation  00:00:01    ( SUCCESS ) 

...snip...

real resize  00:00:01    ( ERROR )
     	
ntfsresize -P --force /dev/sda3
     	
ntfsresize v2011.4.12AR.4 (libntfs-3g)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 56205763072 bytes (56206 MB)
Current device size: 56205770752 bytes (56206 MB)
New volume size : 56205767168 bytes (56206 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 48302 MB (85.9%)
Collecting resizing constraints ...
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])? OK quitting. NO CHANGES have been made to your NTFS volume.
Comment 1 Curtis Gedak 2011-12-03 20:01:11 UTC
This problem was related to a change in error handling behaviour in the ntfs-3g project, and how GParted handled these errors.

See Bug #655215 - NTFS partition resize fails

This bug was fixed with GParted 0.9.1.  Please try using the latest version of GParted and/or ntfs-3g.

Marking this bug as a duplicate.

*** This bug has been marked as a duplicate of bug 655215 ***
Comment 2 Steve Purchase 2011-12-05 11:09:02 UTC
Thanks. Glad to see it's understood and fixed, but it's not something I can repeat to test the new version. I felt I should report it as I was using GParted from stock Ubuntu 11.10, so I can see this happening over and over again.