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
  • Grisoft AVG Antivirus 7.5 on Windows XP False Positive that HURTS This looks like a REALLY bad false positive. It appears that AVG 7.5 for a short period of time detected user32.dll as a trojan horse. (trojan horse psw banker4). It looks as though update to the virus database VDB 270.9.0/1778 fixes the problem. Unfortunately if you have been bitten by......
  • 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......
  • The security of remote tech support (ultravnc sc or x11vnc with wrapper script) Well, I've got a nice way of doing "easy" one click (or one cut and paste) light desktop support for windows or linux, one uses ultravnc sc, the other uses x11vnc with a special wrapper script. So, what security flaws are there in this process? Well, for starters, I see......
Blog Traffic Exchange Related Websites
  • 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......
  • 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......
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