Re: Default directory used for 'zpool import' broken (/dev/dsk)?

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Mon, 14 May 2012 14:33:42 +0300
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
Received on Mon May 14 2012 - 09:33:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC