Interesting - I'll look at bplabel the next go around. Thanks
________________________________ From: A Darren Dunham <ddun...@taos.com> To: veritas-bu@mailman.eng.auburn.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@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu