lsdrfile

Displays a list of system-metadata disaster-recovery files.

Read syntax diagramSkip visual syntax diagram
>>-lsdrfile--+--------+--+-----------------------------+-------->
             +- -?----+  |        .-default----------. |
             +- -h----+  '- -fmt--+-delim--character-+-'
             '- -help-'           '-xml--------------'

>--+--------------+--+----------------+--+-------------+-------->
   |      .-off-. |  |        .-on--. |  '- -r--number-'
   '- -p--+-on--+-'  '- -hdr--+-off-+-'

>--+--------------+--+-----+--+---------------+----------------><
   |      .-off-. |  +- -l-+  | .-----------. |
   '- -v--+-on--+-'  '- -s-'  | V           | |
                              +---file_name-+-+
                              '- - -----------'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
–fmt
Specifies the format of the output. You can specify one of the following values:
default
Specifies to display output in a tabular format using spaces as the delimiter between the columns. This is the default value. For example:
Name          Date and Time            Size (KB)
================================================
SysMetadata   Jan 3, 2003 4:35:46 PM       10000
delim character
Specifies to display output in a tabular format using the specified character to separate the columns. If you use a shell metacharacter (for example, * or \t) as the delimiting character, enclose the character in single quotation marks (') or double quotation marks ("). A blank space is not a valid character. For example, lsdrfile -fmt delim ',' would display output in the following format:
SysMetadata,Jan 3, 2003 4:35:46 PM,10000 KB
xml
Specifies to display output using XML format, for example:
<IRETURNVALUE>
<INSTANCE CLASSNAME="STC_SystemMDRAid">
<PROPERTY NAME="Name" TYPE="string"><VALUE TYPE="string">SysMetadata
</VALUE></PROPERTY>
<PROPERTY NAME="InstallDate" TYPE="datetime"><VALUE TYPE="datetime">
20030103043546&#46;000000&45;420</VALUE></PROPERTY>
<PROPERTY NAME="Size" TYPE="uint64"><VALUE TYPE="uint64">10000</VALUE>
</PROPERTY>
h</INSTANCE>
</IRETURNVALUE>
–p
Specifies whether to display one page of text at a time or all text at once.
off
Displays all text at one time. This is the default value when the sfscli command is run in single-shot mode.
on
Displays one page of text at time. Pressing any key displays the next page. This is the default value when the sfscli command is run in interactive mode.
–hdr
Specifies whether to display the table header.
on
Displays the table header. This is the default value.
off
Does not display the table header.
–r number
Specifies the number of rows per page to display when the –p parameter is on. The default is 24 rows. You can specify a value from 1 to 100.
–v
Specifies whether to enable verbose mode.
off
Disables verbose mode. This is the default value.
on
Enables verbose mode.
–l
Displays the default information for the system-metadata disaster-recovery files.
–s
Displays only the names of the system-metadata disaster-recovery files.
file_name
Specifies the name of one or more system-metadata disaster-recovery files to display. If not specified, this command displays information for all system-metadata disaster-recovery files.
Specifies that in single-shot command mode you want this command to receive from the input stream (stdin) the names of one or more system-metadata disaster-recovery files to display.

Description

Note: This command operates only against the local engine.
If you do not specify a listing parameter or if you specify the –l listing parameter, this command displays the following default information for each system-metadata disaster-recovery file:
  • Name of the disaster-recovery file.
  • Date and time the disaster-recovery file was created.
  • Size of the disaster-recovery file, in KB.

Example

List all disaster-recovery files The following example displays information for all disaster-recovery files:
sfscli> lsdrfile

Name          Date and Time            Size (KB)
================================================
SysMetadata   Jan 3, 2003 4:35:46 PM       10000

Parent topic: Administrative commands

Related tasks
Listing recovery files

Related reference
builddrscript
mkdrfile
rmdrfile
startmetadatacheck
stopmetadatacheck

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2