Date: Mon, 14 May 2012 14:33:42 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Bruce Cran <bruce@cran.org.uk> Cc: freebsd-current <freebsd-current@FreeBSD.org> Subject: Re: Default directory used for 'zpool import' broken (/dev/dsk)? Message-ID: <4FB0ED96.6010100@FreeBSD.org> In-Reply-To: <4FAF767C.8030500@cran.org.uk> References: <4FAF767C.8030500@cran.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB0ED96.6010100>