Veritas-bu

Re: [Veritas-bu] Quick Erase Script (Windows)

2009-11-10 16:09:48
Subject: Re: [Veritas-bu] Quick Erase Script (Windows)
From: Randy Doering <rdoering2 AT verizon DOT net>
To: A Darren Dunham <ddunham AT taos DOT com>, veritas-bu AT mailman.eng.auburn DOT edu
Date: Tue, 10 Nov 2009 13:09:42 -0800 (PST)
Interesting - I'll look at bplabel the next go around.

Thanks
 


From: A Darren Dunham <ddunham AT taos DOT com>
To: veritas-bu AT mailman.eng.auburn DOT edu
Sent: Tue, November 10, 2009 3:47:50 PM
Subject: Re: [Veritas-bu] Quick Erase Script (Windows)

On Tue, Nov 10, 2009 at 11:14:12AM -0800, Randy Doering wrote:
> Daniel, I use the follow script (nothing to do with scratch tapes) when space gets tight on our DDs and I want to pre-expire some NBU images.
>
> ----------------------------

> ????? vmdelete -m $tapeid -h b2u32
> #
> # DD - Export/Delete/Add/Import the tape
> ssh -l sysadmin datadomain "vtl export DD-VTL slot $slotn"
> ssh -l sysadmin datadomain "vtl tape del $barcode"
> ssh -l sysadmin datadomain "vtl tape add $barcode capacity 100"
> ssh -l sysadmin datadomain "vtl import DD-VTL barcode $barcode"
> ? done
> ssh -l sysadmin datadomain "filesys clean start"

I'm sure what you're doing works fine.  But you can replace everything
above with a single 'bplabel' command, and you don't have to run an
inventory afterward.  (And it'll work with any VTL)

--
Darren
_______________________________________________
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