I have 3 pools and all zdb queries for these pools or child datasets return with an error message. All 3 pools are healthy and functioning correctly.
# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ASHIFT
bsds 48.8G 16.0G 32.8G 32% 1.29x ONLINE 12
mylib 266G 740M 265G 0% 1.00x ONLINE 9
tank0 49.8G 19.1G 30.7G 38% 1.00x ONLINE 12
'# zdb -C' works, but that command without any poolname reads data from zpool.cache. Pool or on child dataset-specific queries (while using any of -b -d -D -C -i -h ) give this:
# zdb -vvv -h bsds
zdb: can't open 'bsds': Device not configured
zdb: can't open 'bsds/usr': Device not configured
zdb: can't open 'mylib': Invalid argument
zdb: can't open 'tank0': Invalid argument
I also have a faulted zpool in the list:
bsdr - - - - - FAULTED -
But I do not think that this faulted status will cause such zdb problems.