[OpenAFS] Re: About cache persistence over reboot ( again )
nicolas prochazka
prochazka.nicolas@gmail.com
Fri, 9 Aug 2013 08:47:34 +0200
Hello,
thanks for your support,
my cacheinfo file was different between the first install and all other reboot.
Now it seems to work .
Regards,
Nicolas Prochazka.
2013/8/9 Andrew Deason <adeason@sinenomine.net>:
> On Thu, 8 Aug 2013 23:55:22 +0200
> nicolas prochazka <prochazka.nicolas@gmail.com> wrote:
>
>> 1 - Boot, afs cache is filling with data ( ~ 260M , network bandwith
>> show me ~ 260M also ).
>> 2 - shutdown
>> 3 - boot, all data seems to be redownload from server ( network
>> bandwitch show me ~ 260 M)
>
> Keep in mind: the openafs client will ignore cached data if it was
> stored in the cache "soon" before shutting down. If you're running a
> test like this and you're rebooting immediately after reading data, that
> can be the cause; just wait a few minutes before rebooting if you're
> running tests.
>
> However, it does look like that may not be the reason here:
>
>> cat /etc/openafs/cacheinfo
>> /afs:/var/cache/openafs:474276
>>
>> afsd -afsdb -dynroot -verbose -debug
>>
>> afsd client, debug msg :
> [...]
>> doSweepAFSCache: Current directory entry:
>> inode=60113, reclen=32, name='V16847'
>> doSweepAFSCache: Deleting '/var/cache/openafs/D8/V16847'
> [...]
>> afsd: 14821 out of 14821 data cache files found in sweep 1.
>
> According to this, you're only supposed to have 14821 cache files, but
> afsd is finding a lot more than that, so it's deleting the extra ones.
> Did you change any of the configuration between boots? Do you see these
> messages every time you start up afsd? (the "Deleting '/var/cache...'"
> messages)
>
> After you start up afsd, does the file /var/cache/openafs/D8/V16847
> exist?
>
> --
> Andrew Deason
> adeason@sinenomine.net
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info