[OpenAFS] Re: About cache persistence over reboot ( again )
Fri, 9 Aug 2013 08:47:34 +0200
thanks for your support,
my cacheinfo file was different between the first install and all other reboot.
Now it seems to work .
2013/8/9 Andrew Deason <firstname.lastname@example.org>:
> On Thu, 8 Aug 2013 23:55:22 +0200
> nicolas prochazka <email@example.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
>> 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...'"
> After you start up afsd, does the file /var/cache/openafs/D8/V16847
> Andrew Deason
> OpenAFS-info mailing list