Hi Jim,
On Thu, 31 Jul 2003, Jim Kleckner wrote:
> Partimage backup page:
> http://www.partimage.org/
> Helpful notes:
> http://www.digitalissues.co.uk/html/os/misc/partimage.html
Partimage NTFS support is experimental, for very very long time. I checked
out its NTFS code and I wouldn't trust it 100%. But the most cases it
should work. This was one of the many reasons I wrote ntfsclone that is
very similar to g4u in functionality (I think, I didn't have time to check
it out) but it is optimised for NTFS, so it's much faster. However it also
doesn't support bad sectors but it would be easy to add ...
> stymied because ntfsresize refuses to operate on a filesystem
> with a non-empty bad cluster file. However, now that it is a
> fresh drive, the bad sectors are now just zero-filled and not
> bad any more. So what I want to do is just remove the bad
> cluster file. Any suggestions?
chkdsk /r /f doesn't do it? We have all code that's needed to do this but
they aren't put together into ntfsck.
> Does anyone know a good way to do this? I will also try a
> chkdsk /r /f overnight on the off chance (unlikely) that it will
> re-scan the bad blocks. The web would have mentioned it if it
> did.
Please let us know.
> The simplicity of G4U was very nice for a one-time image/restore
> as all that was needed was to temporarily turn on ftp. I found
> that it got part way through and stopped when it hit the blocks
> in the bad cluster file. So I checked into using the
> "conv=sync,noerror" options to dd underlying the image process.
Yes, 'noerror' is what I also recommended to user in similar cases and
they were very happy with the results :)
[ ... excellent discussion how to backup drives with bad sectors ... ]
> To my chagrin ntfsresize detected the existence of this now
> needless Bad Cluster File and refused to make the last tweak.
> In any case, I am temporarily using the drive as a 20GB drive
> until one of:
> - Someone has a solution to move forward.
> - I buy Partition Magic
> - I just create a d: partition (yecch).
I've implemented bad sector support for ntfsresize in April and so far it
worked fine and passes all my tests. Apparently you want to expand NTFS,
right?
That should definitely work for you also but shrink is much more trickier
and I just didn't have time to check out all corner cases, that's why it's
not released yet. If you're willing to test (you have already the backup),
I will put it somewhere for testing in the weekend and if it works for you
also then it's really time to send the patch to Anton.
Cheers,
Szaka
|