The as_devmgr command line can be used for device management operations. The management operation areas include:
- Queries - adapter, group and media information can be obtained.
- Device management - operations such as format and erase are available.
- Changer operation - changer-related operations such as import/export and mount/dismount are available.
Below are some examples of the various uses for the as_devmgr command line:
Getting adapter information
as_devmgr [ -archost ] -adapterinfo
Formatting media
as_devmgr -format <adapter no.> <source scsi ID> <tape name> [<mm/dd/yy[yy]> <serial no.>]
For example: as_devmgr -format 5 1 accounting
Mounting changer slots
as_devmgr -mount <adapter no> <scsi ID> <groupname> <beg. slot> < end slot> [q|l]
For Example: as_devmgr -mount 4 3 saturn 10 20