Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Specificate slot in inject command

Created: 31 Oct 2013 • Updated: 01 Nov 2013 | 11 comments
jpmichelino's picture
This issue has been solved. See solution.

Hello, I need to know how I can indicate destin slot in de inject command:

#vmchange -res -multi_inject -w -ml <media_id> -verbose -rn <robot_number> -rt TLD -rh <robot_control_host>

I'm trying to do a script to eject and inject a tape. I resolved the first part, but I cant resolve tha last part (this command).

Thank.

Operating Systems:

Comments 11 CommentsJump to latest comment

mph999's picture

You cannot specify a slot for an inject - NBU has no control over this, it is down to the library where the tape goes.

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
SOLUTION
Marianne's picture

Rather use vmupdate that has -empty_map option.

The robot knows where the empty slots are and will place the tapes there.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Eric Zhang's picture

Hi Marianne

from my understanding , to use the vmupdate command is different with to use the vmchange command to inject the volumes to the library.

vmupdate will do 2 things , 1 ) inventory  2) empty the map and move all the media in the CAP to the library

vmchange can just move all the medias in the MAP to the library .

correct me if I am wrong . Cheers !

Eric

If you think this post solved your questions, Please make this post as a solution. Thanks in advance.

Marianne's picture

Yes, the vmupdate command is similar to a inventory with 'Update robot contents' and 'Empty Map' selected. 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Eric Zhang's picture

Netbackup doesnt suppose to manage the Slots , it's managed by the tape library .

so when Netbackup issue the request to move the tapes from the MAP/CAP to the tape library

the tape library robot would pick the tapes from the MAP/CAP and choose the empty slots to use to put the medias .

Eric

If you think this post solved your questions, Please make this post as a solution. Thanks in advance.

mph999's picture

Kinda curious why I get a -1 mark for stating the exact correct answer to the question posted ?

Perhaps somebody doesn't like the answer, but that is hardly my fault.

I see revaroo suffered the same fate, as did Eric!

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Marianne's picture

LOL! Seems all of us got a 'thumbs down'! Don't let it bother you!

The right answer is hardly ever the popular answer. wink

It would be nice if the person(s) disagreeing with us will tell us why! 

PS: Seems someone out there is on some kind of witch hunt, marking everyone down without providing alternatives. see https://www-secure.symantec.com/connect/forums/adding-barcode-label-unknown-volumes

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

revaroo's picture

Seems there is a voting troll. Perhaps the admins could find out who they are and warn/ban them? :)

mph999's picture

The saying - 'Don't bite the hand that feeds you' comes to mind ...

Good idea to get the admins to find out who it is ....

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805