How to add extra zvol to vm?

alterfritz72

Dabbler
Joined
Dec 6, 2018
Messages
11
Hi,

need some help. How to add one extra disk to a vm in truenas?

what I did:
added a ssd
created a zvol on that ssd
added the zvol to the vm - Ubuntu based -
rebooted vm
fdisk -l shows just one disk, the boot disk

so - my question: how to add an extra plain disk to a vm under truenas?

background: i detect running certain software like nzbget directly on nfs causes performance impacts, so I would prefer running cache / temp disks on ‘local‘ disks.

makes sense?

thanks
joerg
 

alterfritz72

Dabbler
Joined
Dec 6, 2018
Messages
11
Found it. Works, but a simple reboot is not enough, you need to poweroff / poweron the VM, then the disk shows up.
 
Top