[OpenAFS] best practice for salvage

Andrew Bacchi bacchi@rpi.edu
Thu, 03 Apr 2008 13:33:35 -0400


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
>From what I see of the 1.4.6 SPEC file, fast-restart fileserver is
enabled by default.&nbsp; Do I need to start the server with any added
options?&nbsp; Is there documentation to read?<br>
<br>
config_opts="--enable-redhat-buildsys \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %{?_with_bitmap_later:--enable-bitmap-later} \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %{?_with_bos_restricted:--enable-bos-restricted-mode} \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>%{?_with_fast_restart:--enable-fast-restart} \<br>
</b><br>
<br>
Robert Banz wrote:
<blockquote cite="mid2FC76D11-48C4-43F0-8AD4-072B4B649DAC@nofocus.org"
 type="cite">
  <div><br>
  </div>
  <div>Just curious,</div>
  <div><br>
  </div>
  <div>What makes you think running salvage is a good thing? I had
gotten to the point where I would avoid running it like the plague --
using tools such as fast-restart -- and in the time I was running
fast-restart, which included some rather nasty power events which took
things down hard. And, believe it or not, even in those incidents I
only had one or two volumes that I had to hand-salvage.</div>
  <div><br>
  </div>
  <div>-rob</div>
  <br>
  <div>On Apr 3, 2008, at 6:48 AM, Andrew Bacchi wrote:<br
 class="Apple-interchange-newline">
  <blockquote type="cite">
    <div bgcolor="#ffffff" text="#000000"> Thanks, Esther.&nbsp;&nbsp; I can
always count on you for good advice.<br>
    <br>
I usually run salvage by hand once or twice a year, but my gut says run
it more often.&nbsp; I'll write a script that runs on odd months and call it
from either linux-cron or afs-cron.&nbsp; One drawback of afs-cron is it
only knows a weekly time schedule.&nbsp; Could we put that on a wish list?<br>
    <br>
Esther Filderman wrote:
    <blockquote
 cite="midcff20b320804030635i390b164i130a32159795d787@mail.gmail.com"
 type="cite">
      <pre wrap="">On Wed, Apr 2, 2008 at 1:43 PM, Andrew Bacchi <a
 class="moz-txt-link-rfc2396E" href="mailto:bacchi@rpi.edu">&lt;bacchi@rpi.edu&gt;</a> wrote:
  </pre>
      <blockquote type="cite">
        <pre wrap="">I'm considering running a weekly salvage on all file servers from BosConfig.
Is this too often?  Any reason not to?  What are others doing?  Thanks.


    </pre>
      </blockquote>
      <pre wrap=""><!---->At my last *cough* site, we ran with fast-restart.  Because of the
cruft that would sometimes get left behind in volumes due to things
like crappy fortran compilers, I would run a salvage on each server
every 2-3 months.   As there were rarely any real errors, it ran
pretty quickly and would fit in my "official downtime" window.

I used to run 'em by hand because, well, I only had like 6 servers
(and I'm a hands-on kinda Moose), but it easily could have been
automated.

Moose
_______________________________________________
OpenAFS-info mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.org</a>
<a class="moz-txt-link-freetext"
 href="https://lists.openafs.org/mailman/listinfo/openafs-info">https://lists.openafs.org/mailman/listinfo/openafs-info</a>

  </pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
veritatis simplex oratio est

Andrew Bacchi
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415  fax: 518 276-2809

<a class="moz-txt-link-freetext" href="http://www.rpi.edu/%7Ebacchi/">http://www.rpi.edu/~bacchi/</a></pre>
    </div>
_______________________________________________ OpenAFS-info mailing
list <a class="moz-txt-link-abbreviated" href="mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.org</a> <a
 href="https://lists.openafs.org/mailman/listinfo/openafs-info">https://lists.openafs.org/mailman/listinfo/openafs-info</a></blockquote>
  </div>
  <br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
veritatis simplex oratio est

Andrew Bacchi
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415  fax: 518 276-2809

<a class="moz-txt-link-freetext" href="http://www.rpi.edu/~bacchi/">http://www.rpi.edu/~bacchi/</a></pre>
</body>
</html>