Hi,
According to pvesm documentation <Name> can be an arbitrary name:
I can't find any documentation on how to set this name. I'd like to use it to differentiate the volumes for easier identification. Anyone know how this can be set?
I've done this:
And then edited <PVEID>.conf
The volume is still visible in the GUI under storage. If I rename to anything without the "subvol-113" prefix it disappears from the GUI.
Is this method the correct way or may I run into some trouble doing this? Thanks!
According to pvesm documentation <Name> can be an arbitrary name:
Code:
File naming conventions
The backend uses the following naming scheme for VM images:
vm-<VMID>-<NAME> // normal VM images
base-<VMID>-<NAME> // template VM image (read-only)
subvol-<VMID>-<NAME> // subvolumes (ZFS filesystem for containers)
<VMID>
This specifies the owner VM.
<NAME>
This can be an arbitrary name (ascii) without white space. The backend uses disk[N] as default, where [N] is replaced by an integer to make the name unique.
I can't find any documentation on how to set this name. I'd like to use it to differentiate the volumes for easier identification. Anyone know how this can be set?
I've done this:
Code:
zfs rename datapool01/docker/subvol-113-disk-0 datapool01/docker/subvol-113-docker-test
The volume is still visible in the GUI under storage. If I rename to anything without the "subvol-113" prefix it disappears from the GUI.
Is this method the correct way or may I run into some trouble doing this? Thanks!