[pve-devel] [PATCH-SERIES zsync] fix #1669: allow prepending storage ID

Fabian Ebner f.ebner at proxmox.com
Tue May 4 10:09:54 CEST 2021


which makes it possible to use pve-zsync for guests with disks with the same
name on different storages, i.e.
    storageA:vm-123-disk-0
    storageB:vm-123-disk-0

Currently they would collide to
    target/vm-123-disk-0

When the new prepend-storage-id flag is specified, they will be synced to
    target/storageA/vm-123-disk-0$
    target/storageB/vm-123-disk-0$
instead.


The first four patches are cleanups/usage description fixes.

The next five patches are preparations for the last patch, which is the one
actually implementing the new feature.


Fabian Ebner (10):
  whitespace fix
  copyright: update year
  usage: describe flag parameters correctly
  usage: fix type for maxsnap
  add target_dataset function
  add check_dataset_exists function
  add create_file_system function
  parse disks: don't include colon in storage name variable
  parse disks: also include storage ID information
  fix #1669: add prepend-storage-id flag

 pve-zsync | 118 ++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 89 insertions(+), 29 deletions(-)

-- 
2.20.1





More information about the pve-devel mailing list