Add a Backup Disk to Linux VM ext4 Centos 5
Edit the VM Settings
add the disk to the VM
yum install e4fsprogs
fdisk -l
Disk /dev/sdb: 60.1 GB, 60129542144 bytes
Disk /dev/sdb doesn’t contain a valid partition table
fdisk /dev/sdb
n – create new partition
2 – use partition number 2
w – write partition table
mkdir /backup
/sbin/mkfs.ext4 -L /backup /dev/sdb2
mount -t ext4 /dev/sdb2 /backup
vi /etc/fstab
Add the following line to etc/fstab
/dev/sdb2 /backup ext4 defaults 1 2
change the zimbra backups to go to new directory
su zimbra –
zmprov gacf zimbraBackupTarget
zimbraBackupTarget: /opt/zimbra/backup
zmprov mcf zimbraBackupTarget /backup
zmprov gacf zimbraBackupTarget
zimbraBackupTarget: /backup