Veritas-bu

[Veritas-bu] NB not deleting disk image files after expiratio n time

2004-05-19 12:50:57
Subject: [Veritas-bu] NB not deleting disk image files after expiratio n time
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Wed, 19 May 2004 10:50:57 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C43DC1.50F41F18
Content-Type: text/plain;
        charset="iso-8859-1"

This is almost without a doubt the fix.  I've had a backup running for
*days* - another problem that needs to be fixed - but it's holding up the
works.
 
Thanks!
 
-M

-----Original Message-----
From: Chapman, Scott [mailto:Scott.Chapman AT icbc DOT com]
Sent: Wednesday, May 19, 2004 10:45 AM
To: 'Dan Otto'; Mark.Donaldson AT cexp DOT com
Subject: RE: [Veritas-bu] NB not deleting disk image files after expiratio n
time


Doh!!  Dan is right.  I forgot to mention that file!  Thanks Dan!

_____________________________________________________ 
Scott Chapman 
Enterprise Computing Technical Support 
ICBC - Victoria 
Phone: 250.414.7650  Fax: 250.978.8003  Cel: 250.213.9295 

-----Original Message-----
From: Dan Otto [mailto:Dan.Otto AT veritas DOT com] 
Sent: Wednesday, May 19, 2004 9:40 AM
To: Chapman, Scott; Mark.Donaldson AT cexp DOT com;
veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] NB not deleting disk image files after expiratio n
time



Also use the touch file # touch /usr/openv/netbackup/bin/CLEAN_IN_BACKGROUND

So the clean up will run even if you have a backup running.

 

-----Original Message-----
From: Chapman, Scott [mailto:Scott.Chapman AT icbc DOT com] 
Sent: Wednesday, May 19, 2004 11:22 AM
To: 'Mark.Donaldson AT cexp DOT com'; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] NB not deleting disk image files after expiratio n
time

 

Mark, 

We had the same problem and opened a call with Veritas.  So to fix the
problem we run the following from cron a couple times an hour otherwise we
would run out of disk space the next time the backups ran . . .

/usr/openv/netbackup/bin/admincmd/bpimage -cleanup -allclients 

Hope this helps. 

_____________________________________________________ 
Scott Chapman 
Enterprise Computing Technical Support 
ICBC - Victoria 
Phone: 250.414.7650  Fax: 250.978.8003  Cel: 250.213.9295 

 

-----Original Message----- 
From: Mark.Donaldson AT cexp DOT com [ mailto:Mark.Donaldson AT cexp DOT com
<mailto:Mark.Donaldson AT cexp DOT com> ] 
Sent: Wednesday, May 19, 2004 8:52 AM 
To: veritas-bu AT mailman.eng.auburn DOT edu 
Subject: [Veritas-bu] NB not deleting disk image files after expiration time


 

I've got vault duplicating a disk storage unit to a set of tapes and 
resetting the on-disk copy to an 8 hours expiration. 

That part seems to be working OK.  NB does not seem, however, to be deleting

the on-disk copy after expiration like it should.  This should be part of 
the core NB behavior and not related to vault doing the duplication. 

md> ls -lt /diskbackup 
-rw-------   1 root     other    1343488 May 14 13:36 ue13_1084563402_C1_F1 

md> bpimagelist -backupid ue13_1084563402 
IMAGE ue-13 0 0 6 ue13_1084563402 Arch_WEB 4 *NULL* oracle OEBU_backup 2 1 
1084563402 14 1084829401 0 0 1312 1 2 2 0 Arch_WEB_1084563402_UBAK.f *NULL* 
*NULL* 0 1 0 0 0 srv0prd 0 0 0 0 0 0 0 *NULL* 0 0 0 
HISTO -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 
FRAG 1 1 1312 0 0 0 0 /diskbackup/ue13_1084563402_C1_F1 ug50 262144 0 0 0 0 
*NULL* 1084829401 0 65537 0 0 
FRAG 2 1 1312 0 2 6 18 D04303 ug50 262144 15919 1084554949 19 0 *NULL* 
1085773002 0 65537 0 0 

md> bpdbm -ctime 1084829401 
1084829401 = Mon May 17 15:30:01 2004 

md> bpdbm -ctime 1085773002 
1085773002 = Fri May 28 13:36:42 2004 

Here's an example.  The first FRAG is the first copy.  You can see the media

