Veritas-bu

[Veritas-bu] Netbackup Not Seeing My Tape Drive

2003-10-02 14:49:48
Subject: [Veritas-bu] Netbackup Not Seeing My Tape Drive
From: PAkre AT JNI DOT com (Pete Akre)
Date: Thu, 2 Oct 2003 11:49:48 -0700
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_01C38915.F4A294C0
Content-Type: text/plain;
        charset="iso-8859-1"

They do not show with the modinfo command. But if I try to load them with
"add_drv" it tells me it is already loaded. What do you make of this?
 
Peter Akre

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com]
Sent: Thursday, October 02, 2003 11:39 AM
To: Pete Akre; Donaldson, Mark; 'David Chan'; 'Teklu, Daniel';
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Netbackup Not Seeing My Tape Drive


If you do a "modinfo" command, do you have both st & sg driver loaded?
-M
 
$ modinfo | awk '$6~/^s[gt]$/'

126 785ad906  12544  33   1  st (SCSI tape Driver 1.215)
262 783885d0   302d 253   1  sg (SCSA Generic Revision: 3.4d)

-M
 

-----Original Message-----
From: Pete Akre [mailto:PAkre AT JNI DOT com]
Sent: Thursday, October 02, 2003 12:19 PM
To: 'Donaldson, Mark'; 'David Chan'; 'Teklu, Daniel';
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Netbackup Not Seeing My Tape Drive


I have used them and they appear to work correctly on the OS level, just not
with NetBackup. I can read, write, rewind and erase the tape.
 
Peter Akre

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com]
Sent: Thursday, October 02, 2003 10:52 AM
To: Pete Akre; 'David Chan'; 'Teklu, Daniel';
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Netbackup Not Seeing My Tape Drive


You say all your rmt devices are there, have you tried using them? 
 
Try this:
 
for tp in `ls /dev/rmt/?`
do
  echo "Drive: $tp"
  sudo mt -f $tp status
done

...and see if get valid output for each rmt device.
-M

-----Original Message-----
From: Pete Akre [mailto:PAkre AT JNI DOT com]
Sent: Thursday, October 02, 2003 11:23 AM
To: 'David Chan'; 'Teklu, Daniel'; 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Netbackup Not Seeing My Tape Drive


No luck, Thanks though.
 
Peter Akre

-----Original Message-----
From: David Chan [mailto:david AT softsource.com DOT sg]
Sent: Wednesday, October 01, 2003 6:17 PM
To: Pete Akre; 'Teklu, Daniel'; 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Netbackup Not Seeing My Tape Drive



Try this. 
Not too sure about 4.5, but this is what needs to be done in 3.4.x 

Look for this file called sg.build in your VolMgr folder.. 
run it and it will create st.conf, sg.conf, sg.links and some other which I
have forgotten. 
Then copy all these to your /kernel/drv folder and reboot -- -r 
After the system comes up, run sgscan again. 

David 


-----Original Message----- 
From: Pete Akre [ mailto:PAkre AT JNI DOT com <mailto:PAkre AT JNI DOT com> ] 
Sent: Thursday, October 02, 2003 4:07 AM 
To: 'Teklu, Daniel'; 'veritas-bu AT mailman.eng.auburn DOT edu' 
Subject: RE: [Veritas-bu] Netbackup Not Seeing My Tape Drive 


Thanks, I just tried this and still am not seeing the drive with "sgscan". 
This thing is really frustrating me. 

Pete Akre 

-----Original Message----- 
From: Teklu, Daniel [ mailto:daniel.teklu AT thomson DOT com
<mailto:daniel.teklu AT thomson DOT com> ] 
Sent: Wednesday, October 01, 2003 1:01 PM 
To: Pete Akre; 'veritas-bu AT mailman.eng.auburn DOT edu' 
Subject: RE: [Veritas-bu] Netbackup Not Seeing My Tape Drive 


You will have to re-install the sg devices and drivers: 

