Sie sind auf Seite 1von 5

EMC® NetWorker®

The Inquire Command Does Not Display Jukeboxes on


Solaris 10
300-010-137
A01
September 25, 2009

This technical note contains information on these topics:


Š Overview..................................................................................................... 2
Š Verify that sgen driver is loaded and has the Jukebox handle ............ 2
Š Obtain the Jukebox information on Solaris 10: ...................................... 3

1
Overview

Overview
This information is specific to Solaris 10 autochanger configuration only.
The inquire command does not display the jukebox control port, but it
does display the disk or tape drive list.
This bulletin provides instructions to identify the:
Š Path of control port for each library
Š Number of drives in the library
Š Path to which each drive in the library is mapped
Š Location of the control port address of the library
Š Procedure to configure the library using jbconfig

Verify that sgen driver is loaded and has the Jukebox handle
There is no LUS driver with the NetWorker software for the Solaris 10
operating system. Instead, the NetWorker software uses the native sgen
driver.
To use the sgen driver:
1. Verify that sgen is loaded in the kernel:
# modinfo | grep sgen

2. If it is not listed, type the following command:


# update_drv -f sgen

3. Create the device handles for the library:


# devfsadm -c tape
The /dev/scsi/changer/cXtYdZ link is created.
4. If the link is not created, check that /kernel/drv/sgen.conf has the
entry for the HBA driver. For example, if the jukebox is connected to
the Emulex HBA, the entry should appear similar to the following:
name="sgen" parent="lpfc" target=6 lun=0;

This ensures that the Solaris operating system can find the changer
devices and create the appropriate physical and logical devices.

2 The Inquire Command Does Not Display Jukeboxes on Solaris 10


Obtain the Jukebox information on Solaris 10:

Obtain the Jukebox information on Solaris 10:


To verify that that there is communication to the jukebox control port
handle created above, perform the following:
1. Log in as root.
2. Use the devfsadm command to find the path for each library.
3. Use the mtx command with the path to display each drive in the
library. For example:
root> /mtx -f /dev/scsi/changer/c5t6d0 status
Storage Changer /dev/scsi/changer/c5t6d0:4 Drives, 428
Slots ( 24 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
Data Transfer Element 2:Empty
Data Transfer Element 3:Empty

The luxadm inq /dev/scsi/changer/c5t6d0 command can also be used to


obtain the same information about jukebox.

4. Use the following ls commands to find the path for each drive in the
library. For example:
ls -la /dev/scsi/sequential/*
Output similar to the following is displayed:
/dev/scsi/sequential/c5t6d0 ->
../../../devices/pci@1d,4000/fibre-
channel@4/sgen@0,1:sequential

ls -la /dev/rmt/0cbn
Output similar to the following is displayed:
lrwxrwxrwx 1 root other 65 Jan 22 2006 0cbn -> ../../devices/
pci@1d,4000/fibre-channel@4/sgen@0,1:cbn

5. Use the ls command to find the port address of the library. For
example:
ls -la /dev/scsi/changer/
Output similar to the following is displayed:
lrwxrwxrwx 1 root root 61 Nov 7 09:30 c5t0d0 -> ../../..
/devices/pci@1d,4000/fibre-channel@4/sgen@0,0:changer

6. When the jbconfig program runs, choose the SJI option to configure
the jukebox. In this example, the Pathname of the control port for the

The Inquire Command Does Not Display Jukeboxes on Solaris 10 3


Obtain the Jukebox information on Solaris 10:

jukebox device should be similar to /dev/scsi/changer/c5t6d0.


7. Use the jbconfig program to configure the library:
a. Select option 4.
b. Type the control port address when prompted. For example:

/dev/scsi/changer/c5t6d0.

c. Type the drive path when prompted. For example:

/dev/rmt/0cbn

Copyright © 2009 EMC Corporation. All Rights Reserved.

4 The Inquire Command Does Not Display Jukeboxes on Solaris 10


Obtain the Jukebox information on Solaris 10:

EMC believes the information in this publication is accurate as of its publication date. The
information is subject to change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED "AS IS." EMC
CORPORATION MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY
DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
Use, copying, and distribution of any EMC software described in this publication requires
an applicable software license.
For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks
on EMC.com.
All other trademarks used herein are the property of their respective owners.

The Inquire Command Does Not Display Jukeboxes on Solaris 10 5

Das könnte Ihnen auch gefallen