Veritas-bu

Re: [Veritas-bu] New tape drives not appearing in /dev/rmt.

2007-12-11 18:25:14
Subject: Re: [Veritas-bu] New tape drives not appearing in /dev/rmt.
From: "Peters, Devon C" <Peters.Devon AT con-way DOT com>
To: <sean.mohr AT gmail DOT com>, <psv2b AT virginia DOT edu>, <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Tue, 11 Dec 2007 15:11:58 -0800

Peter,

I would guess that Sean is correct.  I don't believe the default st.conf file for Solaris 10 includes support for tape drives that aren't lun 0.  From what you show below your tape drives all start after LUN 0 (1, 2, 3, and 4).  I'd suggest changing your st.conf entries from this:

name="st" class="scsi" target=0 lun=0;
name="st" class="scsi" target=1 lun=0;
name="st" class="scsi" target=2 lun=0;
name="st" class="scsi" target=3 lun=0;
name="st" class="scsi" target=4 lun=0;
name="st" class="scsi" target=5 lun=0;
name="st" class="scsi" target=6 lun=0;

To something like this:

name="st" class="scsi" target=0 lun=0;
name="st" class="scsi" target=0 lun=1;
name="st" class="scsi" target=0 lun=2;
name="st" class="scsi" target=0 lun=3;
name="st" class="scsi" target=0 lun=4;
name="st" class="scsi" target=1 lun=0;
name="st" class="scsi" target=1 lun=1;
name="st" class="scsi" target=1 lun=2;
name="st" class="scsi" target=1 lun=3;
name="st" class="scsi" target=1 lun=4;
<etc...>

Then run devfsadm and see if they're there.  You may have to run "update_drv st", or reload the st driver to pickup the changes.

-devon

-------------------------------------
Date: Mon, 10 Dec 2007 19:14:10 -0500
From: "Sean Mohr" <sean.mohr AT gmail DOT com>
Subject: Re: [Veritas-bu] New tape drives not appearing in /dev/rmt.
To: "Peter Vines" <psv2b AT virginia DOT edu>
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Message-ID:
        <5107ccec0712101614w6e4c62afm23b1149fd3742dfe AT mail.gmail DOT com>
Content-Type: text/plain; charset="iso-8859-1"

Did you make sure you have /kernel/st.conf and (lpfc.conf if emulex fiber
attached) entries.

I'm not fully up on Solaris 10 at the moment but Solaris 10 does a lot a new
things automatically that solaris 8/9 does not.

Hope this helps

Sean Mohr
New York Life
Storage Management Team


On Dec 10, 2007 6:39 PM, Peter Vines <psv2b AT virginia DOT edu> wrote:

> I recently added connectivity to a Scalar i2000 with 4 LTO3 drives, to a
> Solaris 8 server.
> I removed all the entries in /dev/rmt, reconfigure booted, went through
> the sg install process, yet the server does not have entries in /dev/rmt
> for the new drives.  The server is connected to two tape libraries:
> 1-L700 with 6 9840 drives, 2-i2000 with 4 LTO3 drives.  The L700 drives
> continue to be present on the system and usable.
> I've also tried devfsadm, drvconfig, tapes, etc...
>
> Why don't the entries appear in /dev/rmt?
>
> I've done the same process on multiple Solaris 10 servers, connected to
> the same SAN and they all work fine.
>
> cfgadm -o show_FCP_dev -al
> c8                             fc-fabric    connected    configured
> unknown
> c8::500308c00189780a,0         med-changer  connected    configured
> unknown
> c8::500308c00189780a,1         tape         connected    configured
> unknown
> c8::500308c00189780a,2         tape         connected    configured
> unknown
> c9                             fc-fabric    connected    configured
> unknown
> c9::500308c00189780b,0         med-changer  connected    configured
> unknown
> c9::500308c00189780b,3         tape         connected    configured
> unknown
> c9::500308c00189780b,4         tape         connected    configured
> unknown
>
> sgscan
> /dev/sg/c0tw500308c00189780al0: Changer: "ADIC    Scalar i2000"
> /dev/sg/c0tw500308c00189780al1: Tape (???): "IBM     ULTRIUM-TD3"
> /dev/sg/c0tw500308c00189780al2: Tape (???): "IBM     ULTRIUM-TD3"
> /dev/sg/c0tw500308c00189780bl0: Changer: "ADIC    Scalar i2000"
> /dev/sg/c0tw500308c00189780bl3: Tape (???): "IBM     ULTRIUM-TD3"
> /dev/sg/c0tw500308c00189780bl4: Tape (???): "IBM     ULTRIUM-TD3"
> /dev/sg/c0tw500104f000438becl0: (/dev/rmt/2): "STK     9840"
> /dev/sg/c0tw500104f00043e256l0: (/dev/rmt/0): "STK     9840"
> /dev/sg/c0tw500104f00045cbb4l0: (/dev/rmt/1): "STK     9840"
> /dev/sg/c1tw500104f000438e6el0: (/dev/rmt/3): "STK     9840"
> /dev/sg/c1tw500104f000438f10l0: (/dev/rmt/4): "STK     9840"
> /dev/sg/c1tw500104f000480658l0: (/dev/rmt/5): "STK     9840"
>
>
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20071210/637ebd20/attachment-0001.htm

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu