Difference between revisions of "Windows cbuf"

From OpenZFS on OS X
Jump to: navigation, search
(Saving the debug print buffer)
(Saving the debug print buffer)
 
Line 7: Line 7:
 
  \HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OpenZFS
 
  \HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OpenZFS
  
Here there is now a entry called '''zfs_cbuf_save'''.
+
Here there is now a entry called  
 +
zfs_cbuf_save
  
 
Modify it by writing a "1" (one) to it, which will trigger a save.
 
Modify it by writing a "1" (one) to it, which will trigger a save.

Latest revision as of 06:07, 6 September 2024

Saving the debug print buffer[edit]

Starting from version zfswin-2.2.6rc2 the cbuf can be more easily saved from a running system, to assist with debugging.

Open up regedit.exe, and navigate to:

\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OpenZFS

Here there is now a entry called

zfs_cbuf_save

Modify it by writing a "1" (one) to it, which will trigger a save. Use F5 to refresh Regedit in case there is an error message.

The file will be written to:

C:\Program Files\OpenZFS On Windows\cbuf.txt

If the installer was used, this directory should already exist. Otherwise, create it by hand.