NVMe ZFS mount
Grzegorz Junka
list1 at gjunka.com
Wed Jan 10 07:04:20 UTC 2018
On 08/01/2018 22:58, Ben Woods wrote:
> On Tue, 9 Jan 2018 at 6:47 am, Grzegorz Junka <list1 at gjunka.com
> <mailto:list1 at gjunka.com>> wrote:
>
> Hi,
>
> I've two zfs mirrors, one on two SATA drives and one on two NVMe
> drives.
> SATA are used to boot the system. I observed that after booting the
> system zfs datasets on NVMe drives aren't mounted. The pool is
> imported
> and I can list the datasets but command mount doesn't show any mounts
> apart from the system (SATA) drives.
>
> Do ZFS datasets on NVMe need any special treatment to be mounted
> by the
> system automatically, e.g. an entry in /etc/fstab?
>
> Thanks
>
> GrzegorzJ
>
>
> I don’t believe NVMe needs any special treatment, but I haven’t used
> it. What about the boot order... when you watch it boot, do the NVMe
> devices show up before the /etc/rc.d/zfs script is run?
>
> Check the “canmount” parameter of each of your datasets.
> zfs get -r canmount,mountpoint,mounted nvmepool
>
NVMe devices are enumerated at about the same time as other devices,
even slightly before SATA drivers. And much earlier than ZFS tries to
mount the root directory. It may not be the same as /etc/rc.d/zfs
script. Would this script leave any trace in dmesg?
I will check the zfs command you gave when I have access to the system
and report back.
Thanks
GregJ
More information about the freebsd-questions
mailing list