Veritas-bu

[Veritas-bu] URGENT AND HELP Quickest Way to Freeze Tapes

2006-05-12 09:31:50
Subject: [Veritas-bu] URGENT AND HELP Quickest Way to Freeze Tapes
From: simon.weaver AT astrium.eads DOT net (WEAVER, Simon)
Date: Fri, 12 May 2006 14:31:50 +0100
Dave
Thanks - in fact I done it a while ago now - using the manual method, but it
did not take as long as I expected :-)

Thanks anyhow

Regards

Simon Weaver
3rd Line Technical Support
Windows Domain Administrator 

EADS Astrium Limited, B32AA IM (DCS)
Anchorage Road, Portsmouth, PO3 5PU

Email: Simon.Weaver AT Astrium-eads DOT net



-----Original Message-----
From: Dave Markham [mailto:dave.markham AT fjserv DOT net] 
Sent: 12 May 2006 14:25
To: WEAVER, Simon
Cc: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: Re: [Veritas-bu] URGENT AND HELP Quickest Way to Freeze Tapes


If its all tapes in your robot id do something on command line for a loop.

Off top of my head id do :-

echo "s s" | /usr/openv/volmgr/bin/tldtest -r <path to robot. e.g
/dev/sg/c3t0l0> |awk '/Barcode/ {print $NF} |xargs bpmedia -freeze -m

If that dont work take off the | xargs bpmedia -freeze -m and do :-

echo "s s" | /usr/openv/volmgr/bin/tldtest -r <path to robot. e.g
/dev/sg/c3t0l0> |awk '/Barcode/ {print $NF} >/tmp/list

for x in `cat /tmp/list`
do
bpmedia -freeze -m $x
done


Then you will have to press y a few times :)

Hope this helps and theres probably an easier way



WEAVER, Simon wrote:
> */Guys/*
> */Have 137 Tapes in my Robot I need to freeze VERY quickly in 
> preperation for new media./*
> *//*
> */apart from bpmedia -freeze is there anything in the gui that will
> allow me to freeze all tapes or all tapes in a volume?/*
> *//* 
> */thanks/*
>  
>
> /Regards/
>
> /Simon Weaver
> *3rd Line Technical Support
> Windows Domain Administrator*/
>
> /EADS Astrium Limited, B32AA IM (DCS)/
> /Anchorage Road, Portsmouth, PO3 5PU/
>
> /Email: //Simon.Weaver AT Astrium-eads DOT net/ 
> <mailto:Simon.Weaver AT Astrium-eads DOT net>
>
>  
> This email is for the intended addressee only.
> If you have received it in error then you must not use, retain, 
> disseminate or otherwise deal with it. Please notify the sender by 
> return email. The views of the author may not necessarily constitute 
> the views of EADS Astrium Limited.
> Nothing in this email shall bind EADS Astrium Limited in any contract
> or obligation.
>
> EADS Astrium Limited, Registered in England and Wales No. 2449259 
> Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 
> 2AS, England
>

This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate or 
otherwise deal with it.
Please notify the sender by return email.
The views of the author may not necessarily constitute the views of EADS 
Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or 
obligation.

EADS Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England