[OpenAFS] Flushv on Windows?
Jeffrey Altman
jaltman@your-file-system.com
Mon, 26 Mar 2012 15:50:33 -0400
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8FB32EB8154068A6B65C5F24
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
The "fs flushxxx" commands do not remove entries from the cache. All
they do is invalidate the cache status and purge non-dirty data from the
Windows file cache.
I do not believe the problem you describe has anything to do with cache
flushing. File/Directory Change Notification perhaps but not
flushing. IIS has its own cache of pages that it is serving. It only
updates those pages upon receiving a change notification.
On 3/26/2012 3:42 PM, Hugh Caldwell wrote:
> I have a script which regularly writes a file to our www\htdocs\rss
> directory. If I execute "fs flushv \\afs\usgs.gov\www\www\htdocs" our
> IIS servers will not pick up the changed file. If I execute "fs flushv
> \\afs\usgs.gov\www\www\htdocs\rss" the new file is served.
>
> The servers are running Windows 2008 R2. The OpenAFS clients are 1.7.4
> and 1.7.8
>
> Thanks for the tip on cmdebug.
>
> While reading up on the flushv command I found out about "fs
> flushall". Should the results of cmdebug <hostname> -long be
> significantly different after running flushall? I piped the results of
> cmdebug to a file before and after running "fs flushall" and the
> output was larger after running the command which seems counter
> intuitive.
>
> Thanks
>
> Hugh Caldwell
> Astor & Sanders
> EWeb Systems Administrator
> United States Geological Survey
> 703-648-6812 (Office)
> 703-598-3472 (Cellular)
> hcaldwell@usgs.gov
> Room 2C123B
>
>
>
> From: Jeffrey Altman <jaltman@your-file-system.com>
> To: openafs-info@openafs.org
> Date: 03/26/2012 02:51 PM
> Subject: Re: [OpenAFS] Flushv on Windows?
> Sent by: openafs-info-admin@openafs.org
>
>
> -----------------------------------------------------------------------=
-
>
>
>
> What evidence do you have that fs flushvolume fails?
>
> With what version of the software on what operating system?
>
> There is no mechanism to dump the contents of the Windows File Cache.
> To examine the status information stored in the AFS cache you can use:
>
> cmdebug <hostname> -long
>
> or you can dump internal data structures using "fs memdump".
>
> On 3/26/2012 10:40 AM, Hugh Caldwell wrote:
> > It appears that the running "fs flushv" on Windows does not flush the=
> > volume but just the directory that is used in the argument. Has anyo=
ne
> > else noticed this behavior?
> >
> > Is there a way to list the files that are in the AFS Cache?
> >
> > Thanks,
> >
> > Hugh Caldwell
> > Astor & Sanders
> > EWeb Systems Administrator
> > United States Geological Survey
> > 703-648-6812 (Office)
> > 703-598-3472 (Cellular)
> > hcaldwell@usgs.gov
> > Room 2C123B
>
> [attachment "signature.asc" deleted by Hugh Caldwell/GIO/CONT/USGS/DOI]=
>
--------------enig8FB32EB8154068A6B65C5F24
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iQEcBAEBAgAGBQJPcMiLAAoJENxm1CNJffh497UH/iCEbGfqi1MZ4LZzJfPMIn6e
CRjeB/vnuvzn6hZLkDSk0YHNkhLEBBnvnJW8WjU9HP/i5Xs2kT03l83mFS6OD7UC
rxxgqMmV91azgRAubWhQJZEusWH2CBg6NMxm8B69aKAFceRvf4jG/0RTp7Tf4j4h
/buMYUF3LFCMjjkXCXBK9x38Gb5up93ufg6cHkL5/7GwdByuoGQYs56tx5wILPK3
hzGUFi0kGmkeWcFFSQKZBOx+27UAoELLfdms9ao6uYEKcji2vljeiV2jxriw+xBN
HEc1qG5mIfX7IWn5UNclScDHI1Ma/Y7px6nYKXPM7ytENRK9aEirXStYr5OR/Gw=
=OIyi
-----END PGP SIGNATURE-----
--------------enig8FB32EB8154068A6B65C5F24--