Discussions specific to tape backups
Post Reply
perjonsson1960
Expert
Posts: 115
Liked: 7 times
Joined: Jun 06, 2018 5:41 am
Full Name: Per Jonsson
Location: Sweden
Contact:

Tape cleaning

Post by perjonsson1960 » Jul 31, 2019 8:05 am

Folks,

Our tape robot indicates that one of the drives has sent a "clean request", but Veeam has not reacted. Is the clean performed when the next tape job starts, or is it supposed to be performed immediately? The tape robot is configured to NOT do tape cleaning itself, and Veeam is configured to "perform tape cleaning automatically". And yes, there is a cleaning cassette in one of the slots... ;-)

We are running B&R 9.5 U4a and the tape robot is a HPE StoreEver MSL6480.

PJ

nitramd
Expert
Posts: 191
Liked: 43 times
Joined: Feb 16, 2017 8:05 pm
Contact:

Re: Tape cleaning

Post by nitramd » Jul 31, 2019 1:42 pm

Hello Per.

In my experience, it is the tape library or drive that actually handles the clean request not the backup software.

perjonsson1960
Expert
Posts: 115
Liked: 7 times
Joined: Jun 06, 2018 5:41 am
Full Name: Per Jonsson
Location: Sweden
Contact:

Re: Tape cleaning

Post by perjonsson1960 » Jul 31, 2019 2:17 pm

Hi,

Thanks for your reply! I just found this:

https://helpcenter.veeam.com/docs/backu ... l?ver=95u4

It seems that Veeam waits for the next tape job.

PJ

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

Re: Tape cleaning

Post by Dima P. » Jul 31, 2019 3:22 pm 1 person likes this post

Hello PJ,

When automated cleaning is enabled we will track the 'cleaning required' state from the tape device. Whenever 'cleaning required' state is received during tape job - it's going to be performed whenever any other tape job kicks in (no to interfere with actual backup process).

perjonsson1960
Expert
Posts: 115
Liked: 7 times
Joined: Jun 06, 2018 5:41 am
Full Name: Per Jonsson
Location: Sweden
Contact:

Re: Tape cleaning

Post by perjonsson1960 » Aug 01, 2019 11:07 am

Thanks! And this will be reflected in the logs?

PJ

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

Re: Tape cleaning

Post by Dima P. » Aug 01, 2019 12:00 pm 1 person likes this post

Yup, you will get a warning in the tape job log that tape drive requires cleaning as well as log will indicate when cleaning has been performed. Cheers!

perjonsson1960
Expert
Posts: 115
Liked: 7 times
Joined: Jun 06, 2018 5:41 am
Full Name: Per Jonsson
Location: Sweden
Contact:

Re: Tape cleaning

Post by perjonsson1960 » Aug 05, 2019 8:59 am

I got this in the log as the tape job started:

2019-08-05 10:34:39 :: TapeDrive alert: The tape drive is due for routine cleaning:. Wait for the current operation to finish. Then use a cleaning cartridge. Check the tape drive user manual for device specific cleaning instructions.

That doesn't sound like it has done or will do an automatic cleaning... The job has loaded backup tapes into both drives, and has started to back up to tape. This will go on for at least 50 hours or so. This means that the job started the back up without cleaning the drive first, right?

lyapkost
Veeam Software
Posts: 173
Liked: 27 times
Joined: Nov 27, 2015 2:26 pm
Full Name: Konstantin
Location: Saint Petersburg
Contact:

Re: Tape cleaning

Post by lyapkost » Aug 05, 2019 9:53 am

Hi. That's standart drive alert (21 in the list) which sould be followed by cleaning operation if cleaning is enabled in the library's properties in VBR and there's a valid cleaning tape in the library's magazine. If both conditions were met but cleaning didn't start I'd recommend opening a support case.

perjonsson1960
Expert
Posts: 115
Liked: 7 times
Joined: Jun 06, 2018 5:41 am
Full Name: Per Jonsson
Location: Sweden
Contact:

Re: Tape cleaning

Post by perjonsson1960 » Aug 07, 2019 2:05 pm

Although the only thing B&R ever logged in the tape job was...

"The tape drive is due for routine cleaning:. Wait for the current operation to finish. Then use a cleaning cartridge. Check the tape drive user manual for device specific cleaning instructions."

...it seems that it has actually performed the cleaning at some point, because when I log in to the tape robot, and look at the status, the cleaning cassette says "Use count: 2" (we have two drives), and the tape robot gives a green light on everything. Before the tape job started the robot indicated a warning about that one of the drives needed cleaning. So it seems that B&R did the cleaning, but didn't log it.

PJ

sasilik
Enthusiast
Posts: 45
Liked: 2 times
Joined: Jun 12, 2014 11:01 am
Full Name: Markko Meriniit
Contact:

Re: Tape cleaning

Post by sasilik » Sep 05, 2019 7:38 am

lyapkost wrote:
Aug 05, 2019 9:53 am
Hi. That's standart drive alert (21 in the list) which sould be followed by cleaning operation if cleaning is enabled in the library's properties in VBR and there's a valid cleaning tape in the library's magazine. If both conditions were met but cleaning didn't start I'd recommend opening a support case.
I got this morning notification from tape library that one drive needs cleaning. It was sent just after one tape job finished. But I did not see any notifications in VBR or any mention of it on tape job log files. Couple hours after notification from tape library I said to the library that "clean the drive". Should I have waited until the beginning of next job and then VBR would have cleaned the drive itself? I have cleaning enabled on VBR and not enabled on tape library hardware and cleaning tape was in the library's magazine.

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

Re: Tape cleaning

Post by Dima P. » Sep 05, 2019 10:00 am

I got this morning notification from tape library that one drive needs cleaning. It was sent just after one tape job finished. But I did not see any notifications in VBR or any mention of it on tape job log files.

If the email notification was create by Veeam tape job - there should be a job session with a warning in it. Pleas take a look at the History > Tape and check if you have any jobs with warning state?
Should I have waited until the beginning of next job and then VBR would have cleaned the drive itself?
Yes, manual cleaning is not required. The fist action of any tape job pointed to that drive will be drive cleaning. Cheers!

sasilik
Enthusiast
Posts: 45
Liked: 2 times
Joined: Jun 12, 2014 11:01 am
Full Name: Markko Meriniit
Contact:

Re: Tape cleaning

Post by sasilik » Sep 09, 2019 11:30 am

As I stated the notification was from tape library itself. At first I thought that it was Veeam and I went to look at History and tape job log files but I didn't see anything related to tape cleaning and there were no warnings. And then I took a closer look and saw that it was a notification from library itself. I let library do the cleaning itself this time but if same thing happens next time then I am going to wait for the next job to start and see if there is going to be cleaning process and information about it.

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

Re: Tape cleaning

Post by Dima P. » Sep 11, 2019 2:51 pm

sasilik,

Can you please check if the tape cleaning is enabled in the library properties in Veeam B&R? When enabled - there is no need to perform cleaning in the tape library console. Cheers!

sasilik
Enthusiast
Posts: 45
Liked: 2 times
Joined: Jun 12, 2014 11:01 am
Full Name: Markko Meriniit
Contact:

Re: Tape cleaning

Post by sasilik » Sep 17, 2019 11:31 am

Tape cleaning is enabled in Veeam B&R.

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

Re: Tape cleaning

Post by Dima P. » Sep 20, 2019 2:36 pm

Thank you for the confirmation. Please keep an eye on your tape jobs and once you notice the cleaning notification in the job log (it also should be included in the email report) and let us know how it goes. Cheers!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests