Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 12:08:00 +0100
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        freebsd-fs@freebsd.org
Subject:   Re: Creating zpool on NVMe Disks takes forever
Message-ID:  <op.xuaw7md6kndu52@ronaldradial.radialsg.local>
In-Reply-To: <54E5BB12.3060707@fuckner.net>
References:  <54E5BB12.3060707@fuckner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Feb 2015 11:29:38 +0100, Michael Fuckner <michael@fuckner.net>  
wrote:

> Hi,
>
> I have two NVMe PCIe Cards in a System running 10.1-p5.
>
> root@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.xuaw7md6kndu52>