Creating zpool on NVMe Disks takes forever

Ronald Klop ronald-lists at klop.ws
Thu Feb 19 11:24:54 UTC 2015


On Thu, 19 Feb 2015 11:29:38 +0100, Michael Fuckner <michael at fuckner.net>  
wrote:

> Hi,
>
> I have two NVMe PCIe Cards in a System running 10.1-p5.
>
> root at s4l:~ # ll /dev/nv*
> crw-r-----  1 root  operator  0x63 Feb 19 08:51 /dev/nvd0
> crw-r-----  1 root  operator  0x67 Feb 19 08:51 /dev/nvd1
> crw-------  1 root  wheel     0x30 Feb 19 08:51 /dev/nvme0
> crw-------  1 root  wheel     0x5c Feb 19 08:51 /dev/nvme0ns1
> crw-------  1 root  wheel     0x31 Feb 19 08:51 /dev/nvme1
> crw-------  1 root  wheel     0x62 Feb 19 08:51 /dev/nvme1ns1
>
> I can partition/format the disks with UFS and access them without  
> issues, but I can't create a zpool. It simply takes forever when I enter  
> the following command:
>
> zpool create tank0 mirror nvd0 nvd1
>
>
> Any idea what to check?
>
> Regards,
>   Michael!

I don't have NVMe and don't know if you use HDDs or SSDs or something else  
even.
So, just a guess:
sysctl vfs.zfs.vdev.trim_on_init

Regards,
Ronald.


More information about the freebsd-fs mailing list