proxmox v3.4 to v5.1 and "pct restore"

deang

Member
Jul 27, 2015
20
1
23
I'm in the process of moving my VMs on a proxmox v3.4 system to a proxmox v5.1 system.
I dumped a VM from the v3.4 system and copied it to the v5.1 system, but I'm having trouble getting
"pct restore" to recognize my pool name. At least I think thats the problem.

I have a pool on the v5.1 system called "prox2pool01"

root@proxmox2:~# zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
prox2pool01 24.5T 2.20G 24.5T - 0% 0% 1.00x ONLINE -

root@proxmox2:~# zpool status
pool: prox2pool01
state: ONLINE
scan: scrub repaired 0 in 0h0m with 0 errors on Sun Nov 12 00:24:10 2017
config:

NAME STATE READ WRITE CKSUM
prox2pool01 ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
sdf ONLINE 0 0 0
sdg ONLINE 0 0 0
sdh ONLINE 0 0 0
sdi ONLINE 0 0 0
sdj ONLINE 0 0 0

errors: No known data errors​

I've copied the lzo from the v3.4 system into a directory /prox2pool01/IMAGES/. But get an error that prox2pool01 doesn't exist when I try the pct restore command on the v5.1 system:


root@proxmox2:~# pct restore 105 /prox2pool01/IMAGES/vzdump-openvz-105-2017_10_23-20_11_08.tar.lzo -pool prox2pool01
403 Permission check failed (pool 'prox2pool01' does not exist)​

I'm sure I'm missing something, but not certain what. thanks -- Dean
 
Thanks Dietmar, I did a cat of /etc/pve/storage.cfg which showed that "local-zfs" is my storageID. That must be the default. I didn't see the storageID with "zfs status". But its in the storage.cfg. Using that storageID I then was able to do a

pct restore 105 /prox2pool01/IMAGES/vzdump-openvz-105-2017_10_23-20_11_08.tar.lzo -storage local-zfs
 

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!