I'm forwarding Debian Bug#379628 with its attachments: ntfsresize:
resizing a Vista NTFS partition leads to corrupted partition.
The bug can be viewed online in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379628
On 7/24/06, Frans Pop wrote:
> Package: ntfsprogs
> Version: 1.12.1-1
> Severity: critical
> Justification: causes serious data loss
> Tags: d-i
>
> After a resize using Debian Installer of an NTFS partition created with
> Windows Vista Beta 2, I found that the partition was no longer usable.
>
> I have checked that this really is an issue by doing manual resizes of:
> - an NTFS (1.2) partition created by installing Windows 2000
> - an NTFS (3.1) partition created by installing Windows Vista Beta 2
>
> The two are completely similar, except that the first is successful and
> the second leads to corruption.
I noticed that the original partition was not the same in both cases. example:
Vista: /dev/sda1 * 1 1217 9775521 7 HPFS/NTFS
2000: /dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
> The corruption only becomes clear _after_ the physical partition is
> resized too; resizing the partition back to its original size does not
> get the partition back. ntfsfix does not help either.
> Note that during the manual resize operation I used fdisk, but the
> installer uses libparted; the corruption occurs with both.
If the partition was mountable before changing the physical partition,
it is most likely that the bug is in the partitionning tool, and not
in ntfsresize.
I know that Szaka (ntfsresize's author) tested ntfsresize on Windows
Vista's partitions, and it worked. He is in vocation at the moment and
can not reply.
Can you check the partitioning again, and this time with sectors as
unit like ntfsresize states (use the "u" command in fdisk). This one
is the most common cause for the problem at hand.
> Logs for the resize of both NTFS partitions are attached and clearly show
> the problem.
>
> I noticed that a 1.13.1 release is available, but cannot tell from the
> changelog if that would fix this issue.
It is always good to check with the latest version. I'd appriciate if
you check with 1.13.1 instead of an older version.
> -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.15-1-amd64-generic
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>
> Versions of packages ntfsprogs depends on:
> ii libc6 2.3.6-15 GNU C Library: Shared libraries
> ii libfuse2 2.5.3-2.1 Filesystem in USErspace library
> ii libntfs8 1.12.1-1 library that provides common NTFS
>
> ntfsprogs recommends no packages.
>
> -- no debconf information
Also, please don't use ntfsfix in this scenario. It was not meant for that.
--
Yuval Fledel
|