Randy

This would probably help us with NDMP jobs since they cannot be quick erased, 
thanks.

OneWest Bank, FSB
Daniel Jimenez
Technical Consultant
16608 Valley View Ave
La Mirada, CA 90638
Phone: 714-520-3421
Cell: 562-480-2966
Fax: 714-520-3470
daniel.jime...@owb.com<mailto:daniel.jime...@imb.com>
Website: http://www.owb.com/<http://www.imb.com/>
Website: http://www.onewestbank.com/<http://www.imb.com/>
____________________________________________________________________
This message contains information which may be confidential and privileged.
Unless you are the addressee (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
let the sender know and delete the message. Thank you.

From: Randy Doering [mailto:rdoeri...@verizon.net]
Sent: Tuesday, November 10, 2009 11:14 AM
To: Jimenez, Daniel; Jeff Lightner; veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Quick Erase Script (Windows)

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.

----------------------------
#!/bin/sh
for tapeid in `cat delete-DD.txt`; do
    slot=`vmquery -m $tapeid | grep "robot slot"`
    slotn=`echo $slot | cut -b 13-`
    barcode=`echo $tapeid"L1"`
date
echo $barcode
echo $slotn
# Netbackup Expire the tape.
      bpexpdate -m $tapeid -d 0 -force
      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"
-----------------------------
The L1 above is because we use LTO1 in the DD.
SSH keys are setup from one of our Linux Media Servers to do both the NBU and 
DD commands.

Randy


________________________________
From: "Jimenez, Daniel" <daniel.jime...@owb.com>
To: Jeff Lightner <jlight...@water.com>; "veritas-bu@mailman.eng.auburn.edu" 
<veritas-bu@mailman.eng.auburn.edu>
Sent: Tue, November 10, 2009 2:07:15 PM
Subject: Re: [Veritas-bu] Quick Erase Script (Windows)
Jeff

Try running quick erases on your tapes after you run a filesys clean and then 
run a filesys clean again and see if you recover additional space on the DDR’s. 
This will tell you how efficiently you are using your tapes. In addition, this 
is information we received from our Data Domain representative and from other 
techs we have worked with so this takes us right back to why we need the script.

Daniel Jimenez
Data Protection Team



From: Jeff Lightner [mailto:jlight...@water.com]
Sent: Tuesday, November 10, 2009 11:00 AM
To: Jimenez, Daniel; veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Quick Erase Script (Windows)

We use Data Domain here and haven’t seen that.

Are you running image cleanup jobs in NBU?

________________________________
From: Jimenez, Daniel [mailto:daniel.jime...@owb.com]
Sent: Tuesday, November 10, 2009 1:45 PM
To: Jeff Lightner; veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Quick Erase Script (Windows)

Jeff

When you use Data Domain DDR’s if one of the tapes becomes scratch and is not 
re-used right away, they hold data that is not cleaned up on the DDR until they 
are used or quick erased so there can be a few GB’s or several hundred GB’s 
that can be sitting on the DDR that can be cleaned up.  Which is why we are 
looking for a script.

Daniel Jimenez
Data Protection Team


From: Jeff Lightner [mailto:jlight...@water.com]
Sent: Tuesday, November 10, 2009 10:34 AM
To: Jimenez, Daniel; veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Quick Erase Script (Windows)

There’s no need to erase scratch tapes.  When they are scratch then they will 
be overwritten the next time NBU uses them.

________________________________
From: veritas-bu-boun...@mailman.eng.auburn.edu 
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Jimenez, Daniel
Sent: Tuesday, November 10, 2009 1:04 PM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Quick Erase Script (Windows)

Hey guys

Does anyone have a quick erase script for Netbackup 6.5.3.1 (Windows 2003 
Enterprise server)? I would like to be able to schedule the script to find all 
scratch tapes and run a quick erase on these tapes on a weekly basis. In 
addition, we have Unix utilities on the box so we can use these commands on the 
server.  Any assistance would be appreciated, thanks.

Daniel Jimenez
Data Protection Team


Proud partner. Susan G. Komen for the Cure.

Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential 
information and is for the sole use of the intended recipient(s). If you are 
not the intended recipient, any disclosure, copying, distribution, or use of 
the contents of this information is prohibited and may be unlawful. If you have 
received this electronic transmission in error, please reply immediately to the 
sender that you have received the message in error, and delete it. Thank you.
----------------------------------
_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to