Forum Discussion

matt077's avatar
matt077
Level 5
15 years ago
Solved

Swapping Tape Drive while system is running


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
  • #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)

8 Replies

  • 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!

  • 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?
  • Matt,

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

    Regards,
  • #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)

  • 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
  • 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,