Video Screencast Help
Search Video Help Close Back
to help

Swapping Tape Drive while system is running

Created: 05 Aug 2010 | Updated: 30 Nov 2012 | 8 comments
matt077's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Can any one confirm this for me please

If i unplug a tape drive from a system which is still running and plug a new drive onto it,  will netback up use the new one fine? (when unplugging the system will not be using that tape drive!)

System is running solaris 9 so once the tape drive swap as happend, if i use command devfsadm and add back into the netback, will it all work fine?

also how would i remove the serial number from netbackup of the old  tape drive?

thanks

Comments 8 CommentsJump to latest comment

MarcoV@NL's picture

Matt,
If you swap a drive, a new S/N will be detected by NBU.
Because that is also recorded in the EMM db, you will need to modify it.
You can delete the old drive and run de Device Configuration Wizard to detect the new drive.

Or use the procedure mentioned in; http://seer.entsupport.symantec.com/docs/271366.htm
Good luck!

0
Login to vote
  • Actions
matt077's picture

many thanks for your reply

at the min, the system can use the new drive fine

tho NB is still showing the serial number of the old drive, just a case of delete the old tape drive?

0
Login to vote
  • Actions
MarcoV@NL's picture

Matt,

Yes, and it will lead to problems. So, delete the old drive or use the replace method described in previous mentioned technote.

Regards,

0
Login to vote
  • Actions
matt077's picture

thanks for your help again, i will try the above :-)

0
Login to vote
  • Actions
wr's picture

#remove old drive
devfsadm -C -c tape

#install new drive
cfgadm -al | grep tape
cfgadm -al -c configure
<cX:wwn>

#confirm device link points to new wwn
ls -l /dev/rmt/?cbn

#update drive serial
tpautoconf -report_disc
tpautoconf -replace_drive <name> -path </dev/rmt/X>

(just did all this myself recently)

will restore -- where there is a Will there is a way

SOLUTION
+2
Login to vote
  • Actions
matt077's picture

new drive is now installed and working (can back up to the drive now)

would "devfsadm -C -c tape" also remove the tape with in NB, I ran "devfsadm" once the new drive was installed

0
Login to vote
  • Actions
MarcoV@NL's picture

Matt,

No, the 'devfsadm' command will only change OS device files.
The 'tpautoconf -replace' command modifies the NBU configuration to reflect the (possibly) change HW path and the new S/N (content in the EMM db).

Regards,

+1
Login to vote
  • Actions
matt077's picture

thats ok then :-)

thanks for the info again

0
Login to vote
  • Actions