Hi Ashutosh,

FreeNAS uses disk serial number as identifier. We found that
on Bhyve all AHCI controllers return common disk serial number i.e. ‘123456’.
See attached screenshot. Due to this FreeNAS is not able to uniquely identify
an AHCI disk when encryption support is enabled. Kindly let us know if an
update to AHCI driver is in work to fix this issue.

Known problem. The fix is to do what the virtio-blk emulation does, which is to use an md5 hash of the backing file/device name, and improve on that with an optional override similar to how MAC addresses are handled.

 It's on the todo list.



freebsd-virtualization@freebsd.org mailing list
To unsubscribe, send any mail to 

Reply via email to