Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

state_analyzer(8) [debian man page]

STATE_ANALYZER(8)					       AFS Command Reference						 STATE_ANALYZER(8)

NAME
state_analyzer - Explores and queries the fileserver state database interactively SYNOPSIS
state_analyzer [state dump file | -h] DESCRIPTION
The demand-attach file server makes host / callback information persistent. On shutdown, the state is saved to database fsstate.dat(5). On startup, the state is read, verified and restored. This allows for file server shutdowns or restarts without breaking all callbacks (an operation that could otherwise take a long time). state_analyzer interactively explores and queries the saved state database, fsstate.dat(5). This command is only supported on the demand-attach file server. It operates at an extremely low-level and hence requires detailed knowledge of the OpenAFS architecture and code. COMMANDS
state_analyzer supports the following interactive commands: h <...> -- host menu o hdr -- display the host_state_header struct o first -- display the first host o prev -- display the previous host o this -- display this host o next -- display the next host o last -- display the last host o dump -- display all hosts fe <...> -- FileEntry menu o hdr -- display the callback_state_header struct o first -- display the first FE o prev -- display the previous FE o this -- display this FE o next -- display the next FE o last -- display the last FE o dump -- display all FEs o timeout -- display the timeout queue heads o hash -- display the file entry hash buckets o find by index id -- find an fe by its array index o find by fid (vol,vnode,unique) -- find an fe by its AFSFid cb <...> -- CallBack menu o hdr -- display the callback_state_entry_header struct o first -- display the first CB o prev -- display the previous CB o this -- display this CB o next -- display the next CB o last -- display the last CB o dump -- display all CBs hexdump [offset [len]] -- hex dump raw data quit -- quit current menu exit -- exit debugger help -- help message PRIVILEGE REQUIRED
The issuer must have read access to the file server state database, fsstate.dat. Usually, this means that the issuer must be the local superuser "root" on the file server machine. SEE ALSO
fsstate.dat(5), fssync-debug(8), salvsync-debug(8) COPYRIGHT
Copyright 2010 Davor Ocelic <docelic@spinlocksolutions.com> This documentation is covered by the IBM Public License Version 1.0. This man page was written by Davor Ocelic for OpenAFS, based on documentation from Tom Keiser, Steven Jenkins and others. OpenAFS 2012-03-26 STATE_ANALYZER(8)

Check Out this Related Man Page

FSSYNC-DEBUG_CALLBACK(8)				       AFS Command Reference					  FSSYNC-DEBUG_CALLBACK(8)

NAME
fssync-debug_callback - Breaks callbacks for a volume (FSYNC_VOL_BREAKCBKS opcode) SYNOPSIS
fssync-debug callback -volumeid <volume ID> [-partition <exact partition name>] [-reason <sync protocol reason code>] [-programtype <program type code>] [-help] fssync-debug ca -v <volume ID> [-pa <exact partition name>] [-r <sync protocol reason code>] [-pr <program type code>] [-h] fssync-debug cbk -v <volume ID> [-pa <exact partition name>] [-r <sync protocol reason code>] [-pr <program type code>] [-h] DESCRIPTION
The fssync-debug callback command breaks callbacks for a volume. OPTIONS
-volumeid <volume ID> Specifies the numeric volume ID. Volume names are not permitted. -partition <exact partition name> Specifies the exact partition name (e.g. /vicepa). Abbreviations are not permitted. -reason <sync protocol reason code> Specifies numeric sync protocol reason code. Available codes are listed in OpenAFS source file src/vol/fssync_inline.h. For SYNC_REASON_NONE, use -reason 0. -programtype <program type code> Specifies program type code. Permitted values are fileServer, volumeUtility, salvager, salvageServer, volumeServer and volumeSalvager. PRIVILEGE REQUIRED
The issuer must have write access to the file server. Usually, this means that the issuer must be the local superuser "root" on the file server machine. SEE ALSO
fssync-debug_attach(8), fssync-debug_detach(8), fssync-debug_online(8), fssync-debug_offline(8), fssync-debug_leaveoff(8), fssync-debug_error(8) COPYRIGHT
Copyright 2010 Davor Ocelic <docelic@spinlocksolutions.com> This documentation is covered by the IBM Public License Version 1.0. This man page was written by Davor Ocelic for OpenAFS, based on documentation from Steven Jenkins, Tom Keiser and Simon Wilkinson. OpenAFS 2012-03-26 FSSYNC-DEBUG_CALLBACK(8)
Man Page