[PVE-User] 'asymmetrix storage' and migration...
Marco Gaiarin
gaio at sv.lnf.it
Thu Jul 15 14:48:56 CEST 2021
I'm a bit puzzled.
A little 'ZFS' cluster, with two asymmetrical nodes; second node is
there only, just in case, to run some little VMs (PBX, firewall, ...).
First node have a second RAIDZ volume called 'rpool-data', that does
not exist on second node; eg, storage.conf is:
dir: local
path /var/lib/vz
content iso,vztmpl,backup
zfspool: local-zfs
pool rpool/data
content images,rootdir
sparse 1
zfspool: rpool-data
pool rpool-data
content images,rootdir
mountpoint /rpool-data
sparse 1
Clearly on node 2 'rpool-data' have a question mark.
I've tried to migrate a VMs from node 2 to 1 that have disks only on 'local-zfs':
root at brpve1:~# grep ^scsi /etc/pve/nodes/brpve2/qemu-server/100.conf
scsi0: local-zfs:vm-100-disk-0,size=100G
scsi1: local-zfs:vm-100-disk-1,backup=0,size=1000G
scsi2: local-zfs:vm-100-disk-2,backup=0,size=500G
scsihw: virtio-scsi-pci
but i get:
2021-07-15 14:14:54 starting migration of VM 100 to node 'brpve1' (10.15.5.21)
zfs error: cannot open 'rpool-data': no such pool
zfs error: cannot open 'rpool-data': no such pool
2021-07-15 14:14:54 ERROR: Problem found while scanning volumes - could not activate storage 'rpool-data', zfs error: cannot import 'rpool-data': no such pool available
2021-07-15 14:14:54 aborting phase 1 - cleanup resources
2021-07-15 14:14:54 ERROR: migration aborted (duration 00:00:00): Problem found while scanning volumes - could not activate storage 'rpool-data', zfs error: cannot import 'rpool-data': no such pool available
TASK ERROR: migration aborted
Because in 'rpool-data' currently we have no data, i've simply disabled
storage 'rpool-data', migrate the machine and then re-enabled back.
Why migration does not work, even if there's no disks in 'rpool-data'?
Thre's some way to 'fake' an 'rpool-data' on the second node, only to
have PVE not to complain?
Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the pve-user
mailing list