------=_Part_7351_10386081.1142710866414
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
have fixed the sgscan issue, by hacking the supplied scripts. I have
changed the grep with egrep and modifed the code so it should also pickup
emlx
bash-2.05# grep SUNW /usr/openv/volmgr/bin/sg*
/usr/openv/volmgr/bin/sg.build : hbaports=3D`luxadm -e port 2>/dev/null|
/bin/egrep 'SUNW,|emlx' |
/usr/openv/volmgr/bin/sg.build: hbaports=3D`luxadm -e port 2>/dev/null|
/bin/egrep 'SUNW,|emlx' |
/usr/openv/volmgr/bin/sgscan: hbaports=3D`luxadm -e port 2>/dev/null |
/bin/egrep 'SUNW,|emlx' |
bash-2.05# /usr/openv/volmgr/bin/sgscan all conf -v
Tape device types enabled in the Solaris tape driver, st(7D), configuration
file:
All devices recognized by the SCSI Generic (sg) driver:
/dev/sg/c0tw21000004cf202ca9l0: Disk (???): "SEAGATE ST336605FSUN36G 0438"
/dev/sg/c0tw21000004cf203d11l0: Disk (???): "SEAGATE ST336605FSUN36G 0438"
/dev/sg/c0tw500308c00166f80bl1: Changer: "ADIC Scalar i2000 300A"
/dev/sg/c0tw500308c00166f80bl2: Tape (/dev/rmt/0): "IBM ULTRIUM-TD3
5481" : NOT-IN-ST-CONFIG-FILE
bash-2.05#
Thanks,
Yasir
On 3/18/06, Christopher Jay Manders <CJManders AT lbl DOT gov> wrote:
>
>
> Exactly.
>
> sgscan does not know what to do if it is not set up with its sg.conf.
>
> Also, you will probably need to add some entries (created in an st.conf
> file inside of 'driver' when you do the sg.build) to your st.conf.
>
> Then a reboot -- -r will be necessary to reconfigure the new sg driver
> and st.conf entries.
>
> HTH
>
> Cheers!
>
> --Chris
>
>
> > > I have gone thru the standard excercise of sgscan builld
> >> all blah blah thing.
> >
> > I don't know what you do with blah blah, it normally works like this:
> >
> > # cd /usr/openv/volmgr/bin/driver
> > # ../sg.build all
> > # rm /kernel/drv/sg.conf
> > # ./sg.install
> >
> > HTH, Joost
> > _______________________________________________
> > Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>
------=_Part_7351_10386081.1142710866414
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
have fixed the sgscan issue, by hacking the supplied scripts. I have
changed the grep with egrep and modifed the code so it should also
pickup emlx<br>
<br>
bash-2.05# grep SUNW /usr/openv/volmgr/bin/sg* <br>
/usr/openv/volmgr/bin/sg.build
<div style=3D"direction: ltr;">: hbaports=3D`luxadm -e port 2&g=
t;/dev/null| /bin/egrep 'SUNW,|emlx' |<br>
/usr/openv/volmgr/bin/sg.build: hbaports=3D`luxadm -e port 2>=
;/dev/null| /bin/egrep 'SUNW,|emlx' |<br>
/usr/openv/volmgr/bin/sgscan: hbaports=3D`luxadm -e port 2>/dev/nu=
ll | /bin/egrep 'SUNW,|emlx' |<br>
bash-2.05# /usr/openv/volmgr/bin/sgscan all conf -v<br>
Tape device types enabled in the Solaris tape driver, st(7D), configuration=
file:<br>
<br>
<br>
All devices recognized by the SCSI Generic (sg) driver:<br>
/dev/sg/c0tw21000004cf202ca9l0: Disk (???): "SEAGATE ST336605FSUN36G 0=
438"<br>
/dev/sg/c0tw21000004cf203d11l0: Disk (???): "SEAGATE ST336605FSUN36G 0=
438"<br>
/dev/sg/c0tw500308c00166f80bl1: Changer: "ADIC Scala=
r i2000 300A"<br>
/dev/sg/c0tw500308c00166f80bl2: Tape (/dev/rmt/0):
"IBM ULTRIUM-TD3 5481&=
quot;
: NOT-IN-ST-CONFIG-FILE<br>
bash-2.05# <br>
<br>
<br>
Thanks, <br>
<br>
Yasir</div>
<br><br><div><span class=3D"gmail_quote">On 3/18/06, <b class=3D"gmail_send=
ername">Christopher Jay Manders</b> <<a href=3D"mailto:CJManders AT lbl DOT
gov=
">CJManders AT lbl DOT gov</a>> wrote:</span><blockquote
class=3D"gmail_quote" =
style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8=
ex; padding-left: 1ex;">
<br>Exactly.<br><br>sgscan does not know what to do if it is not set up wit=
h its sg.conf.<br><br>Also, you will probably need to add some entries (cre=
ated in an st.conf<br>file inside of 'driver' when you do the sg.build) to =
your=20
st.conf.<br><br>Then a reboot -- -r will be necessary to reconfigure the ne=
w sg driver<br>and st.conf entries.<br><br>HTH<br><br>Cheers!<br><br>--Chri=
s<br><br><br>> > I have gone thru the standard excercise of sgscan bu=
illd
<br>>> all blah blah thing.<br>><br>> I don't know what you do =
with blah blah, it normally works like this:<br>><br>> # cd /usr/open=
v/volmgr/bin/driver<br>> # ../sg.build all<br>> # rm /kernel/drv/sg.c=
onf
<br>> # ./sg.install<br>><br>> HTH, Joost<br>> ________________=
_______________________________<br>> Veritas-bu maillist -&nb=
sp; <a href=3D"mailto:Veritas-bu AT mailman.eng.auburn DOT
edu">Veritas-bu@ma=
ilman.eng.auburn.edu
</a><br>> <a href=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veri=
tas-bu">http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</a><br><b=
r></blockquote></div><br>
------=_Part_7351_10386081.1142710866414--
|