Invalidate File System cache in Windows server 2003

Hello,
I have a situation where I need to make sure that the file system cache
is cleaned (invalidated).
Here is my scenario:

  1. do a flush command for a volume
  2. un mount the volume
  3. do some changes to the volume data on another computer
  4. Mount the volume in the system again

What I get now is the old data on the volume, the cache still holds the
old data, and was not invalidated…

Any suggestions? Would a Lock to the volume before un mount will help
here?

Thanks,
Yohai Merzel

This mail was sent via storeage.com

************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************

Invalidate File System cache in Windows server 2003 Update the Volume Serial Number in the FS’s volume descriptor (sector 0) - and this will cease.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Yohai Merzel
To: Windows File Systems Devs Interest List
Sent: Wednesday, May 25, 2005 12:05 PM
Subject: [ntfsd] Invalidate File System cache in Windows server 2003

Hello,

I have a situation where I need to make sure that the file system cache is cleaned (invalidated).

Here is my scenario:

  1. do a flush command for a volume

  2. un mount the volume

  3. do some changes to the volume data on another computer

  4. Mount the volume in the system again

What I get now is the old data on the volume, the cache still holds the old data, and was not invalidated.

Any suggestions? Would a Lock to the volume before un mount will help here?

Thanks,

Yohai Merzel


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com This mail was sent via storeage.com

************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************