Acronis Backup for Linux Server - User Guide User Manual

Page 29

Advertising
background image

29

Copyright © Acronis International GmbH, 2002-2014

Note: This procedure will not work if you connect to Acronis Backup Bootable Agent remotely, because the
command shell is not available in this case.

Example

Suppose that you previously performed a disk-level backup of a machine with the following disk
configuration:

The machine has two 1-gigabyte and two 2-gigabyte SCSI hard disks, mounted on /dev/sda,
/dev/sdb, /dev/sdc, and /dev/sdd, respectively.

The first and second pairs of hard disks are configured as two MD devices; both are in the RAID-1
configuration, and are mounted on /dev/md0 and /dev/md1, respectively.

A logical volume is based on the two MD devices and is mounted on
/dev/my_volgroup/my_logvol.

The following picture illustrates this configuration.

Do the following to recover data from this archive.

Step 1: Creating the volume structure

1. Boot the machine from a Linux-based bootable media.
2. In the management console, press CTRL+ALT+F2.
3. Run the following commands to create the MD devices:

mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[ab]
mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sd[cd]

4. Run the following commands to create the logical volume group:

Caution: The pvcreate command destroys all data on the /dev/md0 and /dev/md1 devices.

lvm pvcreate /dev/md0 /dev/md1
lvm vgcreate my_volgroup /dev/md0 /dev/md1
lvm vgdisplay

The output of the lvm vgdisplay command will contain lines similar to the following:

Advertising