Solved

SBS 2003 recovery from NTBackup to new RAID volume and partition following Blue Screen and bad stripe

Posted on 2011-03-24
5
894 Views
Last Modified: 2012-05-11
I had a blue screen event on my SBS 2003 R2 server. The apparent cause is a bad stripe on a RAID 5 volume made from Seagate Barracuda 1TB 7200.11 disks. The volume contains the operating system partition. (I know there are issues with these disks now.)

When the server reboots it is highly unstable and a lot of services won't start (e.g. ISA, Exchange, SQL).

I have full C partition (OS location), system state, Exchange MDBDATA and SQL backup conducted by NTBackup for consecutive days before the blue screen.

The C partition is on a RAID5 volume (CVOL) which has a SMART error and bad stripes. This is what I have done.

1) I have created a new RAID1 volume (DVOL) of the same size as CVOL on new disks attaached to the same RAID controller. It's a RAID1 because I only had 2 free ports on the controller.

2) I booted the server in safe mode and, using server management console, created a new D partition on the DVOL volume. I formatted it.

3) I then rebooted the server in DSRM safe mode and used NTBackup to recover the C partition to the new D partition, and system state from the NTBackup from two days before the blue screen. I chose the option to replace all of the files on the destination (although it was empty of course) and maintain load points (not sure about this).

4) I rebooted the server, entered the RAID array control utility (Ctrl-A as it's an Adaptec array) and promoted DVOL ahead of CVOL in the boot order, restarting the server when the change was accepted.

Problem. The server doesn't boot into SBS 2003 R2. I just get a blinking cursor. F8 to select the boot options such as safe mode doesn't work. I have to power down and reverse point (4) to get an OS load.

Question 1. What am I doing wrong?

Question 2. How do I create a complete restore of the OS partition and system state but to a new Volume on the same hardware, so that I can avoid the SMART error and bad stripes that plague the original Volume?

Question 3. Is there anything specific I need to do so that I can eventually recover Exchange and all my SQL data bases?

Queston 4, alternatively, can I restore/repair to the original C partition on CVOL if I run chkdsk /r by booting the server from disk 1 of the SBS install CD-ROM and chosing to repair an existing installation? (For information, chkdsk /r has been running for 12 hours and has reached 54% on step 4 of 5. There are approximately 100,000 files on the C partition and they ocupy 140GB. CVOL is a 245GB array.)
0
Comment
Question by:MarcusN
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:DavidB80
ID: 35206900
Marcus, as no one has posted anything in 6 hours, I'll put in my 5c based on doing the same task myself in the past:

There is a bootstrap file installed on the first logical volume (someone with more knowledge will correct my terminology), without it, the system won't read BOOT.INI and boot your system. That file won't be on your new C Vol (but it is still on your old C Vol). I'm sure there are fancy ways to restore it, and there are 3rd party tools that can restore it, but with what you have, the way I have got around this is to start a fresh SBS install but only install Windows (don't go on with the Active Directory & SBS step), BUT, instead of accepting the default directory of C:\Windows, I stipulate to install it to C:\EMGWIN (emergency windows).  If nothing else this always gives you a 2nd basic Windows O/S you can boot in emergencies.  This process takes all of 25 minutes and does restore your bootstrap file on your new C Vol.  Once this basic install comes up, you can edit BOOT.INI to put your real Windows as first boot option.  This gets your Windows up again.  So you aren't doing anything wrong, you just don't have the necessary boot file on the (now) first volume.

If you get this up and have done/do a full restore, then Exchange, SQL, etc should all come back too. You may need to run some EXEUTIL options on your Exchange database, or you may be lucky and it works first try. There will be postings about what to do to recover exchange after a rebuild elsewhere on EE.

