Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

How to add new tape drive on Solaris

Created: 03 Jul 2008 • Updated: 21 May 2010 | 3 comments

Hello,

 

My Solaris skills aren't very good, so wondering if any of you could help.

I have a fibre channel tape drive I would like to add into Solaris for NetBackup to use.  I have zoned up the tape drive on the SAN switch correctly and now would like to configure it in Solaris for NetBackup to use.  Question I have is, how do I do that?

 

Many thanks.

 

Richard Sendall.

Comments 3 CommentsJump to latest comment

Andy Welburn's picture

Does it show up in sgscan?

e.g. in our scenario (Solaris 9 Master/Media, NB 6.5.1)

# sgscan
/dev/sg/c1tw2***acdl0: Changer: "OVERLANDNEO Series"
/dev/sg/c1tw5***ac0l0: Tape (/dev/rmt/1): "HP Ultrium 3-SCSI"
/dev/sg/c1tw5***e38l0: Tape (/dev/rmt/2): "HP Ultrium 3-SCSI"
/dev/sg/c1tw5***9ccl0: Tape (/dev/rmt/0): "HP Ultrium 3-SCSI"
/dev/sg/c1tw5***30cl0: Tape (/dev/rmt/3): "HP Ultrium 3-SCSI"

Which are visible thru our FC adapter as shown:
# cfgadm -al
c5 fc-fabric connected configured unknown
c5::2***acd med-changer connected configured unknown
c5::5***ac0 tape connected configured unknown
c5::5***e38 tape connected configured unknown
c5::5***9cc tape connected configured unknown
c5::5***30c tape connected configured unknown

I would also suggest a look thru' the 'Device Configuration Guide'.

Omar Villa's picture

here is a good follow up

 

http://saifulaziz.blogspot.com/2007_03_01_archive.html

 

 

regards

Omar Villa

Netbackup Expert

Twiter: @omarvillaNBU

Vicente Fukuda's picture

hi

 

step 1: solaris must recognize the new tape drive. tape drives are listed in /dev/rmt 0n, 0cbn, etc. these files correspond to 1 tape driv. if u are adding drives, there must b a 1n, 2n, 3n, etc files in /dev/rmt run 

 

# devfsadm -C   and /or

# reboot -- -r

 

step 2: once detected by solaris follow the media manager of nbu guide (solaris section) . b careful with each step. if everything is fine u finally run /usr/openv/volmgr/bin/sgscan all  and must appear something like

 

"STK SL500"

"HP ULTRIUM 2 DRIVE"

...

 

good luck

 

vicente f