* [PVE-User] Migrating VMs from PVE 5 to PVE 6, no ZFS
@ 2021-07-19 10:06 Marco Gaiarin
2021-07-19 10:22 ` Marco Gaiarin
0 siblings, 1 reply; 4+ messages in thread
From: Marco Gaiarin @ 2021-07-19 10:06 UTC (permalink / raw)
To: pve-user
I need to migrate some VMs from a PVE (5.4, lvmthin) to another PVE
(6.4, ZFS).
Apart upgrading the 5.4, join to the cluster, move the VMs, there's
some 'nonstandard'/quickier way to migrate?
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
* Re: [PVE-User] Migrating VMs from PVE 5 to PVE 6, no ZFS
2021-07-19 10:06 [PVE-User] Migrating VMs from PVE 5 to PVE 6, no ZFS Marco Gaiarin
@ 2021-07-19 10:22 ` Marco Gaiarin
[not found] ` <mailman.537.1626690632.464.pve-user@lists.proxmox.com>
0 siblings, 1 reply; 4+ messages in thread
From: Marco Gaiarin @ 2021-07-19 10:22 UTC (permalink / raw)
To: pve-user
> Apart upgrading the 5.4, join to the cluster, move the VMs, there's
> some 'nonstandard'/quickier way to migrate?
Sorry, forgot to write a slice of email...
I'm thinking about building up a NFS server in one of the (new) server,
share as storage type NFS to all the clients (old and new), move disks
in old server to NFS share, then shut off the VMs, move my hand config
file to new server, start it, and then move again disks to real
storage.
Some less-expensive way?! 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
* Re: [PVE-User] Migrating VMs from PVE 5 to PVE 6, no ZFS
[not found] ` <mailman.537.1626690632.464.pve-user@lists.proxmox.com>
@ 2021-07-19 10:39 ` Marco Gaiarin
[not found] ` <mailman.58.1627305138.329.pve-user@lists.proxmox.com>
0 siblings, 1 reply; 4+ messages in thread
From: Marco Gaiarin @ 2021-07-19 10:39 UTC (permalink / raw)
To: pve-user
Mandi! Arjen via pve-user
In chel di` si favelave...
> Why not backup the VMs, copy the backups (or used shared storage), restore from backup on new host?
> ZSTD will reduce the temporary space and network transfer sizes.
Sure this will be the simpler way.
But i need to minimize downtime, so using a 'common shared storage'
permit me to move disks with VM runing... at the cost of doing the
migration three times.
--
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
* Re: [PVE-User] Migrating VMs from PVE 5 to PVE 6, no ZFS
[not found] ` <mailman.58.1627305138.329.pve-user@lists.proxmox.com>
@ 2021-07-26 13:49 ` Marco Gaiarin
0 siblings, 0 replies; 4+ messages in thread
From: Marco Gaiarin @ 2021-07-26 13:49 UTC (permalink / raw)
To: pve-user
Mandi! Eneko Lacunza via pve-user
In chel di` si favelave...
> Sure, you can use an intermediate NFS server for storage.
> 1. Migrate VM disk(s) to NFS
> 2. Shutdown VM + copy VM.conf to new node (make sure you give the same nave
> to the NFS storage in old and new PVEs)
> 3. Start VM + migrate to ZFS
I've just done that, and works as expected. Downtime: few minutes,
to move the XXX.conf file.
Plus, as a bonus:
a) volumes get created on NFS as QCOW file, so you need the thin space
available on NFS server, not the thick one.
b) because volumes are files, if you also need to rename the VM, you
can rename the volumes easily.
--
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-26 13:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 10:06 [PVE-User] Migrating VMs from PVE 5 to PVE 6, no ZFS Marco Gaiarin
2021-07-19 10:22 ` Marco Gaiarin
[not found] ` <mailman.537.1626690632.464.pve-user@lists.proxmox.com>
2021-07-19 10:39 ` Marco Gaiarin
[not found] ` <mailman.58.1627305138.329.pve-user@lists.proxmox.com>
2021-07-26 13:49 ` Marco Gaiarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox