Re: nvd -> nda change (breaks geli)?
- Reply: Bjoern A. Zeeb: "Re: nvd -> nda change (breaks geli)?"
- In reply to: Bjoern A. Zeeb: "nvd -> nda change (breaks geli)?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 16:54:44 UTC
On Mon, Jun 26, 2023 at 10:01 AM Bjoern A. Zeeb <
bzeeb-lists@lists.zabbadoz.net> wrote:
> Hi,
>
> some laptops had only /dev/nvd* nodes in the past.
> These now show up as /dev/nda*.
> Not sure when the symlinks are created for compat.
>
> I had to help rescue someone's geli setup manually as there were
> no keys loaded for nda but only for nvd. At least loading the key
> again for nda made things work. A bit painful remotely ...
>
> Should this at least be in UPDATING?
>
Well, we have this already:
20230612:
Belatedly switch the default nvme block device on x86 from nvd to
nda.
nda created nvd compatibility links by default, so this should be a
nop. If this causes problems for your application, set
hw.nvme.use_nvd=1
in your loader.conf or add `options NVME_USE_NVD=1` to your kernel
config. To disable the nvd compatibility aliases, add
kern.cam.nda.nvd_compat=0 to loader.conf. The default has been nda
on
all non-x86 platforms for some time now. If you need to fall back,
please email imp@freebsd.org about why.
Can you send me more details about what failed? It should be a no-op, but I
am
aware of one issue with libgeom that I need to fix.
Warner