Discussions specific to tape backups
Post Reply
andyman3000
Influencer
Posts: 18
Liked: 1 time
Joined: Nov 30, 2017 5:46 pm
Full Name: Andy Perkins
Contact:

Tape error: '21' (The device is not ready.)

Post by andyman3000 » Feb 06, 2019 1:45 pm

This error has been a huge thorn in my side for at least a year since I deployed a Quantum i6 tape library with iBlade over a year ago.

I have 10 VMWare backup jobs to HPE Catalyst Shares off StoreOnce as source of varying VM count & size each, and each has its respective Backup-to-Tape job set to continuous as backup files appear. All backing up to a single tape server/media pool 5 x LTO7.

Since I'm backing up to Catalyst share, the backup to tape jobs do not begin until the source job is complete and idle.

For whatever reason a specific tape drive will intermittently say that a Drive is not ready, but instead of moving to the next drive it will continue down the list of servers and fail each one. The backup to tape job fails, and it re-tries the job a few minutes later with the same results. This morning I woke up to 100's of failure emails each separated about 3 minutes apart with the same error for the same tape job.
Image

In dealing with this problem for some time now very randomly/intermittently, but common enough to where it has lowered quality of life always needing to be within range of a comptuer to login in and babysit these jobs. I need to be able to login and preform my workaround, as I've found a one...A very simple one.

I just disable the effected tape drive in Veeam. And then Veeam will move on to the next tape drive within seconds even in an active job and begin moving data to tape.

Image

Once the drive is disabled, and the job continues to move data, I can then Re-enable the disabled tape drive and the job will use it with no issue.

This of course, may happen again randomly when the source jobs runs on the next interval and complete when the continuous backup-to-tape jobs starts and begins enumerating detected backup files.

I will open a new case, I believe the one i've opened in the past support was trying to get me to look at my windows device setting on my tape server (Which are all fine, enabled, active), which I admit I probably closed in frustration as I've troubleshoot hardware already, worked with vendor on the tape issue, narrowing down the issue between hardware and software is tough...

The tape drive(s) is completely idle, no cleanings are happening, no other apps are trying to use the drive. My only thought is that another tape job is planning on using the drive (even though it's not locked/or being actively used?)

Any potential problems (if anyone an find one) in my environment aside, this should be considered a feature request as well. I do not see why Veeam cannot simply try another drive (when this happens there are always drives available and not in use). The media pool settings has some failover options to try another library if a tape library is offline, I just wish if the tape job has some issue with the drive why can it not simply try another drive?

Am considering writing some scripts to automate this process of disabling an "in use drive", since disabling it for a few minutes, will allow the job to continue.

Once the job progresses, I enable the drive and it is free for the existing job (or any job) to freely use with no issue. That is until the next source backup occurs and completes, then tape jobs may randomly have this problem.

Case #03401343 was created.

Dima P.
Product Manager
Posts: 10284
Liked: 832 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Tape error: '21' (The device is not ready.)

Post by Dima P. » Feb 06, 2019 2:23 pm

Hello Andy,

Thank you for detailed explanation of your issue. To be honest I'd stay away from the script workaround. Looks like the issue might be hardware related (drivers or device hardware conflicts), so definitely must be investigated. Please keep working with our support team and don't forget to update this thread with the investigation results. Cheers!

Sloan
Influencer
Posts: 11
Liked: never
Joined: Jan 14, 2013 6:40 pm
Full Name: Sloan Essman
Location: Houston, TX
Contact:

Re: Tape error: '21' (The device is not ready.)

Post by Sloan » Aug 12, 2019 3:22 pm

A long term followup after 2 more months of hashing through one step at a time and with support cases through Quantum and Veeam:

After updating the library and tape drive firmware I changed the cabling to the drives on the iblade server to match Quantum's recommended config for 5 drives (3 direct connected and the other 2 through a single zone on the Brocade switch). This didn't seem to make a difference so then we updated the drivers on the iblade for the drives and media changer (and set it to a windows driver instead of Quantum and use SCSI commands). For good measure we also updated firmware and drivers for the HBAs and NICs which were several versions out of date and now I've been running for over 2 weeks with no issues when before it was hard to go a day without problems. So was it a single issue or a combination I don't know, but don't care either! The biggest breakthrough was getting the Quantum case escalated to upper level support who actually knew the inner workings of the library and iblade, unlike 1st-2nd level support. Veeam escalated support was also very helpful in ruling out what the veeam jobs were actually seeing and reporting on.

THEN the robot died last week and had to be replaced and we suspect it was due to the shock of running for 2 weeks straight without its usual downtime to rest when the drives and library would go offline!
Sloan Essman
Energy Transfer Partners

Dima P.
Product Manager
Posts: 10284
Liked: 832 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Tape error: '21' (The device is not ready.)

Post by Dima P. » Aug 15, 2019 12:25 pm

Hello Sloan,

Thank you for sharing your issues resolution with the community. Glad to hear that the issue is resolved and hope that your hardware will be replaced easily and without any issues. Cheers!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests