Monday, January 7, 2008

This procedure must be successfully "done" to troubleshoot Un-Detect tape drives after netbackup sg.install installation.
root@j5d # ls -l /dev/rmt/*cbn
root@j5d # /usr/openv/volmgr/bin/scan
Display PCI slot configuration information for tape drives

root@j5d # cfgadm –al
c0::dsk/c0t6d0 CD-ROM connected configured unknown
c1 fc-private connected configured unknown
c1::21xxxxxxxxxxxxx2 disk connected configured unknown
c5 fc-fabric connected configured unknown
c5::50xxxxxxxxxxxxx2 tape connected configured unknown
c5::50xxxxxxxxxxxxxe tape connected configured unknown
....
c6 fc connected unconfigured unknown
Unconfigure tape devices
root@j5d # cfgadm -c unconfigure c5
Clean-up device file
root@j5d # devfsadm –C
Reconfigure tape device
root@j5d # cfgadm -c configure c5
if configure failed, try force update with command :
root@j5d # cfgadm –c configure –o force_update c5
List PCI slot configuration information for tape drives
root@j5d # cfgadm –al
root@j5d # ls -l /dev/rmt/*cbn
lrwxrwxrwx 1 root root 71 Jan 7 15:39 /dev/rmt/0cbn ->
../../devices//fp@0,0/st@xxxxxxxxxxxxxxxbe,0:cbn
.......
lrwxrwxrwx 1 root root 71 Jan 7 15:41 /dev/rmt/9cbn ->
../../devices/fp@0,0/st@xxxxxxxxxxxxxxx82,0:cbn
root@j5d # /usr/sbin/rem_drv sg
root@j5d # /usr/bin/rm -f /kernel/drv/sg.conf
root@j5d # /usr/openv/volmgr/bin/driver/sg.install

Copied files to /kernel/drv and to /kernel/drv/sparcv9.
Doing add_drv of the sg driver
Removing old /dev/sg entries.
Editing /etc/devlink.tab...
Copying original /etc/devlink.tab to /etc/devlink.tab.01-07-08-15:44:06.
Added entry in /etc/devlink.tab file.
Made links in /dev/sg

root@j5d # /usr/openv/volmgr/bin/scan

************************************************************
*********************** SDT_TAPE ************************
*********************** SDT_CHANGER ************************
*********************** SDT_OPTICAL ************************
************************************************************
------------------------------------------------------------
Device Name : "/dev/rmt/0cbn"
Passthru Name: "/dev/sg/c0txxxxxxxxxxxxxxxbel0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "IBM ULTRIUM-TD3 5BG2"
Vendor ID : "IBM "
Product ID : "ULTRIUM-TD3 "
Product Rev: "5BG2"
Serial Number: "XXXXXXXXXX"
WWN : "IBM ULTRIUM-TD3 XXXXXXXXXX"
WWN Id Type : 1
Device Identifier: "IBM ULTRIUM-TD3 XXXXXXXXXX"
Device Type : SDT_TAPE
NetBackup Drive Type: 16
Removable : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Categories:

0 comments: