Veritas-bu

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

2006-05-15 05:54:17
Subject: [Veritas-bu] URGENT AND HELP Quickest Way to Freeze Tapes
From: dave.markham AT fjserv DOT net (Dave Markham)
Date: Mon, 15 May 2006 10:54:17 +0100
Not sure how awk and a for x loop are gonna work on windows unless you
are running cygwin or something similar.

D

ckstehman AT pepco DOT com wrote:
>
> Those commands work on Windows.  You need to login as administrator on
> the media server
> that knows about the tape and go to the
> D:\VERITAS\NetBackup\bin\admincmd directory .
> You can run the same commands as unix from that directory on the
> windows server.
> Note this is for Netbackup 5.1 or earlier, on 6.0 it will be different.
>
>
>
> =============================
> Carl Stehman
> IT Infrastructure Team
> Pepco Holdings, Inc.
> 202-331-6619
> Pager 301-765-2703
> ckstehman AT pepco DOT com
>
>
> *Dave Markham <dave.markham AT fjserv DOT net>*
> Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu
>
> 05/12/2006 10:24 AM
> Please respond to
> dave.markham AT fjserv DOT net
>
>
>       
> To
>       "WEAVER, Simon" <simon.weaver AT astrium.eads DOT net>
> cc
>       "'veritas-bu AT mailman.eng.auburn DOT edu'"
> <veritas-bu AT mailman.eng.auburn DOT edu>
> Subject
>       Re: [Veritas-bu] URGENT AND HELP Quickest Way to Freeze Tapes
>
>
>
>       
>
>
>
>
>
> arr ok.
>
> Also i just realized you are windows aint ya :) so my unix stuff wouldnt
> work anyway
>
> D
>
> WEAVER, Simon wrote:
> > 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
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> >
> >  
>
>
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>
>
> This Email message and any attachment may contain information that is
> proprietary, legally privileged, confidential and/or subject to
> copyright belonging to Pepco Holdings, Inc. or its affiliates ("PHI").
> This Email is intended solely for the use of the person(s) to which it
> is addressed. If you are not an intended recipient, or the employee or
> agent responsible for delivery of this Email to the intended
> recipient(s), you are hereby notified that any dissemination,
> distribution or copying of this Email is strictly prohibited. If you
> have received this message in error, please immediately notify the
> sender and permanently delete this Email and any copies. PHI policies
> expressly prohibit employees from making defamatory or offensive
> statements and infringing any copyright or any other legal right by
> Email communication. PHI will not accept any liability in respect of
> such communications.