- rm /dev/rmt/* 
- rm /dev/sg/* 
- rm /kernel/drv/sg 
- rm /kernel/drv/sg.conf 
- rem_drv sg 
- drvconfig; tapes 
- /usr/openv/volmgr/bin/driver/sg.install 

The same thing happened to me installing a new L9 on a Solaris 8 box, and 
the above steps fixed it. 

-Daniel 



-----Original Message----- 
From: Pete Akre [ mailto:PAkre AT jni DOT com <mailto:PAkre AT jni DOT com> ] 
Sent: Wednesday, October 01, 2003 3:38 PM 
To: 'veritas-bu AT mailman.eng.auburn DOT edu' 
Subject: [Veritas-bu] Netbackup Not Seeing My Tape Drive 


I am running NetBackup 4.5 on a Solaris 8 box, but it will not see the IBM 
Ultrium2 tape drive in the STK L700 (this is the only one I am connected 
to). The Solaris box sees it and has the correct entries in "/dev/rmt". But 
when I do an "sgscan" or try to have NetBackup discover the drive from the 
gui it will not see it. 

Sorry if this is an ignorant question, but i'm under a time crunch and am 
new to some of these concepts. 

Thanks 

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


------_=_NextPart_001_01C38915.F4A294C0
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Veritas-bu] Netbackup Not Seeing My Tape Drive</TITLE>

<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=846434818-02102003><FONT face=Arial color=#0000ff size=2>They 
do not show with the modinfo command. But if I try to load them with "add_drv" 
it tells me it is already loaded. What do you make of this?</FONT></SPAN></DIV>
<DIV><SPAN class=846434818-02102003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=846434818-02102003><FONT face=Arial color=#0000ff size=2>Peter 
Akre</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Donaldson, Mark 
  [mailto:Mark.Donaldson AT experianems DOT com]<BR><B>Sent:</B> Thursday, 
October 02, 
  2003 11:39 AM<BR><B>To:</B> Pete Akre; Donaldson, Mark; 'David Chan'; 'Teklu, 
  Daniel'; 'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> RE: 
  [Veritas-bu] Netbackup Not Seeing My Tape Drive<BR><BR></FONT></DIV>
  <DIV><SPAN class=404523518-02102003><FONT face=Arial color=#0000ff size=2>If 
  you do a "modinfo" command, do you have both st &amp; sg driver 
  loaded?</FONT></SPAN></DIV>
  <DIV><SPAN class=404523518-02102003><FONT face=Arial color=#0000ff 
  size=2>-M</FONT></SPAN></DIV>
  <DIV><SPAN class=404523518-02102003><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=404523518-02102003><FONT face=Arial color=#0000ff size=2>$ 
  modinfo | awk '$6~/^s[gt]$/'</FONT></SPAN></DIV>
  <DIV><SPAN class=404523518-02102003><FONT face=Arial color=#0000ff 
  size=2><BR>126 785ad906&nbsp; 12544&nbsp; 33&nbsp;&nbsp; 1&nbsp; st (SCSI 
tape 
  Driver 1.215)<BR>262 783885d0&nbsp;&nbsp; 302d 253&nbsp;&nbsp; 1&nbsp; sg 
  (SCSA Generic Revision: 3.4d)<BR></DIV></FONT></SPAN>
  <DIV><SPAN class=404523518-02102003><FONT face=Arial color=#0000ff 
  size=2>-M</FONT></SPAN></DIV>
  <DIV><SPAN class=404523518-02102003><FONT face=Arial color=#0000ff 
  size=2>&nbsp;</DIV></FONT></SPAN>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Pete Akre 
    [mailto:PAkre AT JNI DOT com]<BR><B>Sent:</B> Thursday, October 02, 2003 
12:19 
    PM<BR><B>To:</B> 'Donaldson, Mark'; 'David Chan'; 'Teklu, Daniel'; 
    'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> RE: 
[Veritas-bu] 
    Netbackup Not Seeing My Tape Drive<BR><BR></FONT></DIV>
    <DIV><SPAN class=698381618-02102003><FONT face=Arial color=#0000ff size=2>I 
    have used them and they appear to work correctly on the OS level, just not 
    with NetBackup. I can read, write, rewind and erase the 
    tape.</FONT></SPAN></DIV>
    <DIV><SPAN class=698381618-02102003><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=698381618-02102003><FONT face=Arial color=#0000ff 
    size=2>Peter Akre</FONT></SPAN></DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
      size=2>-----Original Message-----<BR><B>From:</B> Donaldson, Mark 
      [mailto:Mark.Donaldson AT experianems DOT com]<BR><B>Sent:</B> Thursday, 
October 
      02, 2003 10:52 AM<BR><B>To:</B> Pete Akre; 'David Chan'; 'Teklu, Daniel'; 
      'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> RE: 
[Veritas-bu] 
      Netbackup Not Seeing My Tape Drive<BR><BR></FONT></DIV>
      <DIV><SPAN class=280445017-02102003><FONT face=Arial color=#0000ff 
      size=2>You say all your rmt devices are there, have you tried using them? 
      </FONT></SPAN></DIV>
      <DIV><SPAN class=280445017-02102003><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=280445017-02102003><FONT face=Arial color=#0000ff 
      size=2>Try this:</FONT></SPAN></DIV>
      <DIV><SPAN class=280445017-02102003><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=280445017-02102003><FONT face=Arial color=#0000ff 
      size=2>for tp in `ls /dev/rmt/?`<BR>do<BR>&nbsp; echo "Drive: 
      $tp"<BR>&nbsp; sudo mt -f $tp status<BR>done<BR></FONT></SPAN></DIV>
      <DIV><SPAN class=280445017-02102003><FONT face=Arial color=#0000ff 
      size=2>...and see if get valid output for each rmt 
      device.</FONT></SPAN></DIV>
      <DIV><SPAN class=280445017-02102003><FONT face=Arial color=#0000ff 
      size=2>-M</DIV></FONT></SPAN>
      <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
        <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
        size=2>-----Original Message-----<BR><B>From:</B> Pete Akre 
        [mailto:PAkre AT JNI DOT com]<BR><B>Sent:</B> Thursday, October 02, 
2003 11:23 
        AM<BR><B>To:</B> 'David Chan'; 'Teklu, Daniel'; 
        'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> RE: 
[Veritas-bu] 
        Netbackup Not Seeing My Tape Drive<BR><BR></FONT></DIV>
        <DIV><SPAN class=617372217-02102003><FONT face=Arial color=#0000ff 
        size=2>No luck, Thanks though.</FONT></SPAN></DIV>
        <DIV><SPAN class=617372217-02102003><FONT face=Arial color=#0000ff 
        size=2></FONT></SPAN>&nbsp;</DIV>
        <DIV><SPAN class=617372217-02102003><FONT face=Arial color=#0000ff 
        size=2>Peter Akre</FONT></SPAN></DIV>
        <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
          <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
          size=2>-----Original Message-----<BR><B>From:</B> David Chan 
          [mailto:david AT softsource.com DOT sg]<BR><B>Sent:</B> Wednesday, 
October 
          01, 2003 6:17 PM<BR><B>To:</B> Pete Akre; 'Teklu, Daniel'; 
          'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> RE: 
          [Veritas-bu] Netbackup Not Seeing My Tape Drive<BR><BR></FONT></DIV>
          <P><FONT size=2>Try this.</FONT> <BR><FONT size=2>Not too sure about 
          4.5, but this is what needs to be done in 3.4.x</FONT> </P>
          <P><FONT size=2>Look for this file called sg.build in your VolMgr 
          folder..</FONT> <BR><FONT size=2>run it and it will create st.conf, 
          sg.conf, sg.links and some other which I have forgotten.</FONT> 
          <BR><FONT size=2>Then copy all these to your /kernel/drv folder and 
          reboot -- -r</FONT> <BR><FONT size=2>After the system comes up, run 
          sgscan again.</FONT> </P>
          <P><FONT size=2>David</FONT> </P><BR>
          <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT 
          size=2>From: Pete Akre [<A 
          href="mailto:PAkre AT JNI DOT com">mailto:PAkre AT JNI DOT 
com</A>]</FONT> <BR><FONT 
          size=2>Sent: Thursday, October 02, 2003 4:07 AM</FONT> <BR><FONT 
          size=2>To: 'Teklu, Daniel'; 'veritas-bu AT mailman.eng.auburn DOT 
edu'</FONT> 
          <BR><FONT size=2>Subject: RE: [Veritas-bu] Netbackup Not Seeing My 
          Tape Drive</FONT> </P><BR>
          <P><FONT size=2>Thanks, I just tried this and still am not seeing the 
          drive with "sgscan".</FONT> <BR><FONT size=2>This thing is really 
          frustrating me.</FONT> </P>
          <P><FONT size=2>Pete Akre</FONT> </P>
          <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT 
          size=2>From: Teklu, Daniel [<A 
          href="mailto:daniel.teklu AT thomson DOT com">mailto:daniel.teklu AT 
thomson DOT com</A>]</FONT> 
          <BR><FONT size=2>Sent: Wednesday, October 01, 2003 1:01 PM</FONT> 
          <BR><FONT size=2>To: Pete Akre; 
          'veritas-bu AT mailman.eng.auburn DOT edu'</FONT> <BR><FONT 
size=2>Subject: 
          RE: [Veritas-bu] Netbackup Not Seeing My Tape Drive</FONT> </P><BR>
          <P><FONT size=2>You will have to re-install the sg devices and 
          drivers:</FONT> </P>
          <P><FONT size=2>- rm /dev/rmt/*</FONT> <BR><FONT size=2>- rm 
          /dev/sg/*</FONT> <BR><FONT size=2>- rm /kernel/drv/sg</FONT> 
<BR><FONT 
          size=2>- rm /kernel/drv/sg.conf</FONT> <BR><FONT size=2>- rem_drv 
          sg</FONT> <BR><FONT size=2>- drvconfig; tapes</FONT> <BR><FONT 
          size=2>- /usr/openv/volmgr/bin/driver/sg.install</FONT> </P>
          <P><FONT size=2>The same thing happened to me installing a new L9 on 
a 
          Solaris 8 box, and</FONT> <BR><FONT size=2>the above steps fixed 
          it.</FONT> </P>
          <P><FONT size=2>-Daniel</FONT> </P><BR><BR>
          <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT 
          size=2>From: Pete Akre [<A 
          href="mailto:PAkre AT jni DOT com">mailto:PAkre AT jni DOT com</A>] 
</FONT><BR><FONT 
          size=2>Sent: Wednesday, October 01, 2003 3:38 PM</FONT> <BR><FONT 
          size=2>To: 'veritas-bu AT mailman.eng.auburn DOT edu'</FONT> 
<BR><FONT 
          size=2>Subject: [Veritas-bu] Netbackup Not Seeing My Tape 
Drive</FONT> 
          </P><BR>
          <P><FONT size=2>I am running NetBackup 4.5 on a Solaris 8 box, but it 
          will not see the IBM</FONT> <BR><FONT size=2>Ultrium2 tape drive in 
          the STK L700 (this is the only one I am connected</FONT> <BR><FONT 
          size=2>to). The Solaris box sees it and has the correct entries in 
          "/dev/rmt". But</FONT> <BR><FONT size=2>when I do an "sgscan" or try 
          to have NetBackup discover the drive from the</FONT> <BR><FONT 
          size=2>gui it will not see it.</FONT> </P>
          <P><FONT size=2>Sorry if this is an ignorant question, but i'm under 
a 
          time crunch and am</FONT> <BR><FONT size=2>new to some of these 
          concepts.</FONT> </P>
          <P><FONT size=2>Thanks</FONT> </P>
          <P><FONT size=2>Pete Akre</FONT> <BR><FONT 
          size=2>_______________________________________________</FONT> 
          <BR><FONT size=2>Veritas-bu maillist&nbsp; -&nbsp; 
          Veritas-bu AT mailman.eng.auburn DOT edu</FONT> <BR><FONT size=2><A 
          href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; 
          
target=_blank>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</A></FONT>
 
          <BR><FONT 
          size=2>_______________________________________________</FONT> 
          <BR><FONT size=2>Veritas-bu maillist&nbsp; -&nbsp; 
          Veritas-bu AT mailman.eng.auburn DOT edu</FONT> <BR><FONT size=2><A 
          href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; 
          
target=_blank>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</A></FONT>
 
          
</P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C38915.F4A294C0--