Virtualization Adapted Adapting Business Processes for Virtual Infrastrcuture (and vice-versa)


Add a Backup Disk to Linux VM ext4 Centos 5

Filed under: virtualization — iben @ 15:17

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

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress