From owner-freebsd-current@freebsd.org Sat Oct 5 15:36:41 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA139135F3F for ; Sat, 5 Oct 2019 15:36:41 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46lrSm0Y8fz3LY0 for ; Sat, 5 Oct 2019 15:36:39 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x95Fb65n061563 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 5 Oct 2019 17:37:07 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1570289827; bh=D3iQkLhMZv6Eg1J4pTn3Y3RHEiL4mMFdFX7l9/0OFFg=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=QGlZGpU7p1xVH6GvaDoZPPmT4gQ+vi+RUDk4nJ82vT+KFoKJe46XrTKsoYf6b7CEP KzOSMJ+2wFJag4ZX0/PcOi7JTiJni6X3Jnw1n+gfiVrjxHsTlILbY4/K1vrb6WcgJR OLWPDNokxdOEbMA0sh1MQ9TfTbOOK2CCX0iNOk0g= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x95FaPwa061361 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 Oct 2019 17:36:25 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x95FaOxC077771; Sat, 5 Oct 2019 17:36:24 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x95FaHsu077770; Sat, 5 Oct 2019 17:36:17 +0200 (CEST) (envelope-from ticso) Date: Sat, 5 Oct 2019 17:36:17 +0200 From: Bernd Walter To: Tomoaki AOKI Cc: freebsd-current@freebsd.org Subject: Re: nvdXpY dissapears while ZFS pool on it is imported Message-ID: <20191005153617.GA77063@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20191005145021.b38284e6f31f57607b4e5792@dec.sakura.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191005145021.b38284e6f31f57607b4e5792@dec.sakura.ne.jp> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 46lrSm0Y8fz3LY0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=QGlZGpU7; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.78 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-0.98)[-0.976,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Oct 2019 15:36:41 -0000 On Sat, Oct 05, 2019 at 02:50:21PM +0900, Tomoaki AOKI wrote: > Hi. > > By sets of commits starting from r351355 though r351747, nvd driver > creates partitioned GEOM provider like /dev/nvd0p1. > > Unfortunately, these partitioned GEOM providers dissapears when > importing ZFS pool on it leaving /dev/nvd0, and re-appears when > exporting the pool. > > Mounting filesystems other than ZFS (at least msdosfs) doesn't > affect. It is not ZFS itself, it is the use of /dev/diskid/*, which ZFS prefers to open. Either explicitly import the volume with /dev/nvd* or use the other partitions with /dev/diskid/* What really sucks is that volume labels also disappear - e.g. /dev/msdosfs. > > > Details: > > I recently got ThinkPad P52 having one NVMe SSD and one 2.5 inch > SATA SSD. > NVMe SSD has stable/12 and SATA SSD has head on it. > Both are partitioned and installed on old ThinkPad T420, using > UltraBay slim adapter for SATA, and USB converter for NVMe, > without using installer and placed into P52, removing Windoze HDD. > Both are ROOT-on-ZFS. > Swap on NVMe SSD is specified using diskid in fstab. > > At first, I didn't noticed the problem as head with before-mentioned > commits gracefully creates nvd0p*. > But I noticed stable/12 having before-mentioned commits MFC'ed > (r351903 through r351914) creates only nvd0 just as before. > > Importing pool on SATA SSD from stable/12 on NVMe does NOT affect. > > I tried importing on NVMe SSD from head on SATA, and noticed > nvd0p* disappears leaving nvd0, and re-appears on export. > > Any solutions? > > Regards. > > -- > Tomoaki AOKI > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.