As to the CHKDSK running on your old C Vol, it sounds like that volume is cactus in its present state. You will need to work out whether the issue (and root cause) is hardware, or just a corruption.  If it's hardware, obviously that needs to be resolved. If it was just a random corruption (power fail, etc), then you should be able to reformat and restore to that volume again.  Once you get it back up and running reliably again, invest in ShadowProtect for SBS.  It will make such recoveries so much quicker/easier for you.

Hope the above is of some assistance,
David
0
 

Author Comment

by:MarcusN
ID: 35209373
Thanks, David, I'll try this now. I'll let you know how it goes.

chkdsk /r completed in 18.5 hours saying it has found and fixed problems. I'm going to see whether the system now boots properly from the original C partition and, if not, go down this route you suggest.

Finally, the problem seems to have started when a power outage caused an uncontrolled shutdown (UPS didn't have enough juice to allow a clean shutdown) which lead to the bad stripe emerging on the array. Buying a more juicy UPS.
0
 

Author Comment

by:MarcusN
ID: 35275755
Hello David,

Sorry for the delay in getting back to you. I have discovered that the bad stripes on my CVOL array, containing my C partition, have made a mess of the current SBS 2003 installation.

What I was planning to do was the following.
a) Remove the disks that make up the entire CVOL array and replace them with new disks.
b) Create a new CVOL array of the same size as the old one and reinstall SBS 2003 R2 from the CDs.
c) Reinstall the relevant service packs.

At (b) I was hoping I could avoid going through the whole installation process (NICs, IP addresses, Email settings etc etc) as I want to then recover all of the original C partition content from NTBackup.

Is that what you are saying I should do in your post? Do I abort the installation after the initial setup is complete and before all the questions that the wizard asks after the first reboot?
0
 
LVL 3

Accepted Solution

by:
DavidB80 earned 500 total points
ID: 35276188
Hi Marcus,
The SBS disks first install a basic Win 2003 Server.  At the end of that process it reboots and then commences a wizard to install active directory and all the rest of SBS.  During that first part, where Win 2003 Server is being installed, the necessary boot files are written to your current first logical disk.  My suggestion was an easy solution to getting your ‘new’ RAID1 C Vol to boot.

If you have your original RAID5 / C Vol repaired and functional again, the procedure you have described is the standard way to restore a system from tape backup.  Being by installing Win 2003 Server (no need to go on with Active Directory install, etc). After the reboot when Win 2003 completes, boot in to Directory Services Restore mode and restore your backup using NTBackup.

It's really the same issue either way:
You need to get the boot sector metatdata file (bootstrap) back on the first logical disk, regardless of which array you want to boot.  Once you have your NTFS partition restored (i.e. everything that was/is 'C Drive'), you still need to restore the boot sector metatdata file so the computer knows how and where to find the NTLDR file in the root of C.  The suggestion I made was a quick way to do that (install just Win 2003 Server to a different directory in the root of C:\).  There are other ways to restore the boot sector metatdata file, such as BOOTFIX from the Windows Recovery Console, but these require more advanced skills that just inserting your first SBS CD and running through the Win 2003 Server install.

You used the term ‘abort the install’ at a certain point. Yes you do, but it’s not a matter of aborting any program really.  Once Win 2003 Server finishes installing, it reboots the server and comes up to a login prompt.  When you log in, the SBS install wizard fires up and offers to install Active Directory and everything else that is SBS.  You simply close that wizard and you’re left with a really simple Win 2003 system.  At this point you open BOOT.INI and edit the default choice of O/S to boot, modifying the path to point to your real Windows (usually C:\Windows).  Reboot and your old system, SBS and all, should come up fine.
0
 

Author Closing Comment

by:MarcusN
ID: 35286674
This does work. If there are problems in creating a new C partition, regedit.exe and a reboot fixes that, but everything else works fine. Thanks.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

How to fix error ""Failed to validate the vCentre certificate. Either install or verify the certificate by using the vSphere Data Protection Configuration utility" when you are trying to connect to VDP instance from Vcenter.
How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now