Add ability to use RAW disk with guest VMs
Disk device: allow choosing zvol or file. File lets the user use an USB stick image.
#5 Updated by Marcelo Araujo over 3 years ago
Nick Wolff wrote:
How is this supposed to function? Is the raw file option for a raw device(hard drive) it shows the /mnt hierarchy not /dev.
Hi, the RAW file needs to be created:
1) ssh into your FreeNAS.
2) truncate -s <SIZE> <NAME>.img
3) Go to UI and choose the img file.
Now that we have container, I have a method that can create the img file without users need to ssh and truncate manually. However I didn't have enough time to make the changes necessary to have it. Now, unfortunately, it is manually :)