[OpenAFS] switching to DAFS and -showmounts
Sat, 1 Jun 2013 08:31:50 +0000
thanks a lot for all your answers.
I have compiled a version of volinfo/volscan and it's working.
I have to change only our scripts, because the output of volscan is a littl=
e bit different to the output of the salvager -showmounts report.
Am 31.05.2013 um 17:01 schrieb Jeffrey Altman <firstname.lastname@example.org=
> On 5/31/2013 10:28 AM, Mark Vitale wrote:
>> We look to provide a patch after we've discussed the best way to fix thi=
>> So far some ideas I've come up with are to either:=20
>> 1. have the running salvageserver only obtain salvage.lock when it is "d=
>> and relinquish it during idle periods.
> I think it is important that the salvageserver be the only entity able
> to obtain the salvage.lock. Otherwise, another tool can be run that
> would block the ability to demand salvage.
>> 2. allow -showmounts (and maybe some other options as well) tor run
>> from the command line without obtaining the lock (or locking on a differ=
> If -showmounts remains in 'salvager', my preferred solution would be for
> -showmounts to:
> 1. generate a temporary COW clone
> 2. perform a readonly scan of the clone without locking
> 3. remove the COW clone
> Although I question whether this functionality should be part of
> salvaging at all. Operations that scan a volume for the purpose of
> extracting data or statistics is what "volscan" does. Removing
> -showmounts from salvager and modifying "volscan" (or something similar)
> so that it can safely be run in conjunction with "salvageserver" might
> be the better direction.
> Jeffrey Altman