cancel
Showing results for 
Search instead for 
Did you mean: 

Tape drives show busy without tapes being loaded to the tape drive in the tape library

Mahmoud_Moussa
Level 5
Partner

Dear All , 

 

  Can any one help me regarding this issue ? 
I have been involved in this issue which is so wierd I have done everything 
I have restart the netbackup , restarted the tape library , restarted the master server , unconfigure and reconfigure the storage units , ...  and still the netbackup sees this tape drive busy 

Does anyone know why ???

Does anyone have clue ?

I have master servers & media servers all of them are Solaris Netbackup version 7.5
Master server OS is Solaris 10 
Two Media servers Solaris 9 & Solaris 8 

1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   

Try this  ,

  • first stop all backup & restore activity.

  • Then run command : nbrbutil -resetAll

You may have tape drive allocation that has not been released.

Technote:

http://www.symantec.com/docs/HOWTO43779

View solution in original post

7 REPLIES 7

Nicolai
Moderator
Moderator
Partner    VIP   

Try this  ,

  • first stop all backup & restore activity.

  • Then run command : nbrbutil -resetAll

You may have tape drive allocation that has not been released.

Technote:

http://www.symantec.com/docs/HOWTO43779

View solution in original post

revarooo
Level 6
Employee

Solaris 8 & 9 are not supported a media servers in NetBackup 7.x

 

Deb_Wilmot
Level 6
Employee Accredited Certified

You might want to simply try resetting the medai server (versus resetAll).

Try:

 nbrbutil -resetMediaServer [servername]

Also check for stale drive files under /usr/openv/netbackup/db/media/drives (these will cause drives not to be reallocated.

A file is stale when the bptm process associated with it is no longer active.  You can cat the file to find the pid.

Or shutdown NetBackup and remove any 'leftover' files.

Deb

Santhosh_SK
Level 3
Partner

 

When you start any backups, look into the bptm logs. Since Master server in Solaris 10, tail the recent bptm log and observe for any discrepencies.

#tail -f log.xxxxx.

 

Also try to release the reservations on the drive.

#vmoprcmd -crawlreleasebyname <drivename>

Santhosh_SK
Level 3
Partner

 

Also, can you confirm whether backups were happening before?

if so,after what point this issue started? any upgradaton or Patching has been done?

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Where exactly do you see 'drive busy'? Please show us what you see. (Screenshot, please.) Also show us output of this command on the master server: /usr/openv/volmgr/bin/vmoprcmd

Mahmoud_Moussa
Level 5
Partner

Dear Mariane 
I don't see the word busy I just see the status of the backup is hang and when I go into the details I just see saying waiting for the drive which is already free 

 

but anyway thanks for all your replies 

the solution was in the first reply in the command given by Nicolai 

Thanks Nicolai and Thanks to all of you :)