[OpenAFS] "Starting AFS cache scan..."

Derrick Brashear shadow@gmail.com
Wed, 9 Jun 2010 21:52:57 -0400


Yeah. it does.

AFS_POST_INIT, as set in /etc/openafs/afs.conf

so set it to a script, and provide a script which just runs rxdebug
localhost 7001 in a loop until it succeeds, then exits.

no source changes needed.


On Wed, Jun 9, 2010 at 8:28 PM, Derrick Brashear <shadow@dementia.org> wrot=
e:
> does your rc file include an afs post inst hook? have it run rxdebug
> localhost 7001 in a while loop until it succeeds
>
> Derrick
>
>
> On Jun 9, 2010, at 5:35 PM, Adam Megacz <adam@megacz.com> wrote:
>
>>
>> I've got my openafs cache in tmpfs (via a loopback-mount), so every time
>> the machine comes up it sees an empty cache directory and spends some
>> time "Starting AFS cache scan..." -- creating the directory structure.
>>
>> Unfortunately the AFS startup script returns before this process
>> finishes. =A0This means that other startup scripts -- which depend on /a=
fs
>> being mounted -- will end up running before /afs has been mounted.
>>
>> Is there any way to change this behavior so that
>> /etc/init.d/openafs-client doesn't yield control until it has at least
>> attempted to mount /afs?
>>
>> =A0- a
>>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>



--=20
Derrick