Hi All,
I have a strange situation happening on my Windows 2008 x64 cluster. I
have a volume filter driver which gets attached to each volume device object
in the system when the volume is added and gets removed when the volume is
removed. I see for certain shared volumes from the cluster the add and
remove device calls are appearing in a strange manner. On Win 2003 cluster
the shared volume devices appear on all the nodes at the boot time but only
the owner has the access to the the volume. So even if the volume may not be
accessible each system gets the AddDevice and there is no RemoveDevice call.
On Windows 2008 cluster I see that for shared volumes from cluster the
AddDevice comes at the Physical Disk resource online process. The volume
also gets the RemoveDevice when the Physical Disk resource is going offline.
Is this a normal behaviour on Win 2008 cluster?
Most strange thing is sometimes, when the disk is going offline, I don’t
even get a RemoveDevice call through PNP Irp. I have a certain dat stored
within the device extension of my volume filter device object. I see that
when I take the disk offline and bring it back online, I get new AddDevice
for the volume with new device name “\Device\HardDiskVolume 8”, but I can
see that I do have the old Device extension available for use in the system
as there was no RemoveDevice called for the the same lun on same node. So
looks like I have two device objects for the same volume in the system.
Can somebody elaborate the sequence in which the AddDevice and
RemoveDevice comes for the clustered volumes under Windows 2008 cluster?
Also is there any possibility my legacy volume filter driver not reciving
the RemoveDevice PNP Irp?
Thanks in advance,
girish.