lsmf

Purpose

Use the lsmf command to display information about media families.

See Also:

"Media Family Commands" for related commands

Prerequisites

You must have the display administrative domain's configuration right to use the lsmf command.

Syntax

lsmf::=

lsmf [ --long/-l | --short/-s ] [ media-family-name ]...

Semantics

--long/-l

Displays data in long form. This option displays all media family attributes and labels them. By default the lsmf command displays the name and type of each media family.

--short/-s

Displays data in short form. This option displays only media family names.

media-family-name ...

Specifies the name of the media family that you want to list. If you do not specify a media-family-name, then obtool displays all media families.

Output

Table 2-12 shows the output for the lsmf command.

Table 2-12 lsmf Output

Label Indicates

Write window

Indicates the length of time during which writing to a volume set is permitted

Keep volume set

Amount of time (added to the length of time for the Write Window) before Volume Set expires; default equals never

Appendable

Indicates the volume is appendable; setting is yes or no

Volume ID used

Volume identifier; setting is either system default, unique to this media family, same as for media fam < >, or from file < >

Comment

Optional user-supplied description of this media family


Example

Example 2-66 displays media family data in long format.

Example 2-66 Listing Media Family Information

ob> lsmf --long
RMAN-DEFAULT:
    Keep volume set:        content manages reuse
    Appendable:             yes
    Volume ID used:         unique to this media family
    Comment:                Default media family for RMAN backup jobs
content-man-family:
    Write window:           forever
    Keep volume set:        content manages reuse
    Appendable:             yes
    Volume ID used:         unique to this media family
full_bkup:
    Write window:           10 days
    Keep volume set:        28 days
    Appendable:             yes
    Volume ID used:         unique to this media family
time-man-family:
    Write window:           7 days
    Keep volume set:        28 days
    Appendable:             yes
    Volume ID used:         unique to this media family