Date: Thu, 19 Feb 2015 07:41:28 -0800 From: Peter Grehan <grehan@freebsd.org> To: Ashutosh Kumar <mrashutosh@hotmail.com> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: AHCI disks have same serial number on Bhyve Message-ID: <54E60428.3090306@freebsd.org> In-Reply-To: <SNT150-W95FCB4B667DCCCB1752396DF2D0@phx.gbl>
index | next in thread | previous in thread | raw e-mail
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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E60428.3090306>
