table of contents
LSTAPE(8) | System Manager's Manual | LSTAPE(8) |
NAME¶
lstape - list tape devices.SYNOPSIS¶
- lstape
- [-h|--help]
[--scsi-only|--ccw-only] [-v|--version]
[-V|--verbose]
DESCRIPTION¶
The lstape command lists all available tape devices on the current host. For channel attached tape devices this output is the same as the contents of /proc/tapedevices (which is obsolete) but also includes offline devices. By default all tape devices are displayed.OPTIONS¶
- -h or --help
- Print help text.
- -v or --version
- Print the version of the s390-tools package and the
command.
- -V or --verbose
- Adds additional information that does not fit into a single
line of output. This is currently only used for SCSI devices.
- --scsi-only|--ccw-only
- Limit output to eiter SCSI or channel attached tape
devices. The output without SCSI devices is the same as it was with
previous versions of this command.
- -s|--shortid
- Using this option will list only tape devices that are in
channel subsystem 0, with subchannel set 0. All other devices will be
suppressed and the leading "0.0." for bus IDs of the remaining
devices will be removed. Since this is specific to CCW devices this option
has no effect on the output of SCSI tape devices.
- --online|--offline
- Limit output to either online or offline devices. This
filter has no effect on the output of SCSI devices.
- -t|--type <device-type>
- Limit output to given device types (currently only applies
to channel attached tape devices).
- <device-type> =
- Device type of devices that should be displayed (e.g.
3490).
EXAMPLES¶
lstapeList all tape devices that are available
Show all 3490 CCW devices that are
online.
Jul 2007 | s390-tools |