PVE Integration + ZFS over iSCSI restore fail

alexis.berindei

New Member
Jan 3, 2020
3
0
1
31
Lyon, France
www.eoris.fr
Hello all!

We are using PBS since last week with PVE integration.
VM start fine on the iSCSI backend, cloning work too but when I tried to restore a backup (backup made from NFS backend storage and trying to restore to ZFS over ISCSI backend storage) i got an error message :

Code:
Using encryption key from file descriptor
Encryption key fingerprint: 'd3:ea:e9:28:ea:05:7d:f1'
Using encryption key from file descriptor
Encryption key fingerprint: 'd3:ea:e9:28:ea:05:7d:f1'
new volume ID is 'ISCSI_NAS_50TO:vm-104-disk-0'
restore proxmox backup image: /usr/bin/pbs-restore --repository root@pam@10.20.30.11:datastore vm/10016/2020-12-26T20:08:19Z drive-scsi0.img.fidx iscsi://10.20.30.21/iqn.2020-12.sys.eoris.tech:omv:nas01/0 --verbose --format raw --keyfile /etc/pve/priv/storage/NFS_BACKUP_EORIS_35TO.enc
connecting to repository 'root@pam@10.20.30.11:datastore'
open block backend for target 'iscsi://10.20.30.21/iqn.2020-12.sys.eoris.tech:omv:nas01/0'
iSCSI: Failed to connect to LUN : Failed to log in to target. Status: Authorization failure(514)
temporary volume 'ISCSI_NAS_50TO:vm-104-disk-0' sucessfuly removed
TASK ERROR: command '/usr/bin/pbs-restore --repository root@pam@10.20.30.11:datastore vm/10016/2020-12-26T20:08:19Z drive-scsi0.img.fidx iscsi://10.20.30.21/iqn.2020-12.sys.eoris.tech:omv:nas01/0 --verbose --format raw --keyfile /etc/pve/priv/storage/NFS_BACKUP_EORIS_35TO.enc' failed: exit code 255

Zvol was created (and remove after the failed restore) but the LUN mapping (ACL ?) not.
 
Thank you for the anwser !

ACLs has been (temporary) disabled, now luns and ACL mapping are fine but I got another error:
Code:
Using encryption key from file descriptor
Encryption key fingerprint: 'd3:ea:e9:28:ea:05:7d:f1'
Using encryption key from file descriptor
Encryption key fingerprint: 'd3:ea:e9:28:ea:05:7d:f1'
new volume ID is 'ISCSI_NAS_50TO:vm-108-disk-0'
restore proxmox backup image: /usr/bin/pbs-restore --repository root@pam@10.20.30.11:datastore vm/10016/2020-12-25T20:00:01Z drive-scsi0.img.fidx iscsi://10.20.30.21/iqn.2020-12.sys.eoris.tech:omv:nas01/3 --verbose --format raw --keyfile /etc/pve/priv/storage/NFS_BACKUP_EORIS_35TO.enc
connecting to repository 'root@pam@10.20.30.11:datastore'
open block backend for target 'iscsi://10.20.30.21/iqn.2020-12.sys.eoris.tech:omv:nas01/3'
LUN is write protected
temporary volume 'ISCSI_NAS_50TO:vm-108-disk-0' sucessfuly removed
TASK ERROR: command '/usr/bin/pbs-restore --repository root@pam@10.20.30.11:datastore vm/10016/2020-12-25T20:00:01Z drive-scsi0.img.fidx iscsi://10.20.30.21/iqn.2020-12.sys.eoris.tech:omv:nas01/3 --verbose --format raw --keyfile /etc/pve/priv/storage/NFS_BACKUP_EORIS_35TO.enc' failed: exit code 255
 
you'd have to check with your iSCSI target on why that is.. or try restoring to NFS or some other storage, and then move it with "move disk"?
 

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!