Editing Windows kstat

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 11: Line 11:
  
 
You can also use it to set certain tunables in the kernel, for example:
 
You can also use it to set certain tunables in the kernel, for example:
 
<hr>
 
 
** kstat.exe ** is no longer the recommended way to change tunables. All tunables
 
are now written to the Registry, and are updated dynamically when changed.
 
 
The following information is no longer relevant!
 
 
<hr>
 
 
 
=== Arc Max ===
 
 
'''It is now recommended that you use the [[Windows_Registry|Registry]] to set the ZFS tunables.'''
 
  
 
  To set max ARC size to 512 MiB:
 
  To set max ARC size to 512 MiB:
Line 34: Line 20:
 
(In the future, there will be something to handle this automatically)
 
(In the future, there will be something to handle this automatically)
  
=== HostID ===
+
Setting '''hostid''' (before you import/create any pools)
 
+
The '''HostID''' on Windows is generated from the Software/Microsoft/Cryptography/MachineGuid and
+
generally most users do not need to change it. However, should you want to set the '''HostID''' that
+
ZFS uses, you can do so by running;
+
  
 
   kstat.exe -w zfs:0:tunable:hw_hostid=11223344
 
   kstat.exe -w zfs:0:tunable:hw_hostid=11223344
 
=== ZFSin debug ===
 
 
You can also ask the kernel to save the debug print buffer to disk.
 
 
  kstat.exe -w zfs:0:tunable:vnop_debug=1337
 
 
Will write the buffer to '''C:/Windows/debug/ZFSin.txt''' - if the directory exists.
 
 
See [[Windows_BSOD#Debug_Print_Buffer|Debug]] for more information on the debug buffer.
 

Please note that all contributions to OpenZFS on OS X may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenZFS on OS X:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)