From owner-freebsd-fs@FreeBSD.ORG Thu Feb 19 11:24:54 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D025536 for ; Thu, 19 Feb 2015 11:24:54 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D21FB6AA for ; Thu, 19 Feb 2015 11:24:53 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1YOOxh-0005K0-Oz for freebsd-fs@freebsd.org; Thu, 19 Feb 2015 12:08:11 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-fs@freebsd.org Subject: Re: Creating zpool on NVMe Disks takes forever References: <54E5BB12.3060707@fuckner.net> Date: Thu, 19 Feb 2015 12:08:00 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <54E5BB12.3060707@fuckner.net> User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: - X-Spam-Score: -1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, BAYES_40 autolearn=disabled version=3.3.2 X-Scan-Signature: 258bd43c1b7c380ff6f1b27dffaa1ebc X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 11:24:54 -0000 On Thu, 19 Feb 2015 11:29:38 +0100, Michael Fuckner 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.