Air Cleaner User Manual
-s Checks if the tape drive is currently at the beginning of the tape. Return code
of 0 indicates the tape is not rewound; 1 indicates the tape is rewound.
-v Indicates that messages (such as “Rewinding /dev/rmt0 ...”) should be displayed
as operations are performed on each tape drive.
-w
Indicates that the device or devices should be checked for write permission.
For tapes, the write-protect switch is checked and an error is returned if it is
set. For files, an error is returned if the user does not have write permission to
the file or directory.
Examples
1. To read the current block size of tape drive /dev/rmt0, type:
BS=vsbdevice -B rmt0v
2. To rewind and eject all tapes from drives included in the vdev0 virtual device,
showing messages as the drives are rewound, type:
sbdevice -ve vdev0
3. To only check for write permission to the file or directory
/usr/lpp/sysback/images/venus.rootvg.01201244:
sbdevice -w /usr/lpp/sysback/images/local/VG.venus.01201244
4. To rewind device /dev/rmt0 and /dev/rmt1, indicating that the command should
not wait if an error occurs, type:
sbdevice -nr rmt0 rmt1
A-66 IBM Tivoli Storage Manager for System Backup and Recovery: Installation and User’s Guide