Discussions related to exporting backups to tape and backing up directly to tape.
horst
Enthusiast
Posts: 38
Liked: 4 times
Joined: Aug 27, 2013 6:55 am
Location: GER
Contact:

Re: v7 - Eject Tape option is greyed out

Post by horst »

Hi all,

we have a Dell R420 with a locally attached Dell PowerVault LTO5-140 Tape Drive (IBM ULTRIUM-HH5). We have also installed v7 of Veeam B&R.
Last night the first copy to tape Job ran, with negative result:

Code: Select all


Montag, 26. August 2013 23:00:10 
Success 1 Start time 23:00:10 Total size 210,7 GB Faield to eject tape Error: Automated library not found (id: 4d850089-e255-4882-ae72-acd34ad1b4b4).
 
Warning 0 End time 01:13:56 (+1) Data read 210,7 GB 
Error 0 Duration 2:13:45  Transferred 210,7 GB 
Details  
Name Status Start time End time Size Read Transferred Duration Details 
This server Success 23:00:21 01:13:52 (+1) 210,7 GB 210,7 GB 210,7 GB 2:13:30   
 
 
  
Veeam Backup & Replication 7.0.0.690 
so the automatically eject of the tape would also be highly preferred by us!

btw, I think there is a typo error in the error message at "Faield to eject tape Error"
hoFFy
Service Provider
Posts: 183
Liked: 40 times
Joined: Apr 27, 2012 1:10 pm
Full Name: Sebastian Hoffmann
Location: Germany / Lohne
Contact:

Eject Tape via command line

Post by hoFFy »

Hello all,

maybe I've found another solution this morning:
I successfully tried the Fujitsu FLATt command line tool to eject a LTO4 from our standalone Tandberg drive. I think this is a typical environment for many SMBs out there as written by others before.
The documentation for the tool can be found under ftp://ftp.ts.fujitsu.com/images/TapeFac ... indows.pdf The tool itself ejected the tape without killing the Veeam services and it can be downloaded from http://support.ts.fujitsu.com where you have to navigate to "Drivers & Downloads" -> selecting "Storage", "LTO Desktop" and e.g. LTO-DT-U4S -> your OS -> Tools and Utilitites
This is a one line command line tool, so it should be very easy to integrate into everyones Veeam environment ;)


Now I'm able to eject the tape via a scheduled task every morning.... But do I have to do an inventory scan befor the daily B2D job starts, or doesn't Veeam take care of which tape is in the drive? In the case it takes care how can I tell Veeam to do an inventory scan via command line / PowerShell?
VMCE 7 / 8 / 9, VCP-DC 5 / 5.5 / 6, MCITP:SA
Blog: machinewithoutbrain.de
hoFFy
Service Provider
Posts: 183
Liked: 40 times
Joined: Apr 27, 2012 1:10 pm
Full Name: Sebastian Hoffmann
Location: Germany / Lohne
Contact:

Re: v7 - Eject Tape option is greyed out

Post by hoFFy »

horst wrote:Hi all,

we have a Dell R420 with a locally attached Dell PowerVault LTO5-140 Tape Drive (IBM ULTRIUM-HH5). We have also installed v7 of Veeam B&R.
Last night the first copy to tape Job ran, with negative result:

Hello Horst,

as mentioned earlier in this post: Ejecting of tapes in standalone drives is currently not supported by Veeam.

You could try my solution and see if it works for you.
VMCE 7 / 8 / 9, VCP-DC 5 / 5.5 / 6, MCITP:SA
Blog: machinewithoutbrain.de
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v7 - Eject Tape option is greyed out

Post by veremin »

In the case it takes care how can I tell Veeam to do an inventory scan via command line / PowerShell?
When you load new tapes in your tape device for the first time, these tapes are shown in Veeam Backup & Replication as Unrecognized. In order to identify such tapes, you have to start tape inventory job against them. Providing that there is only one tape drive in your environment, the tape inventory job can be started via the following commands:

Code: Select all

asnp VeeamPSSnapin
$Drive1 = Get-VBRTapeDrive 
$Drive1.TapeMedium | Start-VBRTapeInventory
Thanks.
hoFFy
Service Provider
Posts: 183
Liked: 40 times
Joined: Apr 27, 2012 1:10 pm
Full Name: Sebastian Hoffmann
Location: Germany / Lohne
Contact:

