Backing Up Lvm Volumes (Linux) - ACRONIS Backup & Recovery 10 Advanced Server User Manual

Hide thumbs Also See for Backup & Recovery 10 Advanced Server:
Table of Contents

Advertisement

Unallocated space (basic GPT disk)
Moving and resizing volumes during recovery
You can resize the resulting basic volume, both MBR and GPT, during recovery, or change the
volume's location on the disk. A resulting dynamic volume cannot be moved or resized.
Preparing disk groups and volumes
Before recovering dynamic volumes to bare metal you should create a disk group on the target
hardware.
You also might need to create or increase unallocated space on an existing disk group. This can be
done by deleting volumes or converting basic disks to dynamic.
You might want to change the target volume type (basic, simple/spanned, striped, mirrored, RAID
0+1, RAID 5). This can be done by deleting the target volume and creating a new volume on the
resulting unallocated space.
Acronis Backup & Recovery 10 includes a handy disk management utility which enables you to
perform the above operations both under the operating system and on bare metal. To find out more
about Acronis Disk Director Lite, see the Disk management (p. 264) section.

2.9 Backing up LVM volumes (Linux)

This section explains in brief how you would back up and recover volumes managed by Linux Logical
Volume Manager (LVM)—called logical volumes—using Acronis Backup & Recovery 10.
Acronis Backup & Recovery 10 Agent for Linux can access, back up and recover such volumes when
running in Linux with 2.6.x kernel or a Linux-based bootable media.
You can back up data of one or more logical volumes and recover it to a previously created logical
volume or a basic (MBR) disk or volume; likewise, it is also possible to recover the data of a basic
volume to a logical volume. In each case, the program stores and recovers volume contents only. The
type or other properties of the target volume will not change.
A system, recovered from a logical volume backup to a basic MBR disk, cannot boot because its kernel tries to
mount the root file system at the logical volume. To boot the system, change the loader configuration and
/etc/fstab so that LVM is not used and reactivate your boot loader as described in the Bootability
troubleshooting (p. 225) section.
When recovering a logical volume over a basic MBR volume, you can resize the resulting volume.
Before recovering logical volumes to a target machine with no corresponding logical volume
structure (for example, to recover to bare metal), you need to create the logical volumes and groups
in either of these ways:
Before performing the first disk backup on a source machine, run the following command:
trueimagecmd --dumpraidinfo
This will save the machine's logical volume structure to the /etc/Acronis directory. Include the
volume with this directory to the list of volumes to back up.
Before the recovery, use the restoreraids.sh script in bootable media to create the structure.
Alternatively, use the lvm utility to create the structure manually, and then perform the
recovery. You can perform this procedure either in Linux or in bootable media.
44
Basic GPT volume
Basic GPT volume
Basic GPT volume
Copyright © Acronis, Inc., 2000-2010

Advertisement

Table of Contents
loading

Table of Contents