Courtesy of Roger Smith, Mississippi State University.

 

The library definition in the mcf file points to a library definitions file rather than to a logical device name. In this example the library definitions file is /etc/opt/SUNWsamfs/SL8500_params.  The library type and all other entries are the same as they would be for an attached library

 

/etc/opt/SUNWsamfs/SL8500_params 1000    sk  SL8500          on     /var/opt/SUNWsamfs/catalog/SL8500

/dev/rmt/0cbn      1001    li   SL8500          on

/dev/rmt/1cbn      1002    li   SL8500          on

/dev/rmt/2cbn      1003    li   SL8500          on

/dev/rmt/3cbn      1004    li   SL8500          on

/dev/rmt/4cbn      1005    li   SL8500          on

/dev/rmt/5cbn      1006    li   SL8500          on

/dev/rmt/6cbn      1007    li   SL8500          on

/dev/rmt/7cbn      1008    li   SL8500          on

 

 

The entries in the library definitions file defines the library for SAM:

 

/etc/opt/SUNWsamfs/SL8500_params

# Tape library definitions file for SAM-FS

#

hostname=acsls.erc.msstate.edu

ssihost=moab-priv.erc.msstate.edu

portnum=50004

ssi_inet_portnum=0

csi_hostport=0

capid=(acs=0, lsm=1, cap=0)

/dev/rmt/0cbn = (acs=0,lsm=2,panel=1,drive=2)

/dev/rmt/1cbn = (acs=0,lsm=1,panel=1,drive=2)

/dev/rmt/2cbn = (acs=0,lsm=3,panel=1,drive=2)

/dev/rmt/3cbn = (acs=0,lsm=0,panel=1,drive=2)

/dev/rmt/4cbn = (acs=0,lsm=0,panel=1,drive=3)

/dev/rmt/5cbn = (acs=0,lsm=2,panel=1,drive=3)

/dev/rmt/6cbn = (acs=0,lsm=3,panel=1,drive=3)

/dev/rmt/7cbn = (acs=0,lsm=1,panel=1,drive=3)

 

Make sure that the device names and the ACSLS locations for tape drives match up. If  you get the order wrong here, havoc will  ensue. Run the command ls -l on each device  and match the WWN to the ACSLS position using the library front  panel.

 

 

 

 

Hosted by www.Geocities.ws

1