How to refresh the network disk directory?

Hello sir,

Please help me about the problem that I would like to add one feature on IFS file system filter driver…

I use Storage Area Network(SAN) environment to mount one network disk(named I:) in PC1 and also I mount the same network disk(name G:) in PC2.
In PC1, after I set the network disk I: to be the write-through mode and copy some files from PC1 into I:\Test ,later I check the G:\Test in PC2, no matter I refresh the G: in the same folder, the files I copied cannot be showed out.

But if I unmount the G: and remount G: in PC2, then I can find the copied files in \Test folder.

so would someone help me to know how can I refresh the G:\Test to get the new files that no need to unmount and remount the network disk on PC2? What’s the API or IRP should I call in file system filter driver?

Windows filesystems does not support such without shutting down the device
(the SAN link) and raising it up back.

You need a cluster filesystem for such.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntfsd…
> Hello sir,
>
> Please help me about the problem that I would like to add one feature on IFS
file system filter driver…
>
> I use Storage Area Network(SAN) environment to mount one network disk(named
I:) in PC1 and also I mount the same network disk(name G:) in PC2.
> In PC1, after I set the network disk I: to be the write-through mode and copy
some files from PC1 into I:\Test ,later I check the G:\Test in PC2, no matter I
refresh the G: in the same folder, the files I copied cannot be showed out.
>
> But if I unmount the G: and remount G: in PC2, then I can find the copied
files in \Test folder.
>
> so would someone help me to know how can I refresh the G:\Test to get the new
files that no need to unmount and remount the network disk on PC2? What’s the
API or IRP should I call in file system filter driver?
>
>

haha, I see the same question in “driverdevelop”. Try to use IRP_MJ_DIRECTORY_CONTROL(IRP_MN_NOTIFY_CHANGE_DIRECTORY).

Hi, Yan:

Thank you for your suggestion.
I am sticked in the problem for several days, but I have to solve it…
Is it relative with the cache manageing control?..
I’ll try the function you said.

parkerlived.

Dear Maxim:

Thank you for your reply!
As you said so, but as I known that the ‘MetaSAN’ seems has the solution
for the request of the same condition. Is anything different from the system
structure of ‘MetaSAN’ and what I mentioned?
Or is it relative with the cache managing that can solve it by using some
ways on control of cache memory(buffer)?
Please tell me more about it,
thank you so much.

parkerlived.

MetaSAN is a combination of the logical-block level and file level filter + some sort of the redirection stuff. It’s much
more complex from what you think… For easier solution (single writer + multiple readers) I’d suggest to take a look at
Zetera’s own protocol and set of filters on the top of their volume block driver.

The project itself is many-may man-years so I don’t think there’s “fast and dirty” way to do what you want.

Regards,
Anton A. Kolomyeytsev

CEO, Rocket Division Software

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of ntitcnd@ms11.hinet.net
Sent: Monday, May 07, 2007 11:08 AM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] How to refresh the network disk directory?

Dear Maxim:

Thank you for your reply!
As you said so, but as I known that the ‘MetaSAN’ seems has the solution
for the request of the same condition. Is anything different from the system
structure of ‘MetaSAN’ and what I mentioned?
Or is it relative with the cache managing that can solve it by using some
ways on control of cache memory(buffer)?
Please tell me more about it,
thank you so much.

parkerlived.


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

You are currently subscribed to ntfsd as: xxxxx@rocketdivision.com
To unsubscribe send a blank email to xxxxx@lists.osr.com