أعلى مُجيب
Msft_Volume results: multiple records for 'D:'

السؤال
-
Hello, Im getting some strange results for Msft_Volume query
Get-WmiObject -Query "SELECT * FROM Msft_Volume" -Namespace Root/Microsoft/Windows/Storage
I see 'D' drive six times! I there any explanation and which one is real?
__GENUS : 2 __CLASS : MSFT_Volume __SUPERCLASS : MSFT_StorageObject __DYNASTY : MSFT_StorageObject __RELPATH : MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{0074c0a4-0000-0000-0000-100000000000}\\\"" __PROPERTY_COUNT : 18 __DERIVATION : {MSFT_StorageObject} __SERVER : DELL590HV12 __NAMESPACE : Root\Microsoft\Windows\Storage __PATH : \\DELL590HV12\Root\Microsoft\Windows\Storage:MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{0074c0a4-0000-0000-0000-1000000 00000}\\\"" AllocationUnitSize : 4096 DedupMode : 4 DriveLetter : D DriveType : 3 FileSystem : NTFS FileSystemLabel : DATA FileSystemType : 14 HealthStatus : 0 ObjectId : {1}\\DELLCSPRHV02\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\?\Volume{0074c0a4-0000-0000-0000-100000000000}\" OperationalStatus : {2} PassThroughClass : PassThroughIds : PassThroughNamespace : PassThroughServer : Path : \\?\Volume{0074c0a4-0000-0000-0000-100000000000}\ Size : 162522984448 SizeRemaining : 48756031488 UniqueId : \\?\Volume{0074c0a4-0000-0000-0000-100000000000}\ PSComputerName : DELL590HV12 __GENUS : 2 __CLASS : MSFT_Volume __SUPERCLASS : MSFT_StorageObject __DYNASTY : MSFT_StorageObject __RELPATH : MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{2d4b4fad-0000-0000-0000-100000000000}\\\"" __PROPERTY_COUNT : 18 __DERIVATION : {MSFT_StorageObject} __SERVER : DELL590HV12 __NAMESPACE : Root\Microsoft\Windows\Storage __PATH : \\DELL590HV12\Root\Microsoft\Windows\Storage:MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{2d4b4fad-0000-0000-0000-1000000 00000}\\\"" AllocationUnitSize : 4096 DedupMode : 4 DriveLetter : D DriveType : 3 FileSystem : NTFS FileSystemLabel : DATA FileSystemType : 14 HealthStatus : 0 ObjectId : {1}\\DELLCSPRHV02\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\?\Volume{2d4b4fad-0000-0000-0000-100000000000}\" OperationalStatus : {2} PassThroughClass : PassThroughIds : PassThroughNamespace : PassThroughServer : Path : \\?\Volume{2d4b4fad-0000-0000-0000-100000000000}\ Size : 162522984448 SizeRemaining : 128554635264 UniqueId : \\?\Volume{2d4b4fad-0000-0000-0000-100000000000}\ PSComputerName : DELL590HV12 __GENUS : 2 __CLASS : MSFT_Volume __SUPERCLASS : MSFT_StorageObject __DYNASTY : MSFT_StorageObject __RELPATH : MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{4491b922-0000-0000-0000-100000000000}\\\"" __PROPERTY_COUNT : 18 __DERIVATION : {MSFT_StorageObject} __SERVER : DELL590HV12 __NAMESPACE : Root\Microsoft\Windows\Storage __PATH : \\DELL590HV12\Root\Microsoft\Windows\Storage:MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{4491b922-0000-0000-0000-1000000 00000}\\\"" AllocationUnitSize : 4096 DedupMode : 4 DriveLetter : D DriveType : 3 FileSystem : NTFS FileSystemLabel : DATA FileSystemType : 14 HealthStatus : 0 ObjectId : {1}\\DELLCSPRHV02\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\?\Volume{4491b922-0000-0000-0000-100000000000}\" OperationalStatus : {2} PassThroughClass : PassThroughIds : PassThroughNamespace : PassThroughServer : Path : \\?\Volume{4491b922-0000-0000-0000-100000000000}\ Size : 162522984448 SizeRemaining : 50788323328 UniqueId : \\?\Volume{4491b922-0000-0000-0000-100000000000}\ PSComputerName : DELL590HV12 __GENUS : 2 __CLASS : MSFT_Volume __SUPERCLASS : MSFT_StorageObject __DYNASTY : MSFT_StorageObject __RELPATH : MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{95162798-0000-0000-0000-100000000000}\\\"" __PROPERTY_COUNT : 18 __DERIVATION : {MSFT_StorageObject} __SERVER : DELL590HV12 __NAMESPACE : Root\Microsoft\Windows\Storage __PATH : \\DELL590HV12\Root\Microsoft\Windows\Storage:MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{95162798-0000-0000-0000-1000000 00000}\\\"" AllocationUnitSize : 4096 DedupMode : 4 DriveLetter : D DriveType : 3 FileSystem : NTFS FileSystemLabel : DATA FileSystemType : 14 HealthStatus : 0 ObjectId : {1}\\DELLCSPRHV02\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\?\Volume{95162798-0000-0000-0000-100000000000}\" OperationalStatus : {2} PassThroughClass : PassThroughIds : PassThroughNamespace : PassThroughServer : Path : \\?\Volume{95162798-0000-0000-0000-100000000000}\ Size : 162522984448 SizeRemaining : 160064081920 UniqueId : \\?\Volume{95162798-0000-0000-0000-100000000000}\ PSComputerName : DELL590HV12 __GENUS : 2 __CLASS : MSFT_Volume __SUPERCLASS : MSFT_StorageObject __DYNASTY : MSFT_StorageObject __RELPATH : MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{d2744786-0000-0000-0000-100000000000}\\\"" __PROPERTY_COUNT : 18 __DERIVATION : {MSFT_StorageObject} __SERVER : DELL590HV12 __NAMESPACE : Root\Microsoft\Windows\Storage __PATH : \\DELL590HV12\Root\Microsoft\Windows\Storage:MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{d2744786-0000-0000-0000-1000000 00000}\\\"" AllocationUnitSize : 4096 DedupMode : 4 DriveLetter : D DriveType : 3 FileSystem : NTFS FileSystemLabel : New Volume FileSystemType : 14 HealthStatus : 0 ObjectId : {1}\\DELLCSPRHV02\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\?\Volume{d2744786-0000-0000-0000-100000000000}\" OperationalStatus : {2} PassThroughClass : PassThroughIds : PassThroughNamespace : PassThroughServer : Path : \\?\Volume{d2744786-0000-0000-0000-100000000000}\ Size : 162522984448 SizeRemaining : 139896598528 UniqueId : \\?\Volume{d2744786-0000-0000-0000-100000000000}\ PSComputerName : DELL590HV12 __GENUS : 2 __CLASS : MSFT_Volume __SUPERCLASS : MSFT_StorageObject __DYNASTY : MSFT_StorageObject __RELPATH : MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{e77f52c6-0000-0000-0000-100000000000}\\\"" __PROPERTY_COUNT : 18 __DERIVATION : {MSFT_StorageObject} __SERVER : DELL590HV12 __NAMESPACE : Root\Microsoft\Windows\Storage __PATH : \\DELL590HV12\Root\Microsoft\Windows\Storage:MSFT_Volume.ObjectId="{1}\\\\DELLCSPRHV02\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\\\?\\Volume{e77f52c6-0000-0000-0000-1000000 00000}\\\"" AllocationUnitSize : 4096 DedupMode : 4 DriveLetter : D DriveType : 3 FileSystem : NTFS FileSystemLabel : DATA FileSystemType : 14 HealthStatus : 0 ObjectId : {1}\\DELLCSPRHV02\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{60fd5c97-6507-4543-99f1-daf47227f21e}:VO:\\?\Volume{e77f52c6-0000-0000-0000-100000000000}\" OperationalStatus : {2} PassThroughClass : PassThroughIds : PassThroughNamespace : PassThroughServer : Path : \\?\Volume{e77f52c6-0000-0000-0000-100000000000}\ Size : 162522984448 SizeRemaining : 46635180032 UniqueId : \\?\Volume{e77f52c6-0000-0000-0000-100000000000}\ PSComputerName : DELL590HV12
- تم التحرير بواسطة igor.golikov 25/رجب/1440 04:42 م
الإجابات
-
Hi,
Thanks for your question.
Can you help to collect the screenshot of disk management? It could be a spanned volume.
A spanned volume is a dynamic volume consisting of disk space on more than one physical disk. If a simple volume is not a system volume or boot volume, you can extend it across additional disks to create a spanned volume, or you can create a spanned volume in unallocated space on a dynamic disk.
You could refer to the article below to manage spanned volumes:https://technet.microsoft.com/en-us/library/cc771087.aspx
Best Regards,Lee
Just do it.
- تم الاقتراح كإجابة بواسطة LeeSeenLiMicrosoft contingent staff, Moderator 05/رمضان/1440 02:53 ص
- تم وضع علامة كإجابة بواسطة Hamid Sadeghpour SalehModerator 06/محرم/1441 08:13 م
-
Hi,
Thanks for your reply.
Whether your DISK1 consists of raid, please run "Get-physicaldisk" cmdlet to check it.
I found your 6 driveletter "d" output has the same size and different free size. The sum of your 6 free sizes equal to 119GB.
Best regards,
Lee
Just do it.
- تم الاقتراح كإجابة بواسطة LeeSeenLiMicrosoft contingent staff, Moderator 05/رمضان/1440 02:53 ص
- تم وضع علامة كإجابة بواسطة Hamid Sadeghpour SalehModerator 06/محرم/1441 08:13 م
جميع الردود
-
Hi,
Thanks for your question.
Can you help to collect the screenshot of disk management? It could be a spanned volume.
A spanned volume is a dynamic volume consisting of disk space on more than one physical disk. If a simple volume is not a system volume or boot volume, you can extend it across additional disks to create a spanned volume, or you can create a spanned volume in unallocated space on a dynamic disk.
You could refer to the article below to manage spanned volumes:https://technet.microsoft.com/en-us/library/cc771087.aspx
Best Regards,Lee
Just do it.
- تم الاقتراح كإجابة بواسطة LeeSeenLiMicrosoft contingent staff, Moderator 05/رمضان/1440 02:53 ص
- تم وضع علامة كإجابة بواسطة Hamid Sadeghpour SalehModerator 06/محرم/1441 08:13 م
-
-
Hi,
Thanks for your reply.
Whether your DISK1 consists of raid, please run "Get-physicaldisk" cmdlet to check it.
I found your 6 driveletter "d" output has the same size and different free size. The sum of your 6 free sizes equal to 119GB.
Best regards,
Lee
Just do it.
- تم الاقتراح كإجابة بواسطة LeeSeenLiMicrosoft contingent staff, Moderator 05/رمضان/1440 02:53 ص
- تم وضع علامة كإجابة بواسطة Hamid Sadeghpour SalehModerator 06/محرم/1441 08:13 م
-
-
Here is another example. 2 MSFT_Volume records, and only 1 has correct SizeRemaining
- تم التحرير بواسطة igor.golikov 27/رجب/1440 07:10 ص
-
Hi,
Thanks for your question.
It's a very strange result. These volumes all have unique Id. I can't solve this problem now, I will continue to research it, if there is a new result, I will come back to update the post.
Also, I will suggest you post your issue in the File Services and Storage forum for better help:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverfiles
Best regards,
Just do it.
-
My earlier reply seems to have got deleted ...?
This is a failover cluster right (or even a SQL AG which uses clustering even though it uses local storage)
Unfortunately with clustering enabled, the local drives on each node (D: in this case) will all show up in the Get-volume or in Get-WmiObject -Query "SELECT * FROM Msft_Volume" -Namespace Root/Microsoft/Windows/Storage
-
-
Warning, do NOT do the following, as it will format all the D: partitions !
Get-partition -DriveLetter D | Format-Volumeas the Get-partition -DriveLetter D returns all the occurances
Using other methods to format a d: drive will correctly only do the local D: drive