AoE for Backups?

snowman66

Active Member
Dec 1, 2010
254
1
38
Does anyone use AoE in production? Maybe for backups?

Recently i build up one aoe storage system for testing.

AoE server:
Code:
Ubuntu Server 12.04 amd64
Hardware: intel core 2 duo e6550, 2gb ram, SW raid 1 SATA II, 1Gbit network

PVE server:
Code:
pve 2.1
Hardware: amd II x2 250, 8gb ram, 2x SATA II, 2x 1Gbit network


Tests:
Code:
[B]iperf between pve node and aoe server[/B]
~# iperf -c 192.168.77.8
-----------------------------------------------------------------------
Client connecting to 192.168.77.8, TCP port 5001
TCP window size: 16.0 KByte (default)
-----------------------------------------------------------------------
[  3] local 192.168.77.5 port 41105 connected with 192.168.77.8 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.10 GBytes    944 Mbits/sec

Code:
/$iperf -c 192.168.77.5
Client connecting to 192.168.77.5, TCP port 5001
TCP window size: 23.5 KByte (default)
-----------------------------------------------------------------------
[  3] local 192.168.77.8 port 34901 connected with 192.168.77.5 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.10 GBytes   942 Mbits/sec


Code:
proxmox-virt01:~# [B]hdparm -tT /dev/etherd/e4.5[/B]

/dev/etherd/e4.5:
 Timing cached reads:   3988 MB in  2.00 seconds = 1994.45 MB/sec
 Timing buffered disk reads: 268 MB in  3.03 seconds =  88.52 MB/sec

Installation of WinXP takes about 6-7minutes to finish. Backuping this VM using snapshot mode

Code:
[B]backup - snapshot to AoE mount dir[/B]


INFO: starting new backup job: vzdump 800 --remove 0 --mode snapshot --compress lzo --storage aoe-backup-dir --node proxmox-virt01
INFO: Starting Backup of VM 800 (qemu)
INFO: status = running
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO:   Logical volume "vzsnap-proxmox-virt01-0" created
INFO: creating archive '/storage-aoe/backups/dump/vzdump-qemu-800-2012_07_27-08_24_56.tar.lzo'
INFO: adding '/storage-aoe/backups/dump/vzdump-qemu-800-2012_07_27-08_24_56.tmp/qemu-server.conf' to archive ('qemu-server.conf')
INFO: adding '/dev/AoE-G1/vzsnap-proxmox-virt01-0' to archive ('vm-disk-ide0.raw')
INFO: Total bytes written: 5368711680 (41.29 MiB/s)
INFO: archive file size: 847MB
INFO: Finished Backup of VM 800 (00:02:06)
INFO: Backup job finished successfully
TASK OK

Restoring the same VM
Code:
[B]Restore from AoE Server to PVE host local disk[/B]
extracting archive '/storage-aoe/backups/dump/vzdump-qemu-800-2012_07_27-08_24_56.tar.lzo'
extracting 'qemu-server.conf' from archive
extracting 'vm-disk-ide0.raw' from archive
Formatting '/var/lib/vz/images/802/vm-802-disk-1.raw', fmt=raw size=32768 
new volume ID is 'local:802/vm-802-disk-1.raw'
restore data to '/var/lib/vz/images/802/vm-802-disk-1.raw' (5368709120 bytes)
5368709120 bytes copied, 46 s, 111.30 MiB/s
TASK OK
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!