Re: v7 - Eject Tape option is greyed out

Post by hoFFy »

v.Eremin wrote: When you load new tapes in your tape device for the first time, these tapes are shown in Veeam Backup & Replication as Unrecognized. In order to identify such tapes, you have to start tape inventory job against them. Providing that there is only one tape drive in your environment, the tape inventory job can be started via the following commands:

Code: Select all

asnp VeeamPSSnapin
$Drive1 = Get-VBRTapeDrive 
$Drive1.TapeMedium | Start-VBRTapeInventory
Thanks.
Is this only for new tapes that have never been used in Veeam before, or do I have to do inventory scan every time after ejecting the tape via "external" script and inserting a new tape that has benn used before in Veeam?
VMCE 7 / 8 / 9, VCP-DC 5 / 5.5 / 6, MCITP:SA
Blog: machinewithoutbrain.de
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v7 - Eject Tape option is greyed out

Post by veremin » 1 person likes this post

Tape medias that have been previously used by VB&R will be recognized during the tape job run. Meanwhile, for the so-called "new comers" (tape medias that haven't been previously used by VB&R) you will have to utilize the inventory task.

Probably, it’d be better if you just scheduled the above mentioned script as the regular task in Windows Scheduler, so that, each day the tape would be inventoried prior to the job execution.

Thanks.
hoFFy
Service Provider
Posts: 183
Liked: 40 times
Joined: Apr 27, 2012 1:10 pm
Full Name: Sebastian Hoffmann
Location: Germany / Lohne
Contact:

Re: v7 - Eject Tape option is greyed out

Post by hoFFy »

Thanks Vladimir,

I'll give it a try!
VMCE 7 / 8 / 9, VCP-DC 5 / 5.5 / 6, MCITP:SA
Blog: machinewithoutbrain.de
horst
Enthusiast
Posts: 38
Liked: 4 times
Joined: Aug 27, 2013 6:55 am
Location: GER
Contact:

Re: v7 - Eject Tape option is greyed out

Post by horst »

v.Eremin wrote:Tape medias that have been previously used by VB&R will be recognized during the tape job run. Meanwhile, for the so-called "new comers" (tape medias that haven't been previously used by VB&R) you will have to utilize the inventory task.

Probably, it’d be better if you just scheduled the above mentioned script as the regular task in Windows Scheduler, so that, each day the tape would be inventoried prior to the job execution.

Thanks.
so just a question for cunclusion:

I have six tapes (monday to saturday, one per each day) that all have been inventorized in Veeam B&R and added to a pool. I`m changing the tapes every day.
For example when I´m ejecting the monday tape and inserting the thuesday tape, B&R still shows the monday tape located in the tape drive. This only changes, when I´m starting an inventory job.
Then the inserted tape is shown correct.

Is it necessary, to do an inventory after every tape change, or will B&R do an inventory automatically anyway, before the next copy to tape job starts?
Peter_Riederer
Influencer
Posts: 14
Liked: 4 times
Joined: Aug 19, 2013 11:44 am
Full Name: Peter Riederer
Location: Munich, Germany
Contact:

Re: v7 - Eject Tape option is greyed out

Post by Peter_Riederer »

Hello horst,
it is not necessary to do an inventory after changing the tape. B&R uses the tape which is in the drive, that works without any problems.
Cheers
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v7 - Eject Tape option is greyed out

Post by veremin »

As mentioned, previously used tape medias will be recognized by VB&R. Though, the actual recognition won’t happen until a corresponding tape job starts.

So, providing that you’re not going to use any completely new tape media, you can disregard the said “inventory” script. Otherwise, if sometimes it’s a new tap and sometimes it’s previously used one, you'd better schedule the script and let it do its work.

Thanks.
TommyB
Expert
Posts: 123
Liked: 16 times
Joined: Aug 28, 2013 9:46 am
Full Name: Thomas Braun
Location: Germany.Europe.Terra.Sol.Milkyway.Localgroup.Virgo
Contact:

Re: v7 - Eject Tape option is greyed out

Post by TommyB »

Peter_Riederer wrote:Hello Gostev,
Normally an ejected tape, was an indicator to our customers backup was successful. And a lot of our customers only have some normal office staff, who are changing the tapes without any access to the GUI.
Exact the same here - with BackupExec, "tape ejected" was a visual sign of "Backup completed successfully" because I configured it to only eject in case of a successful backup.

That way I never had to start BackupExec to check if a job was successful, but only when the tape did not come out in the morning. Plus I never got bothered by "Backup successful" emails every day.

I'd vote for a "eject on successful backup" option for single drives as well.
horst
Enthusiast
Posts: 38
Liked: 4 times
Joined: Aug 27, 2013 6:55 am
Location: GER
Contact:

Re: v7 - Eject Tape option is greyed out

Post by horst »

TommyB wrote: Exact the same here - with BackupExec, "tape ejected" was a visual sign of "Backup completed successfully" because I configured it to only eject in case of a successful backup.

That way I never had to start BackupExec to check if a job was successful, but only when the tape did not come out in the morning. Plus I never got bothered by "Backup successful" emails every day.

I'd vote for a "eject on successful backup" option for single drives as well.
I vote, too! :D
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v7 - Eject Tape option is greyed out

Post by veremin »

Yep, guys, these forums are always thoughtfully monitored for potential features or future improvements. So, taking into account the demand for this particular option, there is certainly something for us to consider. :)

Thanks again for the valuable feedback.
hoFFy
Service Provider
Posts: 183
Liked: 40 times
Joined: Apr 27, 2012 1:10 pm
Full Name: Sebastian Hoffmann
Location: Germany / Lohne
Contact:

Re: v7 - Eject Tape option is greyed out

Post by hoFFy »

v.Eremin wrote:Yep, guys, these forums are always thoughtfully monitored for potential features or future improvements. So, taking into account the demand for this particular option, there is certainly something for us to consider. :)

Thanks again for the valuable feedback.

I just wanted to say "Thank you" for the fast and excellent responses from the Veeam-Team in this forum!

[small joke]
I'm very interested in a look behind the scenes at Veeam and their internal "requested feature list" with its priorities... like the internal road map... just like a child before christmas :D
[/small joke]
VMCE 7 / 8 / 9, VCP-DC 5 / 5.5 / 6, MCITP:SA
Blog: machinewithoutbrain.de
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v7 - Eject Tape option is greyed out

Post by veremin » 1 person likes this post

Just like a child before christmas
Hopefully, Santa will be good to you. :D
JeWe
Enthusiast
Posts: 72
Liked: 9 times
Joined: Mar 04, 2013 2:41 pm
Contact:

Re: v7 - Eject Tape option is greyed out

Post by JeWe » 1 person likes this post

horst wrote: I vote, too! :D
And another vote from Germany ;-)

P.S.: I like the V7 very much till now. Not regarding the missing tape eject ;-) But, to be serious, Veeam is the best product I used for backup!
hoFFy
Service Provider
Posts: 183
Liked: 40 times
Joined: Apr 27, 2012 1:10 pm
Full Name: Sebastian Hoffmann
Location: Germany / Lohne
Contact:

Re: v7 - Eject Tape option is greyed out

Post by hoFFy » 1 person likes this post

JeWe wrote:
And another vote from Germany ;-)

P.S.: I like the V7 very much till now. Not regarding the missing tape eject ;-) But, to be serious, Veeam is the best product I used for backup!
Yeah, Germany loves Veeam! 8)
VMCE 7 / 8 / 9, VCP-DC 5 / 5.5 / 6, MCITP:SA
Blog: machinewithoutbrain.de
omorin
Enthusiast
Posts: 37
Liked: 4 times
Joined: Oct 19, 2010 1:37 pm
Full Name: olivier morin
Location: Bergerac, France
Contact:

Re: v7 - Eject Tape option is greyed out

Post by omorin »

Bonjour,

Where can i find the rigth itdt.exe ?

I have downloaded itdtinst1.2Windows.exe from the IBM site, but unload is a parameter not supported by this version.

Any idea ?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v7 - Eject Tape option is greyed out

Post by veremin »

Hi, Olivier. Have you already seen this page?
IBM Tape Diagnostic Tool is available to download at IBM's new Fix Central web site. If using this link you will just need to choose your platform and press continue. Check the box next to the correct version and click continue. On the next page you can start downloading ITDT.
Thanks.
omorin
Enthusiast
Posts: 37
Liked: 4 times
Joined: Oct 19, 2010 1:37 pm
Full Name: olivier morin
Location: Bergerac, France
Contact:

Re: v7 - Eject Tape option is greyed out

Post by omorin »

Bonjour,

Thanks v.Eremin, but i did download from this link.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v7 - Eject Tape option is greyed out

Post by veremin »

Then, you’d better contact IBM with this issue, since according to the corresponding User Guide (p.268) this command should be present. Also, as far as I can tell you from my own testing, command seems, indeed, to be there.
Unload Tape
When you select the Unload Tape command [30], ITDT issues the unload tape command.
Thanks.
omorin
Enthusiast
Posts: 37
Liked: 4 times
Joined: Oct 19, 2010 1:37 pm
Full Name: olivier morin
Location: Bergerac, France
Contact:

Re: v7 - Eject Tape option is greyed out

Post by omorin »

Bonjour again,

I read the book, and i tried :

itdt -f \\.\Tape0 unload

And nothing except this screen :

Code: Select all

     IBM TotalStorage Tape Diagnostic Tool SE - V1.2

     Entry Menu

     [S] Scan for tape drives

     [H] Help
     [Q] Quit program



     Notes:
     - During a test, user data on the cartridge will be erased!
     - Make sure no other program is accessing the devices used by ITDT!
     - A device scan may take several minutes in some cases!

     - Q + Enter will always close this program.
     - H + Enter will display a Help page.




<[H] Help | [Q] Quit | Command >
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v7 - Eject Tape option is greyed out

Post by veremin »

It seems that you have missed [open mode] parameter that should be placed after filename. As to filename, be sure to specify there device special file for the drive/changer or the device address (host bus target lun).

Anyway, as mentioned above, it might be worth contacting IBM directly for all questions regarding ITDT utility syntax, since they will be able to assist you effectively with solving IBM-related issues.

Thanks.
guillermo.lozano
Enthusiast
Posts: 69
Liked: 10 times
Joined: Feb 04, 2013 4:35 pm
Full Name: Guillermo Lozano
Contact:

Re: v7 - Eject Tape option is greyed out

Post by guillermo.lozano »

Hello, I cast my vote here for tape eject functionality on standalone drives.
Thanks.

Regards,
Guillermo.-
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: v7 - Eject Tape option is greyed out

Post by Dima P. »

Guillermo, as it was noted above we added this functionality to the list for the upcoming releases. Thank you.
Peter_Riederer
Influencer
Posts: 14
Liked: 4 times
Joined: Aug 19, 2013 11:44 am
Full Name: Peter Riederer
Location: Munich, Germany
Contact:

Re: v7 - Eject Tape option is greyed out

Post by Peter_Riederer »

Dmitry, is there a public list which feature requests are currently in progress for verification or which are already acknowledged and will be provided in the next release?
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: v7 - Eject Tape option is greyed out

Post by Dima P. »

Peter, there is no public list - we do not disclose our roadmap.
Gostev
Chief Product Officer
Posts: 31457
Liked: 6648 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: v7 - Eject Tape option is greyed out

Post by Gostev »

We are planning to add this feature in the short term, but we do not have any public facing roadmap for the upcoming product updates. Partly because we like to be able to remain flexible, and drop or postpone any feature due to unexpected change of release plans, or issues encountered.
omorin
Enthusiast
Posts: 37
Liked: 4 times
Joined: Oct 19, 2010 1:37 pm
Full Name: olivier morin
Location: Bergerac, France
Contact:

Re: v7 - Eject Tape option is greyed out

Post by omorin »

Bonjour,

I have found some news :devioctl.exe eject \\.\Tape2147483646

http://raunomagi.blogspot.fr/2012/07/dp ... -2008.html
http://www.ltr-data.se/opencode.html/
http://technet.microsoft.com/en-us/libr ... 10%29.aspx

Unfortunately, i do not use DMP2010... so i do not know how to get my Tape number !
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v7 - Eject Tape option is greyed out

Post by veremin »

As far as I know, tape symbolic name should be shown in the setting of a given drive in Windows device manager:

Device Manager -> Tape drives -> Right-click required drive -> Tape symbolic name

Also, it can be gotten via PowerShell (be aware that this script will work if you have only one tape drive; otherwise, you have to change it slightly in order to pass the necessary one):

Code: Select all

asnp VeeamPSSnapin
$Drive = Get-VBRTapeDrive 
$Drive.GetDeviceName() 
Thanks.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 26 guests