From owner-freebsd-fs@FreeBSD.ORG Thu May 3 23:22:55 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9933106564A for ; Thu, 3 May 2012 23:22:55 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nschwmtas05p.mx.bigpond.com (nschwmtas05p.mx.bigpond.com [61.9.189.149]) by mx1.freebsd.org (Postfix) with ESMTP id 435408FC16 for ; Thu, 3 May 2012 23:22:55 +0000 (UTC) Received: from nschwcmgw08p ([61.9.190.168]) by nschwmtas05p.mx.bigpond.com with ESMTP id <20120503232253.PAOI2821.nschwmtas05p.mx.bigpond.com@nschwcmgw08p>; Thu, 3 May 2012 23:22:53 +0000 Received: from johnny.reilly.home ([124.188.162.192]) by nschwcmgw08p with BigPond Outbound id 5bNs1j00H49NTNc01bNsNF; Thu, 03 May 2012 23:22:53 +0000 X-Authority-Analysis: v=2.0 cv=IJWA+3TG c=1 sm=1 a=E3UA96qjU4/DKYBP5EH6OA==:17 a=z1TLwsU0kBEA:10 a=zX61To6fwxcA:10 a=8nJEP1OIZ-IA:10 a=mEHxMtioXnnVHlxQzgwA:9 a=wPNLvfGTeEIA:10 a=E3UA96qjU4/DKYBP5EH6OA==:117 Date: Fri, 4 May 2012 09:22:52 +1000 From: Andrew Reilly To: Gustau =?iso-8859-1?Q?P=E9rez?= i Querol Message-ID: <20120503232252.GC26284@johnny.reilly.home> References: <20120502063927.GA9559@johnny.reilly.home> <4FA0D844.8090105@brockmann-consult.de> <4FA0FE82.4040600@entel.upc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4FA0FE82.4040600@entel.upc.edu> User-Agent: Mutt/1.4.2.3i Cc: freebsd-fs@freebsd.org Subject: Re: gpart labels - why arent't some showing up in /dev/gpt/? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 23:22:55 -0000 On Wed, May 02, 2012 at 11:29:38AM +0200, Gustau Pérez i Querol wrote: > Al 02/05/2012 08:46, En/na Peter Maloney ha escrit: > >I have the same problem. Any time you boot off a CD/DVD and use import > >-f (and then don't export), or I guess use import -f a pool from > >anywhere, it does that. I don't know any non-zfs causes for the problem. > > When doing the import -f, use -d /dev/gpt to force zpool to search > for devices in /dev/gpt. That way the import will be done by gpt name, > instead of by device name. I've just read the manpage on that option again, and I don't think that it would help, even if it was available. I had previously been able to refer to gpt entries as paths from /dev, without it. I.e., zpool create raidz tank gpt/zraid1 gpt/zraid2 ... etc. My problem at the moment is that the /dev/gpt/zraid1 etc entries aren't there at all, and zpool create complains about exactly that problem. It's not a question of using -d /dev/gpt to short-cut the path name. Cheers, -- Andrew