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
  • Custom livecd's, virtualbox, seamlessrdp and sata dvd burners... I thought this writeup was interesting on the idea of using a web interface to customize a livecd. I've built a couple livecd's (that I still use) for tech support, but I'm always thinking of one more tool that I'd like to have. After looking through their wizard it seems......
  • Remote tech support with anything - would I do it? I've tried to ask myself if I'd trust someone enough to let them run a remote session on my own desktop to solve a problem. I think the answer is "it depends". If you think about it, I do tech support for home users quite a bit and they let......
  • 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......
Blog Traffic Exchange Related Websites
  • Change your SEO methods SEO is among the most effective ways of getting information anterior to theSEO Australia people who are in fact looking for the application. The problem is usually is that SEO blogis often considered too late within the content development phase eventhough it will probably yield the right results in a......
  • 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......
  • How to Install a Window Air Conditioner the Right Way As summer approaches, those of us without central air are getting ready to go through the annual ritual of installing our window air conditioners. However, were you aware that a bad installation can actually raise your electricity costs and make it harder to say cool? Here are some tips to......
PDF24    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