public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] 'asymmetrix storage' and migration...
@ 2021-07-15 12:48 Marco Gaiarin
  2021-07-15 12:55 ` Aaron Lauterer
  2021-07-15 12:56 ` Fabian Grünbichler
  0 siblings, 2 replies; 4+ messages in thread
From: Marco Gaiarin @ 2021-07-15 12:48 UTC (permalink / raw)
  To: pve-user


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@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)



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-15 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15 12:48 [PVE-User] 'asymmetrix storage' and migration Marco Gaiarin
2021-07-15 12:55 ` Aaron Lauterer
2021-07-15 12:56 ` Fabian Grünbichler
2021-07-15 13:23   ` Marco Gaiarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal