vfile - displays the contents of a file from an unmounted domain
/sbin/advfs/vfile BMT_page cell special [special 2...]
Specifies the page within the bitfile metadata table (BMT)
of the volume that contains the file's mcell.
Specifies the cell of the BMT page that contains the file's
Specifies the volume on which the file's primary mcell is
Specifies the other volumes in this domain that may be accessed
to follow the file's mcell chain.
The vfile utility outputs the contents of a file from an unmounted domain. The file is identified by the location of its primary mcell. Each mcell location is composed of three parts: volume, page within the BMT file located on that volume, and cell within the BMT page.
The primary mcell for the root tag directory is found in the BMT of the volume containing the log. To find this volume for a domain, use the showfdmn or the advscan command. The volume marked ``L'' contains the log.
Certain metadata files are in fixed locations:
|Bitfile metadata table||0||0||every volume|
|Storage bitmap||0||1||every volume|
|Root tag directory||0||2||volume with log|
|Transaction log file||0||3||volume with log|
You must have root user privileges to access this command.
The following command will extract the contents of the log from the device /dev/rr23h and place it in a new file called log. # vfile 0 3 /dev/rr23h > log