This article is for Zmanda Backup Appliance (ZBA)
Info Description:
- Shut the VM down and add a new disk to the VM of the desired size.
- Boot the VM back up. The new disk should be seen by the system likely as /dev/sdb.
- Assuming the new disk is /dev/sdb, use the "fdisk" command to create the partition on the new disk. Change the type 8e Linux LVM;
- Create the new physical volume with (on this example, /dev/sdb1 is the new partition):
# pvcreate /dev/sdb1 - Unmount the /dev/backup_data/backup_data file system from /var/lib/amanda:
# umount /var/lib/amanda - Extend the existing volume group "backup_data":
# vgextend backup_data /dev/sdb1 - Extend the existing logical volume, "/dev/backup_data/backup_data", by 100% of the new free space:
# lvextend -l +100%FREE /dev/backup_data/backup_data - Resize the file system, to use the maximum space available:
# resize2fs /dev/backup_data/backup_data - Mount the /dev/backup_data/backup_data to /var/lib/amanda:
# mount /dev/backup_data/backup_data /var/lib/amanda