GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  STATE_ANALYZER (8)

.ds Aq ’

NAME

state_analyzer - Explores and queries the fileserver state database interactively

CONTENTS

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.

Search for    or go to Top of page |  Section 8 |  Main Index


OpenAFS STATE_ANALYZER (8) 2015-10-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.