IBM Support

Unable to add medium changer to Sun Solaris local zone

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
This will change the value for the current session. To make the system wide change, edit the edit /etc/system file. For example :

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.

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF027","label":"Solaris"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21575500