Default directory used for 'zpool import' broken (/dev/dsk)?
Andriy Gapon
avg at FreeBSD.org
Mon May 14 11:33:47 UTC 2012
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
More information about the freebsd-current
mailing list