qmrestore to Sheepdog Doesn't Work

jag3773

New Member
Jun 8, 2012
9
0
1
Hello,

I'm in the process of moving VMs from one Proxmox cluster to another, using vzdump and qmrestore. The older cluster is using LVM for the VM storage and the newer cluster is using Sheepdog.

When running a qmrestore, the process does not actually load the data into sheepdog. Instead, it writes it to a local file, as an example:

Code:
root@proxmoxe:~# qmrestore /tmp/vzdump107.tar.lzo 300 -storage sheepdog
extracting archive '/tmp/vzdump107.tar.lzo'
extracting 'qemu-server.conf' from archive
extracting 'vm-disk-virtio0.raw' from archive
new volume ID is 'sheepdog:vm-300-disk-1'
restore data to 'sheepdog:127.0.0.1:7000:vm-300-disk-1' (42949672960 bytes)
42949672960 bytes copied, 308 s, 132.99 MiB/s

root@proxmoxe:~# ls -lh
-rw-r--r-- 1 root root  40G Aug 21 15:55 sheepdog:127.0.0.1:7000:vm-300-disk-1

Just to be clear, the name of our sheepdog storage is actually sheepdog.

As a workaround, I used the `collie vdi write` command to actually get the data into sheepdog:

Code:
root@proxmoxe:~# dd if=sheepdog:127.0.0.1:7000:vm-300-disk-1 | collie vdi write vm-300-disk-1
83886080+0 records in
83886080+0 records out
42949672960 bytes (43 GB) copied, 1763.21 s, 24.4 MB/s

Does qmrestore know nothing of sheepdog, or is this a bug in the code? Any ideas would be greatly appreciated as I have several more VMs to migrate.
 

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!