NTFS cloning



Sometimes drives just go bad. Surprise. One recent fresh install of Windows XP had started having real stability problems. On running a chkdsk and looking at the event viewer, it was fairly clear that 16KB of bad sectors and the disk problems had likely been the problem (lots of disk and atapi errors in the system log. Mostly disk error during paging operation (swap filing)) So…. I looked at cloning the drive using dd_rescue. All went well and the new system booted up on the new identically sized drive. In fact EVERYTHING was fine except chkdsk still reported 16KB of bat sectors….


You see that’s the drawback of a cloning of a disk (or any bit by bit image) you copy the drives information about what’s bad along with the good data. It appears that there is no way withing Windows XP to get chkdsk to re-evaluate an ntfs for bad sectors – once it declares one bad – you’re stuck. However, there are some linux based tools that might help with that.

I found a good guide on ntfsresize for this purpose at bodden.de. It walked through patching the source code of ntfsresize and using that to reset the bad sector count in ntfs – unfortunately, in my case that didn’t work exactly as described and the system STILL counted 16KB of bad sectors. I tried other disc scanning tools just to make sure (spinrite 6 – which doesn’t care what OS is on the disc.) All looked healthy.

So, next I tried cloning the ntfs partition another way…. ntfsclone. I thought MAYBE that would reset the bad sector count. it didn’t nor did the subsequent ntfsresize operation. In fact, in this case I didn’t find a way to re-set the list of bad sectors, so they’ll remain unused. It’s really a superficial issue, but might lead someone to draw the wrong conclusion about the drive.

I also should note that I found a good forum thread suggesting that ntfsclone should be tried first on a failing drive because dd_rescue is too hard on the drive and might push it over the brink.

Related Posts

Blog Traffic Exchange Related Posts
  • Windows XP and IPP printers I really like printers with their own built in print server. They can be plugged into the network and some operating systems can just find them. Unfortunately most of the time Windows doesn't just find an IPP printer. One tool that can be handy for such a time as this......
  • Flashing bios pain in the neck.... One of the "project machines" I've had that's been retired from other service was to become a "storage server" this week. The twin 250GB drives had arrived and I was ready to setup a RAID1 array (mirroring essentially...) in software and use Ubuntu 6.06 as the base operating system. I......
  • Tech support tutorials made easy on linux.... One of the real frustrations with phone tech support is translating step by step what is needed to the person on the other end. I know it sounds easy, but in reality - what if they've got xyz theme for their menuing and it's not there, what if... oh you......
Blog Traffic Exchange Related Websites
  • How Bad Design is Killing Your Sales There is a direct relationship between good UI design and increased sales. On the flip side, bad design inevitably hurts sales. Pretty obvious if you think about it, but why? Quite simply, good user interface design is primarily about giving the user what the expect, where they expect it in......
  • Download Microsoft Windows 7 RC Hi Folks, Microsoft has released Windows 7 RC. Here's what you need to know: This is pre-release software, so please read the following to get an idea of the risks and key things you need to know before you try the RC. You don't need to rush to get the......
  • Dell Computer Company Pisses Me Off! [/caption] Have You Bough A Dell Computer? I don't like to talk crap on a company but my recent situation really fired me up. Let me explain what happened to me. About a month ago my Dell computer just stopped working.  Yes my computer just stopped working out of......
www.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site