[OpenAFS] Re: obsolete volumes

Jeffrey Hutzelman jhutz@cmu.edu
Thu, 01 Feb 2007 15:58:44 -0500


On Thursday, February 01, 2007 01:55:08 PM -0700 Kim Kimball <dhk@ccre.com> 
wrote:

>
>
> Jeffrey Hutzelman wrote:
>>
>>
>> On Wednesday, January 31, 2007 03:44:35 PM -0800 Renata Maria Dart
>> <renata@slac.stanford.edu> wrote:
>>
>>> Hi Jeff,
>>>
>>> Does -showsuid also imply -nowrite, or can it be used with -nowrite
>>> to avoid taking the server out?
>>
>> Yes, -showsuid also implies -nowrite.
>> In general, you can always use -nowrite to run the salvager in a
>> read-only mode where it will only tell you what it would do, rather
>> than actually doing anything.  This eliminates any need to shut down
>> the fileserver; however, you only get that benefit if you run the
>> salvager by hand - the 'bos salvage' command only knows how to handle
>> a limited number of salvager arguments.
>>
>> Remember that if you run the salvager by hand and do not use one of
>> -nowrite, -showmounts, or -showsuid, you must shut down the fileserver
>> first.  Otherwise you risk damaging volumes.
>>
>
> Isn't this true iff salvaging one or more partitions?  Salvaging a single
> volume doesn't cause 'bos salvage' to shut down the file server ...

Correct.  Salvaging a single volume does not require shutting down the 
fileserver, whether using 'bos salvage' or running the salvager directly.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA