683a3f463fdf190fc3700b233ce1284b3c02fcf5
to guess a valid volname for a targetstorage of a different type. This makes it possible to migrate raw volumes between 'dir' and 'lvm' storages. It is only used when the storage type for the source storage X and target storage Y differ and should work as long as Y uses the standard naming scheme (VMID/vm-VMID-name.fmt respectively vm-VMID-name). If it doesn't, we get an invalid name and fail, which is the old behavior (except if X and Y have different types but the same non-standard naming-scheme, where the old behavior did work). The original name is preserved, except for a possible extension and it's also checked if the format is valid for the target storage. Example: mylvm:vm-123-disk-4 <-> mydir:123/vm-123-disk-4.raw Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Description
with PMEM support!
Languages
Perl
99.3%
Makefile
0.6%