11.2-U5 setting kFreeBSD.vfs.zfs.recover=1 and kFreeBSD.vfs.zfs.debug=1?

Garfje

Cadet
Joined
Jul 25, 2019
Messages
5
Hi all,
Can someone tell me if there is an equivalent to setting the two kernel variables (kFreeBSD.vfs.zfs.recover=1 and kFreeBSD.vfs.zfs.debug=1) in the grub loader, in the newer FreeBSD loader?

I have a broken pool which causes a panic when importing. I need to enable debug to try and import the pool readonly at least.

Many thanks,
--Rob.
 

Garfje

Cadet
Joined
Jul 25, 2019
Messages
5
Turns out editing /etc/sysctl.conf then rebooting to single user will achieve the same - just don't forget to disable debugging when you're done!

I now have my pool imported readonly.

--R.
 
Top