Skip to end of metadata
Go to start of metadata

Bare-Metal Restores Fail When Using RecoveryCD

Symptom


Bare metal restore fails - Device not found - /dev/sdaX not found

Cause


Many newer Linux versions, especially with kernels newer than 2.6.22, use the newer libata for devices,
which assign all IDE drives a /dev/sdXx path, rather than the legacy /dev/hdXx method.
Backups work fine, but restores attempted using our recoveryCD, which uses the legacy method,
may not find and restore the proper partitions, due to the naming differences, especially with LVM Volumes.

Resolution


Boot from a LiveCD that matches up with the Linux distribution or version you are trying to restore, and install our CDP agent into that running system.

Once the LiveCD is booted, download the latest generic linux version of the CDPAgent.

wget http://path-to-download-latest-agent

Then install the generic linux agent using this syntax.

sh name-of-agent-version.run -- --pxe

This installs the agent software without building or loading a module, and sets the agent up in disaster recovery mode.

Next, run the r1key utility.

r1key -a ip.of.your.CDPServer

This adds the IP address of your CDP server into the server.allow file, and allows communications between the CDPagent and CDPserver. Be SURE to get an affirmative message that the IP was added to the agent.

Failure to add the IP means that there are network issues such as closed ports, not allowing the CDPagent and CDPserver to communicate.

Next, start the agent.

/etc/init.d/buagent start

Now you are ready to begin the bare-metal restore, using your own LiveCD!

Access your CDPserver, and follow the standard procedures for bare metal restore, same as when using our recoveryCD version.

Other items to watch for:

Several distributions offer automounting features that can cause errors during BMR operations, as we don't want any of our partitions to mount during the restore process. Fedora 8 , for example, will automount a restored drive immediately after it's restore, causing other partition restores to fail.
Disable automounting ( kill pid for gnome-volume-manager ) or proceed thru the BMR in a runlevel 2 or single-user environment when booting the LiveCD

Documentation for BMR procedures can be found at http://wiki.r1soft.com/display/R1D/Restore.

Related Articles


Page: "Can't find Knoppix filesystem" when booting LiveCD (Archived Knowledge Base 2.0) Labels: bare-metal_restore, livecd
Page: Bare-Metal Restores Fail When Using RecoveryCD (Archived Knowledge Base 2.0) Labels: bare-metal_restore, device, livecd
Page: Bare-Metal Restore Fails With Internal Error (Archived Knowledge Base 2.0) Labels: bare-metal_restore
Page: Linux Disaster Recovery Boot Methods (Archived Knowledge Base 2.0) Labels: livecd, pxe, live_boot, bare-metal_restore
Page: What is Bare-Metal Restore? (Archived Knowledge Base 2.0) Labels: bare-metal_restore
Page: Linux Swap Partition Is Not Being Recreated After Bare-Metal Restore (Archived Knowledge Base 2.0) Labels: bare-metal_restore
Page: Bare-Metal Restore to a Drive of Different Size (Archived Knowledge Base 2.0) Labels: compression, bare-metal_restore
Page: CDP Server FAQ (Archived Knowledge Base 2.0) Labels: cdp_server, resell, bare-metal_restore, linux_agent, windows_agent, remote_server, backup, initial_backup
Page: Restore a Host Without Physical Access (Archived Knowledge Base 2.0) Labels: live_boot, bare-metal_restore, network
Page: Recreate Swap Partitions During Bare-Metal Restore (Archived Knowledge Base 2.0) Labels: bare-metal_restore
Page: Excluding a File Or Folder During Bare-Metal Restore (Archived Knowledge Base 2.0) Labels: bare-metal_restore
Page: Bare-Metal Restore of Several Partitions (Archived Knowledge Base 2.0) Labels: bare-metal_restore, partition, device
Page: Bare-Metal Restore to a New Linux Server (Archived Knowledge Base 2.0) Labels: cpanel, bare-metal_restore
Page: Bare-Metal Restore to Another Hard Drive (Archived Knowledge Base 2.0) Labels: hardware, bare-metal_restore
Page: Bare-Metal Restore is Slow in GB LAN (Archived Knowledge Base 2.0) Labels: bare-metal_restore, performance
Page: Restoring File Permissions (Archived Knowledge Base 2.0) Labels: file_restore, bare-metal_restore, permission
Page: Restoring Corrupt Files (Archived Knowledge Base 2.0) Labels: corrupt, file_restore, bare-metal_restore
Page: Starting Buagent for BMR (Archived Knowledge Base 2.0) Labels: bare-metal_restore, recovery_mode, buagent
Page: Restoring Encrypted Files (Archived Knowledge Base 2.0) Labels: encryption, bare-metal_restore
Page: Bare-Metal Restore for Slipstreamed Installations (Archived Knowledge Base 2.0) Labels: hal, bare-metal_restore
Page: Bare-Metal Restores Fail When Using RecoveryCD (Archived Knowledge Base 2.0) Labels: bare-metal_restore, device, livecd
Page: Renaming Mount Points (Archived Knowledge Base 2.0) Labels: recovery_point, device
Page: The Disk Safe Browser (Archived Knowledge Base 2.0) Labels: disk_safe, device, backup_image, file_restore
Page: Resizing Partitions (Archived Knowledge Base 2.0) Labels: partition, device
Page: Bare-Metal Restore of Several Partitions (Archived Knowledge Base 2.0) Labels: bare-metal_restore, partition, device
Page: Linux Agent Multipath Workaround (Archived Knowledge Base 2.0) Labels: device
Page: ioctl error doGetBlockSize (Archived Knowledge Base 2.0) Labels: device
Page: Excluding Control Panel Users (Archived Knowledge Base 2.0) Labels: control_panel_add-on, device
Page: "Can't find Knoppix filesystem" when booting LiveCD (Archived Knowledge Base 2.0) Labels: bare-metal_restore, livecd
Page: Bare-Metal Restores Fail When Using RecoveryCD (Archived Knowledge Base 2.0) Labels: bare-metal_restore, device, livecd
Page: Linux Disaster Recovery Boot Methods (Archived Knowledge Base 2.0) Labels: livecd, pxe, live_boot, bare-metal_restore
Labels:
bare-metal_restore bare-metal_restore Delete
device device Delete
livecd livecd Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.