Veritas-bu

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

2008-06-18 18:28:54
Subject: [Veritas-bu] New tape drives not appearing in /dev/rmt.
From: schweeb <netbackup-forum AT backupcentral DOT com>
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Date: Wed, 18 Jun 2008 18:11:17 -0400
You don't need to unconfigure first.

Also, depending on your setup, you may not want to configure all devices on the 
adapter.

I tend to be more granular and run "cfgadm -c configure cX::WWPN"  where WWPN 
is the world wide number of the device you would like to configure.  You also 
may be able to do this at the lun level (which would be cX::WWPN,LUN), but I've 
never tried to, nor do I have any real reason to.


msponsler wrote:
> Next time try doing a `cfgadm -al`.  You'll probably see the tape device
> as unconfigured.  do a `cfgadm -c unconfigure cX` (cX is the
> channel...it's the left hand collumn in `cfgamd -al` such as c6 or c5,
> etc...) and then a `cfgadm -c configure cX`  That's worked for me in the
> past.  You'll also need to make sure that your sg.conf file has the
> correct targets and luns defined in it....when you do your `sg.build all
> -mt X -ml X`
> 
> --
> Mike Sponsler
> Michael.Sponsler < at > ngc.com
> 
> -----Original Message-----
> From: veritas-bu-bounces < at > mailman.eng.auburn.edu
> [mailto:veritas-bu-bounces < at > mailman.eng.auburn.edu] On Behalf Of Vines,
> Peter (psv2b)
> Sent: Friday, December 28, 2007 3:31 PM
> To: mail=veritas-bu < at > mailman.eng.auburn.edu
> Subject: Re: [Veritas-bu] New tape drives not appearing in /dev/rmt.
> 
> A solution that worked, and suggested by a Veritas-bu subscriber, was to
> manually add the tape drives to st.conf and reload the driver.  This
> successfully generated the missing /dev/rmt entries and allowed me to
> proceed with the robot and drive configuration using tpconfig.
> 
> Steps:
> 
> Added entries to /kernel/drv/st.conf:
> name="st" parent="fp" target=0 lun=0 fc-port-wwn="500308c00189780a";
> name="st" parent="fp" target=0 lun=1 fc-port-wwn="500308c00189780a";
> name="st" parent="fp" target=0 lun=2 fc-port-wwn="500308c00189780a";
> name="st" parent="fp" target=0 lun=3 fc-port-wwn="500308c00189780a";
> name="st" parent="fp" target=0 lun=4 fc-port-wwn="500308c00189780a";
> name="st" parent="fp" target=0 lun=0 fc-port-wwn="500308c00189780b";
> name="st" parent="fp" target=0 lun=1 fc-port-wwn="500308c00189780b";
> name="st" parent="fp" target=0 lun=2 fc-port-wwn="500308c00189780b";
> name="st" parent="fp" target=0 lun=3 fc-port-wwn="500308c00189780b";
> name="st" parent="fp" target=0 lun=4 fc-port-wwn="500308c00189780b";
> 
> Determine st driver Id and display details:
> modinfo | grep st
> ...
> 
> modinfo -i 49
> Id Loadaddr   Size Info Rev Module Name
> 49 786e0000  132e4  33   1  st (SCSI tape Driver 1.221)
> 
> Reloaded st driver:
> modunload -i 49
> 
> modinfo -i 49
> can't get module information: Invalid argument
> 
> devfsadm -i st
> 
> tpconfig work.
> 
> Backups now working fine to the new tape drives.
> 
> 
> ________________________________________
> From: Vines, Peter (psv2b)
> Sent: Monday, December 24, 2007 12:49 PM
> To: Vines, Peter (psv2b); psv2b; mail=veritas-bu < at > mailman.eng.auburn.edu
> Subject: RE: [Veritas-bu] New tape drives not appearing in /dev/rmt.
> 
> Adding the entry to st.conf followed by a boot -r did NOT fix my
> problem.  The missing /dev/rmt entries are still missing.
> 
> I've opened another issue with SUN.
> 
> The original six drvies in the L700 are still there and usable.
> 
> The new four drives in the Scalar i2000 do not exist in /dev/rmt, yet
> are shown in cfgadm.
> 
> -----Original Message-----
> From: veritas-bu-bounces < at > mailman.eng.auburn.edu on behalf of Peter 
> Vines
> Sent: Wed 12/12/2007 7:13 PM
> To: veritas-bu < at > mailman.eng.auburn.edu
> Subject: Re: [Veritas-bu] New tape drives not appearing in /dev/rmt.
> 
> SUN's response is that my st.conf is missing:
> 
> name="st" parent="fp" target=0;
> 
> 
> > From looking at old files, this line was probably removed by mistake in
> > 
> 2005 during another drive configuration, and obviously is not needed for
> the existing L700 and 9840 drives which are working fine.
> 
> Now to find time and get permission to boot the production server...
> 
> 
> 
> > 
> > > 
> > > 
> > > On Dec 10, 2007 6:39 PM, Peter Vines <psv2b < at > virginia.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.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/20071
> > > 210/637ebd20/attachment-0001.htm_
> > > 
> > > 
> > > 
> > 
> > 
> 
> --
> - Peter Vines : peter.vines < at > virginia.edu : (434) 924-4644
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu < at > mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 
> 
> 
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu < at > mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu < at > mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


+----------------------------------------------------------------------
|This was sent by chris AT schweeb DOT org via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] New tape drives not appearing in /dev/rmt., schweeb <=