Sunday, February 15, 2015

Acronis restore error code 0x590001

I can remember a time when every server I dealt with was physical.  Back when I physically had to get up from my desk, physically travel to a clients site, physically attach their backup storage to their crashed physical server, put a physical disc in the physical drive and use a physical keyboard and mouse to start the recovery.  Even with all that physical activity I was still overweight... but I digress...  Then, if the sun/moon/stars aligned, the driver gods were being nice, and my caffeine levels stayed steady, there was a good chance I might be able to have the client back up and functional by the time they came in to open the next day.  Ah the memories...

Thankfully, those days are long gone for me.  Now most of what I deal with is virtual.  Remote connectivity, VMware/Hyper-V, iLO/iDRAC access to the hardware console, ISO media, SAN storage, NAS backups... I don't even have to be at my physical office to do any of it.  I can't count how many times I have done work while out with friends via an RDP client on my iPhone.  Love this technology driven world when it all works!  There are still times, though, when those physical things that run the virtual world I live in need attention.

I've been working on spinning up a small Hyper-V cluster on a few older HP ProLiant DL360 G7 servers.  I took one of the servers, installed Windows Server 2012 R2, ran the gauntlet of updates to get it current, performed some tweaks, installed all the HP integrations, etc.  In the end, I had a server ready to be imaged/sysprep'ed and used as my base template for spinning up the other two servers.  Hardware was the same across all three so a simple image based backup/restore using Acronis seemed like the way to go.  Acronis is my trusty dusty for stuff like this.  P2V conversions, hardware replacement without reinstalling anything, anything to do with recovery, it is my go to tool because it just works... usually.

This case seemed pretty straightforward.  Took the image from the source server using the bootable ISO and stored it to a NAS.  Used the same ISO on the first clone to start the restore process, deleted the original volumes, selected the MBR and all the volumes (just the OS and system reserved), and started the restore.  *yawn*

At 95% I see an error... code 0x590001.  *grrr*  Actually a few errors:
  • Error code 5,832,705 (0x590001), module 89
  • Error code 1, module 89, message:  Direct R/W operation has failed
  • Error code 65521, module 0, message:  Input/output error



A quick search through the world of webs revealed a lot of suggestions for running a chkdsk but no one ever came back and said "wow that fixed it!"  Those posts usually ended with "reinstalled and went from there :'(".  Pfft... this is all a fresh build, no errors in the event logs, no problems up to this point... ain't nobody got time for that!

My source image must have been bad.  Great, I guess I didn't validate the integrity of the source image.  Repeated the process making sure I enabled validation... clean backup, same error on restore.  New media, new backup target, sector by sector backup, same problem.  Hm...  Oh!  I rebuilt the RAID array, I probably didn't set the logical disk as bootable.  Fixed that, still failed.  Oh!  I found the original disk was provisioned as GPT instead of MBR.  Man I'm getting rusty... converted to MBR... still failed.  Tested restoring the individual pieces, first the MBR... fail.  Second, the data volumes... success.....?  Ok..... so it's just the MBR restore that's failing.  Hm...  I can probably fix that manually!  Rebooted with the Windows 2012 R2 media in and ran a repair... viola!  Windows boots.

At this point I'm still not sure why Acronis is having trouble restoring the MBR.  The only thing I can think is when I built the new logical disk in the RAID array, I did not actually initialize it.  I may go back and try that and see if my results are any different.  For this lab build out, though, I'm simply going to restore the data volumes and then run a repair.  Stupid physical machines.  Moving on...