Am 04.04.2017 um 09:50 schrieb Richard W.M. Jones:
On Mon, Apr 03, 2017 at 09:26:37PM -0700, John Reiser wrote:
When I use Fedora 25 Workstation Live plus gparted to shrink an ntfs partition,
then the result is corrupt.  This is reproducible on a minimal install
of Windows 10 build 1510 (a raw system image dump fits on 2 DVD),
such as commonly available on inexpensive refurbished PCs.  Running CHKDSK
immediately afterward detects and fixes the corruption for me.
Where/how should I start to investigate: which software component, etc.?
gparted uses ntfsresize to resize NTFS partitions.  That comes
from the ntfs-3g project, so that's where you should start.

http://www.tuxera.com/community/open-source-ntfs-3g/

Rich.


Quoted from NTFSRESIZE(8) manual-page `man ntfsresize`:

> KNOWN ISSUES
>        No reliability problem is known. …snip…

> There are a few very rarely met restrictions at present: filesystems having unknown bad sectors, relocation of the first MFT extent and resizing into the middle of a $MFTMirr extent aren't supported yet. These cases are detected and resizing is restricted to a safe size or the closest safe size is displayed. > Ntfsresize schedules an NTFS consistency check and after the first boot into Windows you must see chkdsk running on a blue background. This is intentional and no need to worry about it. Windows may force a quick reboot after the consistency check. Moreover after repartitioning your disk and depending on the hardware configuration, the Windows message System Settings Change may also appear. Just acknowledge it and reboot again.

NTFSresize sets the NFTS' dirty-flag on the resized partition after operation, that's why Windows consideres it corrupted and performs checks on it. There is no need to worry about that.

Cheers
  Björn
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to