public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Renumber a VM with a ZFS storage...
@ 2021-10-08 14:36 Marco Gaiarin
  2021-10-08 15:13 ` Uwe Sauter
       [not found] ` <mailman.170.1633753323.380.pve-user@lists.proxmox.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Marco Gaiarin @ 2021-10-08 14:36 UTC (permalink / raw)
  To: pve-user


OK, to renumber a VM i can backup it and restore with a different ID, but
suppose that the VM in subject is a 'big' one, with many data (mny GB or
TB).

With a 'file-based' storage (filesystem, NFS) i can simply rename the .conf
and the volume files (both in .conf and in filesystem), but... if the storage
is a ZFS one, how can i rename the volume files?


Thanks.

-- 
  Dai diamanti non nasce niente
  dal letame nascono i fior				(F. De Andre`)





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

* Re: [PVE-User] Renumber a VM with a ZFS storage...
  2021-10-08 14:36 [PVE-User] Renumber a VM with a ZFS storage Marco Gaiarin
@ 2021-10-08 15:13 ` Uwe Sauter
       [not found] ` <mailman.170.1633753323.380.pve-user@lists.proxmox.com>
  1 sibling, 0 replies; 3+ messages in thread
From: Uwe Sauter @ 2021-10-08 15:13 UTC (permalink / raw)
  To: pve-user

Am 08.10.21 um 16:36 schrieb Marco Gaiarin:
> 
> OK, to renumber a VM i can backup it and restore with a different ID, but
> suppose that the VM in subject is a 'big' one, with many data (mny GB or
> TB).
> 
> With a 'file-based' storage (filesystem, NFS) i can simply rename the .conf
> and the volume files (both in .conf and in filesystem), but... if the storage
> is a ZFS one, how can i rename the volume files?
> 
> 

Given you understood the naming scheme I'd advise you to read the manpage for "zfs rename".

Regrads,

	Uwe



> Thanks.
> 




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

* Re: [PVE-User] Renumber a VM with a ZFS storage...
       [not found] ` <mailman.170.1633753323.380.pve-user@lists.proxmox.com>
@ 2021-10-12 15:46   ` Marco Gaiarin
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Gaiarin @ 2021-10-12 15:46 UTC (permalink / raw)
  To: Musee Ullah via pve-user; +Cc: pve-user

Mandi! Musee Ullah via pve-user
  In chel di` si favelave...

> I believe you can just run something like:

Ah, i've totally missed that. Sorry!


And thanks.

-- 
  A CRAY is the only computer that runs an endless loop in just 4 hours.





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

end of thread, other threads:[~2021-10-12 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08 14:36 [PVE-User] Renumber a VM with a ZFS storage Marco Gaiarin
2021-10-08 15:13 ` Uwe Sauter
     [not found] ` <mailman.170.1633753323.380.pve-user@lists.proxmox.com>
2021-10-12 15:46   ` 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