I have setup a ZFS local storage on latest ProxmoxVE 4.2 with the following options:
I would like to change default ZFS volume name to pve-CTID instead of subvol-CTID-disk-1 and mountpoint to /var/lib/vz/private/CTID instead of /rpool/ROOT/subvol-CTID-disk-1, resulting in:
Can this be done in some global configuration? Where is the naming scheme defined?
- ID: zfs-containers
- ZFS Pool: rpool/ROOT
- Content: Container
Code:
$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 13.0G 436G 144K /rpool
rpool/ROOT 5.41G 436G 112K /rpool/ROOT
rpool/ROOT/pve-1 2.76G 436G 2.76G /
rpool/ROOT/subvol-184-disk-1 482M 19.5G 482M /rpool/ROOT/subvol-184-disk-1
rpool/swap 7.44G 444G 180K -
I would like to change default ZFS volume name to pve-CTID instead of subvol-CTID-disk-1 and mountpoint to /var/lib/vz/private/CTID instead of /rpool/ROOT/subvol-CTID-disk-1, resulting in:
Code:
rpool/ROOT/pve-184 482M 19.5G 482M /var/lib/vz/private/184
Can this be done in some global configuration? Where is the naming scheme defined?