5
1 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

300-010-137

Embed Size (px)

Citation preview

Page 1: 300-010-137

1

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

Page 2: 300-010-137

2

Overview

The Inquire Command Does Not Display Jukeboxes on Solaris 10

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.

Page 3: 300-010-137

3

Obtain the Jukebox information on Solaris 10:

The Inquire Command Does Not Display Jukeboxes 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

Page 4: 300-010-137

4

Obtain the Jukebox information on Solaris 10:

The Inquire Command Does Not Display Jukeboxes 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.

Page 5: 300-010-137

5

Obtain the Jukebox information on Solaris 10:

The Inquire Command Does Not Display Jukeboxes 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.