Is there a way to get the connection between the mount point (the one that is mounted in the file system instead of the drive attached to the letter) and the physical disk with WMI that belongs to it?
For example, I have a mount point for a volume on a W2K8 server that is mounted on "C: \ Data", and the mount point extends to the physical disks 2, 4 and 5 of the server (Server Manager shows this for data management), but I cannot find a way Learn about it using WMI.
The volumes that received the drive letter may be associated with the Win32_DiskDrive → Win32_DiskDriveToDiskPartition → Win32_DiskPartition → Win32_LogicalDiskToPartition → Win32_LogicalDisk WMI classes, but the problem is that the mountpoints arent listed in the Win32_Logical class only. And I did not find a way to connect the Win32_Volume class to the Win32_DiskDrive class - some link classes are missing.
Does anyone know a solution?
c # wmi
Thomas
source share