coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday May 27, 2012


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 21 guests online

Newest Member

beyondimagem

Hit Counter
9133560 Visitors

cool Statistics
coolcommands:1330
Categories:83
Total queries:595500
Members:16437





Category Search coolcommands.com
Select Category:


coolcommand

tape library not available (offline) in TSM (Tivoli Storage Manager) in IBM AIX
Description

If your tape library is offline and you use TSM on IBM AIX, try this:

# mtlib -l /dev/lmcp0 -qL
Query operation Error - Library is Offline to Host

Find the process id (pid) of /etc/lmcpd:

# ps -ef |grep lm
root 4672 1 0 17:43:11 - 0:00 /etc/lmcpd
root 14298 12922 0 17:56:37 pts/0 0:00 grep lm

Kill the process:

# kill -9 4672

Run a configuration manager to detect library:

# cfgmgr

Query the library again to see of the problem is fixed:

# mtlib -l /dev/lmcp0 -qL
Example

mtlib -l /dev/lmcp0 -qL

Return to search results

Random coolcommands

coolcommand: IBM AIX server temperature
Example: /usr/lpp/diagnostics/bin/uesensor
[show me the details]
coolcommand: lppmgr - how to clean-up your fix repository of lpps in IBM AIX
Example: lppmgr -d /myimages -u
[show me the details]
coolcommand: one-liner to do a search and replace in a file
Example: find . -name "*.pl" -exec perl -i -p -e "s/old_string/new_string/g" {} \;
[show me the details]
coolcommand: blvset - reset the pad string in the boot logical volume
Example: /usr/lpp/bosinst/blvset -d /dev/hdisk0 -p level
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1152
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris49379
Category AIX46267
Category General UNIX43933
solaris22927
aix22116

Terms of Use
Privacy
Contact


 
coolcommands.com © 2012. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum