From owner-freebsd-current@FreeBSD.ORG Mon May 14 11:33:47 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 291021065673 for ; Mon, 14 May 2012 11:33:47 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 76A288FC15 for ; Mon, 14 May 2012 11:33:46 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA23627; Mon, 14 May 2012 14:33:43 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4FB0ED96.6010100@FreeBSD.org> Date: Mon, 14 May 2012 14:33:42 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: Bruce Cran References: <4FAF767C.8030500@cran.org.uk> In-Reply-To: <4FAF767C.8030500@cran.org.uk> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current Subject: Re: Default directory used for 'zpool import' broken (/dev/dsk)? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 14 May 2012 11:33:47 -0000 on 13/05/2012 11:53 Bruce Cran said the following: > When running 'zpool import' without -d I get the error: > "cannot open '/dev/dsk': must be an absolute path" > > zpool(8) suggests the default should have been updated for FreeBSD: > "If the -d option is not specified, this command searches for devices in "/dev"" > > Was this broken recently? > Not sure, but maybe /dev/dsk is recorded somewhere in the pool metadata or in zpool.cache. It could have happened with the older version of the code. I think that you could check that with zdb. I think that a fresh import should fix it, though. -- Andriy Gapon