[OpenAFS] switching to DAFS and -showmounts
Brunckhorst, Ralf
ralf.brunckhorst@hp.com
Sat, 1 Jun 2013 08:31:50 +0000
Hi,
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.
/Ralf
Am 31.05.2013 um 17:01 schrieb Jeffrey Altman <jaltman@your-file-system.com=
>:
> 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=
s.
>>=20
>> So far some ideas I've come up with are to either:=20
>>=20
>> 1. have the running salvageserver only obtain salvage.lock when it is "d=
oing something",
>> and relinquish it during idle periods.
>=20
> 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.
>=20
>> or=20
>>=20
>> 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=
ent range,
>> perhaps).
>=20
> If -showmounts remains in 'salvager', my preferred solution would be for
> -showmounts to:
>=20
> 1. generate a temporary COW clone
>=20
> 2. perform a readonly scan of the clone without locking
>=20
> 3. remove the COW clone
>=20
> 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.
>=20
> Jeffrey Altman
>=20
>=20