I'm getting the error "No media in drive" for hours at a time and then the error goes away
for some weeks. On checking the Commvault logs I get this:
3224 f04 09/28 17:11:01 ###### CDB >> 0x00|0x00|0x00|0x00|0x00|0x00|
3224 f04 09/28 17:11:01 ###### Sense Data >> 0x70|0x00|0x02|0x00|0x00|0x00|0x00|0x14|0x00|0x00|0x00|0x00|0x04|0x01|0x00|0x00|0x00|0x00|
Sense Key [0x02], ASC [0x04],ASCQ [0x01]
3224 f04 09/28 17:11:01 ###### The SCSI device is in the process of becoming ready
which appears to be happening when mounting a tape.
The tape drives HP are connected to the media server using FC - SCSI over FC. All the media servers and tape library are rebooted when I get the problem. The problem seems to persist for up to 8 hours then goes away.
I think the root of the problem is that Commvault waits 2 minutes for the tape to be mounted. If the mount does not complete within 2 minutes it assumes there is a problem with the tape drive and I get the "No media in drive" error message.
Can I change the time that Commvault waits for a tape to be loaded?