User's Manual

104 Managing media
Checking the status of media
Run fsemedium --list [--detail] to get information on media status for all media configured in
the FSE implementation. As shown in the example that follows, the output is the following:
the medium barcode,
the name of the media pool,
the medium status,
the physical location of the medium,
the number of all medium volumes (data- and system volumes),
the system volume number according to its location on the medium.
If you use the --detail option, fsemedium formats its output in a different way and displays the
following additional media attributes:
the type of slot in which the medium is located (SlotType),
the serial number of the medium (SerialNo),
the medium block size (BlockSize),
the size of the system volume (SysVolSize),
the UUID of the currently used medium volume (CurVol),
the RMDB entry key of the medium (Key).
Example output of the fsemedium --list command
Example output of the fsemedium --list --detail command
fsemedium --list
Barcode Type Pool Status Location Vol SysVolNo
000045 LTO-1 poolLTO open lib:libLTO:3 9 1
000046 LTO-1 poolLTO open lib:libLTO:5 9 1
000116 LTO-1 poolLTO uninitialized lib:libLTO:2 0 0
656701 UNKNOWN uninitialized lib:libLTO:4 0 0
656702 UNKNOWN uninitialized lib:libLTO:1 0 0
dm000001 DISK poolDisk1 open n/a 9 0
dm000002 DISK poolDisk1 open n/a 9 0
dm000003 DISK poolDisk2 full n/a 4 0
dm000004 DISK poolDisk2 open n/a 9 0
dm000005 UNKNOWN uninitialized n/a 0 0
fsemedium --list --detail
Barcode: 000045
Type: LTO-1
Pool: poolLTO
LibName: libLTO
SlotAddr: 3
SlotType: repository
DrvName:
Status: open
Location: lib:libLTO:3
SerialNo: 10000000000000000000000001985072
BlockSize: 32
#Vol: 1