Troubleshooting
Problem
The devadd command is used on Sun Solaris to add a medium changer and the devadd command fails with the following error : TSM medium changer devices have not been configured on this system
Cause
Sun Solaris ulimit nofiles value not high enough
Diagnosing The Problem
Verify that the /opt/tivoli/tsm/devices/bin/lbdev file is missing. For example :
xxxx:root @ /root> /usr/bin/ls /opt/tivoli/tsm/devices/bin/lbdev
/opt/tivoli/tsm/devices/bin/lbdev: No such file or directory
Run the devname command. For example :
xxxx:root @ /root> /opt/tivoli/tsm/devices/bin/devname
/dev/rmt/*op: No such file or directory
ld.so.1: sh: fatal: /lib/libc.so.1: Too many open files
The above message "Too many open files" indicates that the ulimit nofiles is not set high enough.
Resolving The Problem
Issue the ulimit command to view/set the value for maximum number of file descriptors:
( nofiles or open files ). For example :
- To view the nofiles or open files value ( Solaris default value is 256 )
ulimit -a
- To set the nofiles value to 2048
ulimit -n 2048[
- To set the nofiles value to unlimited
ulimit -n unlimited
rlim_fd_max= 65536 // hard limit
rlim_fd_cur= 1024 // soft limit
Once the maximum number of file descriptors value has been increased, run the devname command to create the lbdev device and then run the devadd command again.
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21575500