Veritas-bu

[Veritas-bu] /dev/sg/c3t3l2 drive mapping

2003-12-02 22:31:23
Subject: [Veritas-bu] /dev/sg/c3t3l2 drive mapping
From: robert AT softsource.com DOT sg (Robert Loh)
Date: Wed, 3 Dec 2003 11:31:23 +0800
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3B94D.ED2C223E
Content-Type: text/plain;
        charset="iso-8859-1"

Thanks to George Drew, Donaldson Mark, Marianne Van De Berg and those who
replied.

I found out that somehow the new tape drive entries is not created in
/etc/devlink.tab, so I manually create it and resolved the problem. Thanks
again for dropping hints

Cheers...
Robert

-----Original Message-----
From: George Drew [mailto:gdrew AT deathstar DOT org]
Sent: Tuesday, December 02, 2003 9:03 AM
To: Donaldson, Mark
Cc: 'Robert Loh'; 'T. W. Rosamond (J.R)'; Veritas (Veritas-Bu) (E-mail)
Subject: RE: [Veritas-bu] /dev/sg/c3t3l2 drive mapping


Robert,

The sg driver is by default configured to only build devices on luns 0
& 1. Run the following:

/etc/init.d/netbackup stop
cd /usr/openv/volmgr/bin/driver
../sg.build all -mt 15 -ml 4
rem_drv sg
rm -f /dev/sg/* /kernel/drv/sg.conf
./sg.install

Verify that all devices are visible using sgscan. If so,
/etc/init.d/netbackup start. If not, open a support case.

George


On Mon, 1 Dec 2003, Donaldson, Mark wrote:

> If the st.conf file doesn't have additional luns defined then you'll not
see
> all your drives at the OS level.
>
> The check is to drop to bios mode then do a "reset-all" then a
> "probe-scsi-all"
>
> If the probe-scsi-all shows all the scsi devices but a "boot -r" doesn't
> build them, then it's probably inadequate/incorrect entries in the st.conf
> file.
>
> -M
>
> -----Original Message-----
> From: Robert Loh [mailto:robert AT softsource.com DOT sg]
> Sent: Monday, December 01, 2003 2:28 AM
> To: 'T. W. Rosamond (J.R)'; Veritas (Veritas-Bu) (E-mail)
> Subject: RE: [Veritas-bu] /dev/sg/c3t3l2 drive mapping
>
>
> Yes, the os can detect them as /dev/rmt/1cbn and /dev/rmt/2cbn. Already
try
> to reboot -- -r with no avail.
> Cheers...
>
> -----Original Message-----
> From: T. W. Rosamond (J.R) [mailto:travis.rosamond AT sbcglobal DOT net]
> Sent: Monday, December 01, 2003 5:34 PM
> To: Robert Loh; Veritas (Veritas-Bu) (E-mail)
> Subject: Re: [Veritas-bu] /dev/sg/c3t3l2 drive mapping
>
>
> Robert, have you run drvconfig then tape... So that the OS sees the device
> or a boot -r?  sgscan will not see the device until the OS knows about it.
>
> ----- Original Message -----
> From: Robert Loh <mailto:robert AT softsource.com DOT sg>
> To: Veritas (Veritas-Bu)  <mailto:veritas-bu AT mailman.eng.auburn DOT edu>
> (E-mail)
> Sent: Monday, December 01, 2003 1:12 AM
> Subject: [Veritas-bu] /dev/sg/c3t3l2 drive mapping
>
>
> Hi folks,
>
> Need to check which file should I edit to have a new tape drive mapped.
The
> machine can detect /dev/rmt/1cbn and /dev/rmt/2cbn with mapping below
>
> My #sgscan all
> /dev/sg/c3t3l0  -> the Autochanger
> /dev/sg/c3t3l1    -> /dev/rmt/1cbn
>
> But I couldn't get a mapping for /dev/sg/c3t3l2 for /dev/rmt/2cbn in
sgscan.
> I am using NetBackup 4.5 with Solaris 9 here.
>
> Fibre direct connect with two drives daisy chain.
> Thanks
> Robert
>
>
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

------_=_NextPart_001_01C3B94D.ED2C223E
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: [Veritas-bu] /dev/sg/c3t3l2 drive mapping </TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Thanks to George Drew, Donaldson Mark, Marianne Van =
De Berg and those who replied.</FONT>
</P>

<P><FONT SIZE=3D2>I found out that somehow the new tape drive entries =
is not created in /etc/devlink.tab, so I manually create it and =
resolved the problem. Thanks again for dropping hints</FONT></P>

<P><FONT SIZE=3D2>Cheers...</FONT>
<BR><FONT SIZE=3D2>Robert</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: George Drew [<A =
HREF=3D"mailto:gdrew AT deathstar DOT org">mailto:gdrew AT deathstar DOT 
org</A>]</FON=
T>
<BR><FONT SIZE=3D2>Sent: Tuesday, December 02, 2003 9:03 AM</FONT>
<BR><FONT SIZE=3D2>To: Donaldson, Mark</FONT>
<BR><FONT SIZE=3D2>Cc: 'Robert Loh'; 'T. W. Rosamond (J.R)'; Veritas =
(Veritas-Bu) (E-mail)</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Veritas-bu] /dev/sg/c3t3l2 drive =
mapping</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Robert,</FONT>
</P>

<P><FONT SIZE=3D2>The sg driver is by default configured to only build =
devices on luns 0</FONT>
<BR><FONT SIZE=3D2>&amp; 1. Run the following:</FONT>
</P>

<P><FONT SIZE=3D2>/etc/init.d/netbackup stop</FONT>
<BR><FONT SIZE=3D2>cd /usr/openv/volmgr/bin/driver</FONT>
<BR><FONT SIZE=3D2>../sg.build all -mt 15 -ml 4</FONT>
<BR><FONT SIZE=3D2>rem_drv sg</FONT>
<BR><FONT SIZE=3D2>rm -f /dev/sg/* /kernel/drv/sg.conf</FONT>
<BR><FONT SIZE=3D2>./sg.install</FONT>
</P>

<P><FONT SIZE=3D2>Verify that all devices are visible using sgscan. If =
so,</FONT>
<BR><FONT SIZE=3D2>/etc/init.d/netbackup start. If not, open a support =
case.</FONT>
</P>

<P><FONT SIZE=3D2>George</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>On Mon, 1 Dec 2003, Donaldson, Mark wrote:</FONT>
</P>

<P><FONT SIZE=3D2>&gt; If the st.conf file doesn't have additional luns =
defined then you'll not see</FONT>
<BR><FONT SIZE=3D2>&gt; all your drives at the OS level.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; The check is to drop to bios mode then do a =
&quot;reset-all&quot; then a</FONT>
<BR><FONT SIZE=3D2>&gt; &quot;probe-scsi-all&quot;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; If the probe-scsi-all shows all the scsi =
devices but a &quot;boot -r&quot; doesn't</FONT>
<BR><FONT SIZE=3D2>&gt; build them, then it's probably =
inadequate/incorrect entries in the st.conf</FONT>
<BR><FONT SIZE=3D2>&gt; file.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; -M</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Robert Loh [<A =
HREF=3D"mailto:robert AT softsource.com DOT sg">mailto:robert AT softsource.com 
DOT sg=
</A>]</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: Monday, December 01, 2003 2:28 AM</FONT>
<BR><FONT SIZE=3D2>&gt; To: 'T. W. Rosamond (J.R)'; Veritas =
(Veritas-Bu) (E-mail)</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: RE: [Veritas-bu] /dev/sg/c3t3l2 drive =
mapping</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; Yes, the os can detect them as /dev/rmt/1cbn =
and /dev/rmt/2cbn. Already try</FONT>
<BR><FONT SIZE=3D2>&gt; to reboot -- -r with no avail.</FONT>
<BR><FONT SIZE=3D2>&gt; Cheers...</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: T. W. Rosamond (J.R) [<A =
HREF=3D"mailto:travis.rosamond AT sbcglobal DOT net">mailto:travis.rosamond@sbc=
global.net</A>]</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: Monday, December 01, 2003 5:34 PM</FONT>
<BR><FONT SIZE=3D2>&gt; To: Robert Loh; Veritas (Veritas-Bu) =
(E-mail)</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: Re: [Veritas-bu] /dev/sg/c3t3l2 drive =
mapping</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; Robert, have you run drvconfig then tape... So =
that the OS sees the device</FONT>
<BR><FONT SIZE=3D2>&gt; or a boot -r?&nbsp; sgscan will not see the =
device until the OS knows about it.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; ----- Original Message -----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Robert Loh &lt;<A =
HREF=3D"mailto:robert AT softsource.com DOT sg">mailto:robert AT softsource.com 
DOT sg=
</A>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; To: Veritas (Veritas-Bu)&nbsp; &lt;<A =
HREF=3D"mailto:veritas-bu AT mailman.eng.auburn DOT edu">mailto:veritas-bu@mail=
man.eng.auburn.edu</A>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; (E-mail)</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: Monday, December 01, 2003 1:12 AM</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: [Veritas-bu] /dev/sg/c3t3l2 drive =
mapping</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; Hi folks,</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; Need to check which file should I edit to have =
a new tape drive mapped. The</FONT>
<BR><FONT SIZE=3D2>&gt; machine can detect /dev/rmt/1cbn and =
/dev/rmt/2cbn with mapping below</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; My #sgscan all</FONT>
<BR><FONT SIZE=3D2>&gt; /dev/sg/c3t3l0&nbsp; -&gt; the =
Autochanger</FONT>
<BR><FONT SIZE=3D2>&gt; /dev/sg/c3t3l1&nbsp;&nbsp;&nbsp; -&gt; =
/dev/rmt/1cbn</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; But I couldn't get a mapping for /dev/sg/c3t3l2 =
for /dev/rmt/2cbn in sgscan.</FONT>
<BR><FONT SIZE=3D2>&gt; I am using NetBackup 4.5 with Solaris 9 =
here.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; Fibre direct connect with two drives daisy =
chain.</FONT>
<BR><FONT SIZE=3D2>&gt; Thanks</FONT>
<BR><FONT SIZE=3D2>&gt; Robert</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist&nbsp; -&nbsp; =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3B94D.ED2C223E--

<Prev in Thread] Current Thread [Next in Thread>