cancel
Showing results for 
Search instead for 
Did you mean: 

Swapping Tape Drive while system is running

matt077
Level 5
Partner Accredited

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
1 ACCEPTED SOLUTION

Accepted Solutions

Will_Restore
Level 6
#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)

View solution in original post

8 REPLIES 8

MarcoV
Level 3
Partner Accredited Certified
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!

matt077
Level 5
Partner Accredited

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?

MarcoV
Level 3
Partner Accredited Certified
Matt,

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

Regards,

matt077
Level 5
Partner Accredited

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

Will_Restore
Level 6
#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)

matt077
Level 5
Partner Accredited

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

MarcoV
Level 3
Partner Accredited Certified
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,

matt077
Level 5
Partner Accredited

thats ok then :)

thanks for the info again