as my disk STU. The second FRAG entry is the second copy (copy num is 2nd 
field) and you can see it on D04303.  If I convert the copies' expiration 
time to something readable, you can see where the first copy should've 
expired last Monday and been deleted.  Yet, here it is. 

Ideas? 

This is v4.5 FP3 on Sol 8.  The disk STU is a NetApp filer NFS mount. 

-M 
_______________________________________________ 
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu>  


------_=_NextPart_001_01C43DC1.50F41F18
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE>@font-face {
        font-family: Courier;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: 
"Times New Roman"
}
SPAN.EmailStyle18 {
        COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=blue link=blue>
<DIV><SPAN class=849504916-19052004><FONT face=Arial color=#0000ff size=2>This 
is almost without a doubt the fix.&nbsp; I've had a backup running for *days* - 
another problem that needs to be fixed - but it's holding up the 
works.</FONT></SPAN></DIV>
<DIV><SPAN class=849504916-19052004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=849504916-19052004><FONT face=Arial color=#0000ff 
size=2>Thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=849504916-19052004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=849504916-19052004><FONT face=Arial color=#0000ff 
size=2>-M</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Chapman, Scott 
  [mailto:Scott.Chapman AT icbc DOT com]<BR><B>Sent:</B> Wednesday, May 19, 
2004 10:45 
  AM<BR><B>To:</B> 'Dan Otto'; Mark.Donaldson AT cexp DOT 
com<BR><B>Subject:</B> RE: 
  [Veritas-bu] NB not deleting disk image files after expiratio n 
  time<BR><BR></FONT></DIV>
  <DIV><SPAN class=650434416-19052004><FONT face=Arial color=#0000ff 
  size=2>Doh!!&nbsp; Dan is right.&nbsp; I forgot to mention that file!&nbsp; 
  Thanks Dan!</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
  <P><SPAN lang=en-ca><FONT face=Arial 
  size=2>_____________________________________________________</FONT></SPAN> 
  <BR><SPAN lang=en-ca><B><FONT face=Arial color=#000000 size=2>Scott 
  Chapman</FONT></B></SPAN> <BR><SPAN lang=en-ca><FONT face=Arial 
  size=1>Enterprise Computing Technical Support</FONT></SPAN> <BR><SPAN 
  lang=en-ca><FONT face=Arial size=1>ICBC - Victoria</FONT></SPAN> <BR><SPAN 
  lang=en-ca><FONT face=Arial size=1>Phone: 250.414.7650&nbsp; Fax: 
  250.978.8003&nbsp; Cel: 250.213.9295</FONT></SPAN> </P>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
    face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Dan Otto 
    [mailto:Dan.Otto AT veritas DOT com] <BR><B>Sent:</B> Wednesday, May 19, 
2004 9:40 
    AM<BR><B>To:</B> Chapman, Scott; Mark.Donaldson AT cexp DOT com; 
    veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: 
[Veritas-bu] NB not 
    deleting disk image files after expiratio n time<BR><BR></FONT></DIV>
    <DIV class=Section1>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Also use the touch 
    file </SPAN></FONT><FONT face=Courier size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Courier"># touch 
    /usr/openv/netbackup/bin/CLEAN_IN_BACKGROUND</SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">So the clean up 
    will run even if you have a backup running.</SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Tahoma 
size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original 
    Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> 
Chapman, 
    Scott [mailto:Scott.Chapman AT icbc DOT com] <BR><B><SPAN 
    style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, May 19, 2004 11:22 
    AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 
    'Mark.Donaldson AT cexp DOT com'; veritas-bu AT mailman.eng.auburn DOT 
edu<BR><B><SPAN 
    style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: [Veritas-bu] NB not 
    deleting disk image files after expiratio n time</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">Mark,</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">We had the same problem and opened a call with 
    Veritas.&nbsp; So to fix the problem we run the following from cron a 
couple 
    times an hour otherwise we would run out of disk space the next time the 
    backups ran . . .</SPAN></FONT></P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">/usr/openv/netbackup/bin/admincmd/bpimage -cleanup 
    -allclients</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">Hope this helps.</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 
10pt">_____________________________________________________</SPAN></FONT> 
    <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">Scott Chapman</SPAN></FONT> 
    <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">Enterprise Computing 
    Technical Support</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">ICBC - Victoria</SPAN></FONT> <BR><FONT 
size=2><SPAN 
    style="FONT-SIZE: 10pt">Phone: 250.414.7650&nbsp; Fax: 250.978.8003&nbsp; 
    Cel: 250.213.9295</SPAN></FONT> </P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">-----Original Message-----</SPAN></FONT> <BR><FONT 
    size=2><SPAN style="FONT-SIZE: 10pt">From: Mark.Donaldson AT cexp DOT com 
[<A 
    href="mailto:Mark.Donaldson AT cexp DOT com">mailto:Mark.Donaldson AT cexp 
DOT com</A>] 
    </SPAN></FONT><BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">Sent: 
    Wednesday, May 19, 2004 8:52 AM</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">To: veritas-bu AT mailman.eng.auburn DOT 
edu</SPAN></FONT> 
    <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">Subject: [Veritas-bu] NB not 
    deleting disk image files after expiration time</SPAN></FONT> </P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">I've got vault duplicating a disk storage unit to a 
    set of tapes and</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">resetting the on-disk copy to an 8 hours 
    expiration.</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">That part seems to be working OK.&nbsp; NB does not 
    seem, however, to be deleting</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">the on-disk copy after expiration like it 
    should.&nbsp; This should be part of</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">the core NB behavior and not related to vault doing 
    the duplication.</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">md&gt; ls -lt /diskbackup</SPAN></FONT> <BR><FONT 
    size=2><SPAN style="FONT-SIZE: 10pt">-rw-------&nbsp;&nbsp; 1 
    root&nbsp;&nbsp;&nbsp;&nbsp; other&nbsp;&nbsp;&nbsp; 1343488 May 14 13:36 
    ue13_1084563402_C1_F1</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">md&gt; bpimagelist -backupid 
    ue13_1084563402</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">IMAGE ue-13 0 0 6 ue13_1084563402 Arch_WEB 4 *NULL* 
    oracle OEBU_backup 2 1</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">1084563402 14 1084829401 0 0 1312 1 2 2 0 
    Arch_WEB_1084563402_UBAK.f *NULL*</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">*NULL* 0 1 0 0 0 srv0prd 0 0 0 0 0 0 0 *NULL* 0 0 
    0</SPAN></FONT> <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">HISTO -1 -1 
    -1 -1 -1 -1 -1 -1 -1 -1</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">FRAG 1 1 1312 0 0 0 0 
    /diskbackup/ue13_1084563402_C1_F1 ug50 262144 0 0 0 0</SPAN></FONT> 
    <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">*NULL* 1084829401 0 65537 0 
    0</SPAN></FONT> <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">FRAG 2 1 
1312 
    0 2 6 18 D04303 ug50 262144 15919 1084554949 19 0 *NULL*</SPAN></FONT> 
    <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">1085773002 0 65537 0 
    0</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">md&gt; bpdbm -ctime 1084829401</SPAN></FONT> 
    <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">1084829401 = Mon May 17 
    15:30:01 2004</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">md&gt; bpdbm -ctime 1085773002</SPAN></FONT> 
    <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">1085773002 = Fri May 28 
    13:36:42 2004</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">Here's an example.&nbsp; The first FRAG is the 
first 
    copy.&nbsp; You can see the media</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">as my disk STU. The second FRAG entry is the second 
    copy (copy num is 2nd</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">field) and you can see it on D04303.&nbsp; If I 
    convert the copies' expiration</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">time to something readable, you can see where the 
    first copy should've</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 10pt">expired last Monday and been deleted.&nbsp; Yet, 
    here it is.</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">Ideas?</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">This is v4.5 FP3 on Sol 8.&nbsp; The disk STU is a 
    NetApp filer NFS mount.</SPAN></FONT> </P>
    <P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=2><SPAN 
    style="FONT-SIZE: 10pt">-M</SPAN></FONT> <BR><FONT size=2><SPAN 
    style="FONT-SIZE: 
10pt">_______________________________________________</SPAN></FONT> 
    <BR><FONT size=2><SPAN style="FONT-SIZE: 10pt">Veritas-bu maillist&nbsp; 
    -&nbsp; Veritas-bu AT mailman.eng.auburn DOT edu</SPAN></FONT> <BR><FONT 
    size=2><SPAN style="FONT-SIZE: 10pt"><A 
    href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; 
    
target=_blank>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</A></SPAN></FONT>
 
    </P></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C43DC1.50F41F18--

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] NB not deleting disk image files after expiratio n time, Mark.Donaldson AT cexp DOT com <=