SvennD
zdb cannot open ‘/etc/zfs/zpool.cache’: No such file or directory
January 12, 2017

zdb cannot open ‘/etc/zfs/zpool.cache’: No such file or directory

Posted on January 12, 2017  •  1 minutes  • 64 words  •  Suggest Changes

Uh-oh, trying out zdb and finding this error, doesn’t breath confidence does it ? Here is how you can solve this minor issue :

# zdb
cannot open '/etc/zfs/zpool.cache': No such file or directory

Just set it as a value to the zpool :

zpool set cachefile=/etc/zfs/zpool.cache poolname

getting the pool name can be done using

zpool get all

Thanks to github user, imp!

Support

If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper