AHCI disks have same serial number on Bhyve
Peter Grehan
grehan at freebsd.org
Thu Feb 19 15:41:36 UTC 2015
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.
later,
Peter.
More information about the freebsd-virtualization
mailing list