zdb only shows freenas-boot pool?

Status
Not open for further replies.

bmh.01

Explorer
Joined
Oct 4, 2013
Messages
70
Wanted to check the ashift on a few zpools and for some reason zdb only outputs information relating the freenas-boot pool, none of the actual data pools are displayed.

I know this used to work so has the zdb utility changed or has freenas and is there any way to get it to report information non boot pools?
 

titan_rw

Guru
Joined
Sep 1, 2012
Messages
586
Since booting off of zfs it seems that zdb uses /boot/zfs/zpool.cache by default.

You need to point it to /data/zfs/zpool.cache for non boot pools:

zdb -U /data/zfs/zpool.cache
 

bmh.01

Explorer
Joined
Oct 4, 2013
Messages
70
Ah excellent, thanks a lot wouldn't have thought to look for a seperate file. Learn something new every day.
 
Status
Not open for further replies.
Top