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
  • 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......
  • 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......
  • 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......
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......
  • 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......
  • Tech Support - Funny Video Series While surfing through Youtube, I stumbled across this fun-filled tech support video series. All of the videos are sure to give you good amount of chuckle. I liked all of them, but first one is my favorite. Surely a stress buster after a bad day in office :) Enjoy! Tech......
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