Veritas-bu

Re: [Veritas-bu] vmchange use for eject of tape from library

2008-05-29 16:10:47
Subject: Re: [Veritas-bu] vmchange use for eject of tape from library
From: Bluejay AT fujigreenwood DOT com
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Date: Thu, 29 May 2008 15:54:01 -0400
> I'm still using NBU6.0, upgrading to 6.5.2 soon

> So you command below
> vmchange -e -sec 1 -res -m $MEDIAID -mt $TYPE -rt tld -rn $LIBR -rh
> <MASTERSERVER> -v $GRP -rc1 $SLOT

> You are ejecting one tape at a time i'm i right? 

Yes.

>If that is so, you 
> need to do a vmquery to find the mediaid slot no before you can 
> eject the tape using vmchange.

The script of which that command is a part handles doing a vmquery and 
other work to generate all the parameters based on the media ID.

> If my CAP or MAP has only 16 slots 
> and i have 30 tapes to eject, what will happened? Will this command 
> continue after you taken the first 16 tapes out from the CAP? or you
> need to script your command based on the max number of slot in your 
> CAP? 

The script checks the output slots and stops if they're all full. I 
suppose it'd be possible to modify it to wait until one or more slots were 
free and then continue.


                                                                      - 
Bluejay Adametz
 
Definition: Unipea n. A peanut with only one compartment. 

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu