Veritas-bu

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

2009-11-10 15:47:56
Subject: Re: [Veritas-bu] Quick Erase Script (Windows)
From: A Darren Dunham <ddunham AT taos DOT com>
To: veritas-bu AT mailman.eng.auburn DOT edu
Date: Tue, 10 Nov 2009 20:47:50 +0000
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