Unable to Detect the Devices in Solaris


To attach the wa drivers when the library is attached to QLOGIC FC HBA by SUN

  1. Ensure that the tape devices are visible to the Solaris kernel.

    You can do this using the following commands:

    Run cfgadm -al

    grep/look for type as tape devices

    If (cfgadm -al) displays all the devices configured on system, look for the word tape to identify tape devices.

    For example, the output of the cfgadm -al command may be as follows:

    Ap_Id  Type Receptacle Occupant Condition
    c0 scsi-bus connected configured unknown
    c0::dsk/c0t0d0 disk connected configured unknown
    c0::dsk/c0t10d0 disk connected configured unknown
    c0::dsk/c0t6d0 CD-ROM connected configured unknown
    c0::dsk/c0t8d0 disk connected configured unknown
    c0::dsk/c0t9d0 disk connected configured unknown
    c3 scsi-bus connected unconfigured unknown
    c6 fc-fabric connected configured unknown
    c6::100000d08000167d tape connected configured unknown
    c6::100000d080001986 tape connected configured unknown
    c6::100000e00221b69 array-ctrl connected unconfigured unknown
    c6::100000e00221d909 disk connected unconfigured unknown
    c6::2100002037194c51 disk connected configured unknown
    c6::210000203719599e disk connected configured unknown
    c7 fc connected unconfigured unknown
    c8 fc connected unconfigured unknown

    If you do not see the devices as shown in the above example, make sure that the devices are visible to the Solaris kernel before proceeding any further.

  2. If you see the tape devices, as shown in the above example, run the following script:

    <software installation path>/WA/wa_sunqlc_add

    After running the script, you will be able detect the devices from the Library and Drive Configuration window.


To attach the wa drivers when the library is attached to QLOGIC FC HBA by SUN with a storage router

  1. Ensure that the tape devices are visible to the Solaris kernel.

    You can do this using the following commands:

    Run cfgadm -al

    grep/look for type as array-ctrl

    For example, the output of the cfgadm -al command would be as follows:

    c6::100000e00221b691 array-ctrl  connected    unconfigured  unknown

    If you do not see the devices as shown in the above example, make sure that the devices are visible to the Solaris kernel before proceeding any further.

  2. If you see the array-ctrl as shown in the above example, you will have to add the necessary information in the following file:

    /usr/kernel/drv/wa.conf

  3. Add the necessary entries using the following pattern to add each device.

    name="wa" parent="fp" target=16 lun=0 fc-port-wwn="WWPN"

    Using the above example, it will be as follows:

    name="wa" parent="fp" target=16 lun=0 fc-portwwn=" 100000e00221b691"

    Add 8 entries from lun=0-7

    Example:

    name="wa" parent="fp" target=16 lun=0 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=1 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=2 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=3 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=4 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=5 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=6 fc-port-wwn="100000e00221b691";
    name="wa" parent="fp" target=16 lun=7 fc-port-wwn="100000e00221b691";
  4. Save the changes.
  5. Stop the services in the MediaAgent in which the entries were added.
  6. Execute the following commands to create the device nodes:

    rem_drv wa

    add_drv wa

  7. Start the services in the MediaAgent in which the entries were added.

    You will now be able detect the devices from the Library and Drive Configuration window.


To Scan Devices with LUNs greater than 7

By default the MediaAgent scans for devices with LUNs 0-7. If the devices are over these values they will not be detected. Perform the following steps to correct this problem:

  1. Edit the following file:

    /usr/kernel/drv/wa.conf

  2. Add an additional line across all targets to add a specific LUN. For example, to add LUN 8 and assuming that you have one target - Target 0 - you need the following line:

    name="wa" class="scsi" target=0 lun=8;