I have created a zfspool storage on one of my nodes:
Within this storage, I have created a second disk on vm 114 (scsi1 in the config below):
I intend to create several additional disks on this VM, so I would like to name it something more informative than "vm-114-disk-0". Would it break anything if I renamed the disk, in both zfs (on the host) and in the VM's config file?
This seems to work, and I see the 64GiB block device in the VM:
My worry though is that this might break some automated process on Proxmox part, such as backups or replication. Anything that might rely on the disk's name following Proxmox' naming conventions.
Code:
# From /etc/pve/storage.cfg:
zfspool: zfs-data-vols-thick
pool tank/proxmox/data-vols-thick
content images
mountpoint /tank/proxmox/data-vols-thick
sparse 0
Within this storage, I have created a second disk on vm 114 (scsi1 in the config below):
Code:
# From /etc/pve/qemu-server/114.conf:
scsi0: zfs-vm-disks:vm-114-disk-0,size=256G
scsi1: zfs-data-vols-thick:vm-114-disk-0,size=64G
I intend to create several additional disks on this VM, so I would like to name it something more informative than "vm-114-disk-0". Would it break anything if I renamed the disk, in both zfs (on the host) and in the VM's config file?
Code:
$ zfs rename tank/proxmox/data-vols-thick/vm-114-disk-0 tank/proxmox/data-vols-thick/vm-114-disk-0-foo-bar-baz
Code:
# From /etc/pve/qemu-server/114.conf:
scsi0: zfs-vm-disks:vm-114-disk-0,size=256G
scsi1: zfs-data-vols-thick:vm-114-disk-0-foo-bar-baz,size=64G
This seems to work, and I see the 64GiB block device in the VM:
Code:
root@host:/home/tim# fdisk -l
...
Disk /dev/sdb: 64 GiB, 68719476736 bytes, 134217728 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
My worry though is that this might break some automated process on Proxmox part, such as backups or replication. Anything that might rely on the disk's name following Proxmox' naming conventions.