Cluster Drives

In my filter driver after a mount request has been processed for a drive, I
call IoGetDeviceObjectPointer with \DosDevices<drv>: for a drive that I am
waiting to be mounted. I then use the resulting
FileObject->DeviceObject->Vpb->RealDevice to see if it matches the
MediaDeviceObject of the drive just mounted. Normally this works fine.
However I have a strange case were on node A in a cluster were I have two
drives F: and G: the disk resources are on currently on another node (say
B). When the disk for F: is move to the node A and I do the
IoGetDeviceObjectPointer for G: I get a media object that matches that being
mounted for the F:. Node A shows an F: drive but no G: drive being mounted.
What is really strange is this only happens if the F: drive was mapped to a
network share prior to the resource be moved to node A. So the question is
why would a call to IoGetDeviceObjectPointer with G: yield the media object
for F:.

Is there a more reliable way during a mount request to determine the drive
letter of the disk being mounted?

Thanks,
Ken


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com