Koozali.org: home of the SME Server

RAID, backup drive fried, only one mirror member left. Only boots to grub

Offline rshiras

  • *
  • 53
  • +0/-0
A power surge knocked out my backup drive and one of my RAID drives.  My server also fried.  So I'm going from PATA to SATA.  I have made a clone from the PATA to a SATA drive, and tried all kinds of tricks from posts (thanks for these), but to no avail.  OK so no pre-backup.  Won't boot, goes to Grub.  Tried grub.  Tried renaming .img and mkinitrd.  Tried removing lines from grub.conf. Tried F5 rescue.
OK so I got a new PC and installed SME 8.0 on it and set up RAID. 
Question: can I recover users, ibays, virtual domains, MySQL and all other user data from the old drive?  Are there new methods in 8.0 that I might not have discovered yet?  I'm trying to RTFM, but some links or tips would be greatly appreciated right now.  No sleep for me until this gets done.

Offline rshiras

  • *
  • 53
  • +0/-0
Uh-oh...My RAID was set up automatically as SDB and SDA.  I added my old drive to try to see what data is on there, and RAID automatiaclly switched to SDC and SDB!  Why did it do that?  Has it wiped out my old data?  What's the proper way to get my stuff off the old drive?

Offline janet

  • ****
  • 4,812
  • +0/-0
rshiras

Quote
What's the proper way to get my stuff off the old drive?

Do a backup using server manager, select backup to workstation to a local USB drive.
Then use that drive to restore to the new hardware with a clean install of sme8 on it.

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Brave Dave

  • *
  • 185
  • +0/-0
Get a USB - SATA / PATA kit and connect it via USB after the server has booted, you can mount and manually retrieve ibays, yes you could retrieve everything else, but that requires more skills.

Certainly you can mount the drive (assume old system was raid 1) and recover data (I think you can mount a raid 1 drive ..., think I've done that)
.:DB:.

Offline janet

  • ****
  • 4,812
  • +0/-0
rshiras

Quote
Uh-oh...My RAID was set up automatically as SDB and SDA.  I added my old drive to try to see what data is on there, and RAID automatiaclly switched to SDC and SDB!  Why did it do that?  Has it wiped out my old data?  What's the proper way to get my stuff off the old drive?

Is it booting now to the command prompt or are you still getting the grub error ?

If you have a command prompt show output of
cat /proc/mdstat

Otherwise try booting to the sme install CD & select Rescue mode, you may be able to mount the system, follow instructions on screen & see if you data is still there.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.