The solution we ended up using came from the Veritas-bu list.. I'll
not mention the author as she didn't cc the list (I don't think)..
I think the short answer is that I needed to include lun 2 in the
/kernel/drv/sg.conf. It seems, though, that just removing /dev/sg/*
and reboot -- -r isn't enough..
Either way, as was suggested by others, the lack of the /dev/sg device
didn't effect netbackup.. just sgscan.
-morgan
Morgan Jones //
Programmer
CommNav, Inc.
[snip]
Hi Morgan
By default the sg driver 'sees' only lun 0 and lun 1. (From the listing of
/dev/rmt it seems that you have a 'target 1, lun 2'.
You need to find your 'Media Manager Device Configuration Guide'. In Chapter
3 you will find a section called 'Configuring the SG Driver'.
If your st.conf file is up to date, you can skip step 1.
In step 2, you can omit '-mt 15' if you are not using target numbers above
6. It is important that you increase the number of luns (-ml 2, for
example).
If you get error messages during step 6 (install the the sg driver), you
will have to delete /kernel/drv/sg.conf, and then run sg.install again.
You may need a reboot (-r) before sgscan will see all the drives.
Good luck!
Regards
[ signature omitted ]
[snip]
-----Original Message-----
From: Morgan Jones
Sent: 08 June 2001 11:30
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Solaris tape devices/netbackup question
I'm installing Netbackup on a Netra t1405-- PCI based, rack mountable.
The tape changes is a StorageTek L180 (4 DLT 8000 drives, robot).
All the drives show up under /dev/rmt:
PAMDFSR0304# cd /dev/rmt
PAMDFSR0304# ls -l ?
lrwxrwxrwx 1 root root 43 Jun 8 00:39 0 ->
../../devices/pci@1f,4000/JNI,FCE@2/st@0,0:
lrwxrwxrwx 1 root root 43 Jun 8 00:39 1 ->
../../devices/pci@1f,4000/JNI,FCE@2/st@0,1:
lrwxrwxrwx 1 root root 43 Jun 8 00:39 2 ->
../../devices/pci@1f,4000/JNI,FCE@2/st@1,1:
lrwxrwxrwx 1 root root 43 Jun 8 00:39 3 ->
../../devices/pci@1f,4000/JNI,FCE@2/st@1,2:
however, only 3 drives and the robot show up under /dev/sg:
PAMDFSR0304# cd /dev/sg
PAMDFSR0304# ls -l c2*
lrwxrwxrwx 1 root root 46 Jun 8 00:39 c2t0l0 ->
../../devices/pci@1f,4000/JNI,FCE@2/sg@0,0:raw
lrwxrwxrwx 1 root root 46 Jun 8 00:39 c2t0l1 ->
../../devices/pci@1f,4000/JNI,FCE@2/sg@0,1:raw
lrwxrwxrwx 1 root root 46 Jun 8 00:39 c2t1l0 ->
../../devices/pci@1f,4000/JNI,FCE@2/sg@1,0:raw
lrwxrwxrwx 1 root root 46 Jun 8 00:39 c2t1l1 ->
../../devices/pci@1f,4000/JNI,FCE@2/sg@1,1:raw
>From within Netbackup I am only seeing three drives. sgscan only sees
3 drives. I believe this is because netbackup deals with the /dev/sg
devices.
I'm not sure if this is relevant but the the Sun is connected via JNI
cards to EMC (Brocade) switches configured as fabric. The Storagtek
drives and the robot are connected through fibre-scsi bridges. The
bridges are correctly configured as fabric. The Sun's JNI cards have
been set to fabric. Apologies if my SAN terminology is weak.
Corrections/clarifications would be appreciated.
Has anyone seen this? Any ideas? Thanks in advance.
-morgan
|