TSM Server Redefine Tape Library & Drives: Difference between revisions
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
== Further Reading == | == Further Reading == | ||
# [http:// | # [http://www-01.ibm.com/support/knowledgecenter/SSGSG7/welcome?lang=en IBM Tivoli Knowledge Center] | ||
# [http://www-01.ibm.com/support/docview.wss?uid=swg21376419 IBM Redefining TSM Library and Drives for UNIX OS] | # [http://www-01.ibm.com/support/docview.wss?uid=swg21376419 IBM Redefining TSM Library and Drives for UNIX OS] | ||
[[Category: Software]] | [[Category: Software]] | ||
[[Category: Tivoli]] | [[Category: Tivoli]] |
Latest revision as of 14:02, 15 August 2014
Redefining Tape Library in AIX
- Run the following commands and save the output.
- tsm> QUERY STATUS (get SERVERNAME value for "<tsm_server_name>")
- tsm> QUERY DEVCLASS
- tsm> QUERY LIBRARY FORMAT=DETAIL
- tsm> QUERY DRIVE FORMAT=DETAIL
- tsm> QUERY PATH FORMAT=DETAIL
- Run the following commands and save the output:
- # lsdev -Cc tape
- # lsdev -Cc adsmtape
- # lsdev -Cc library
- Remove the drive paths:
- tsm> DELETE PATH <tsm_server_name> <drive_name> SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=<library_name>
- Delete the drive definition:
- tsm> DELETE DRIVE <library_name> <drive_name>
- Delete the tape library path:
- tsm> DELETE PATH <tsm_server_name> <library_name> SRCTYPE=SERVER DESTTYPE=LIBR
- Delete the library definition:
- tsm> DELETE LIBRARY <library_name>
- Delete the OS devices:
- Delete the individual drives:
- # rmdev -Rdl <rmt#> (from step 2.1)
- Delete the library:
- # rmdev -Rdl <smc#> (from step 2.3)
- Delete the individual drives:
- Redefine the OS devices:
- # cfgmgr -v
- Redefine the library definition:
- tsm> DEFINE LIBRARY <library_name> LIBTYPE=<library_type> SERIAL=AUTODETECT
- Redefine the library path:
- tsm> DEFINE PATH <tsm_server_name> <library_name> SRCTYPE=SERVER DESTTYPE=LIBRARY DEVICE=</dev/smc#>
- Redefine the drive definitions:
- tsm> DEFINE DRIVE <library_name> <drive_name> SERIAL=AUTODETECT ELEMENT=AUTODETECT
- Redefine the drive paths:
- tsm> DEFINE PATH <tsm_server_name> <drive_name> SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=<library_name> DEVICE=</dev/rmt#>
- Verify the library and paths are online:
- tsm> QUERY LIBRARY <library_name> FORMAT=DETAIL
- tsm> QUERY DRIVE <library_name> * FORMAT=DETAIL
- tsm> QUERY PATH * * FORMAT=DETAIL
- Recreate the volume inventory:
- CHECKIN LIBVOL <library_name> SEARCH=Y STATUS=SCR CHECKL=BARC
- CHECKIN LIBVOL <library_name> SEARCH=Y STATUS=PRI CHECKL=BARC