Problems with Running a File Server (FreeNAS) in a VM – Analysis

truenasvirtualizationzfs

I have a FreeNAS file server that uses ZFS for redundant storage.
I'm considering running this as a virtual machine using VMWare Workstation (I would give the VM access to the physical disks, rather than using virtual disks).

What problems might I come across, and is this a terrible idea?

Best Answer

Performance would be my main concern; even if you're going to give the VM "direct" access to the physical disks, there's still VM-related overhead, and if you've got any decent load you'll have problems earlier in a VM than you would on a physical machine. But benchmark it, it might work OK for your workload.

(For the record, I'd definitely lean towards "bad idea", although I reserve "terrible" for things much, much worse than this).

Related Topic