Montoring disk usage on a Cluster Share Volume

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
jdelrio
Posts: 13
Joined: Sun Oct 02, 2005 5:21 pm
Contact:

Montoring disk usage on a Cluster Share Volume

Post by jdelrio »

I’ve installed a cluster W2008 R2.
How can I get the free space for a CSV (Cluster Share Volume) ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you share this resource over network then UNC test should work just fine. Isn't it?

Regards
Alex
jdelrio
Posts: 13
Joined: Sun Oct 02, 2005 5:21 pm
Contact:

Post by jdelrio »

Alex,
For w2008 the CSV appear as a folder on disk C.
Then if I share this folder the system show as free spaces the disk C freespaces.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

According to Microsoft manuals it should work correctly in such case - Windows function GetDiskFreeSpaceEx should check free space for specified target path :roll:
We checked our code, its fine.

Regards
Alex
jdelrio
Posts: 13
Joined: Sun Oct 02, 2005 5:21 pm
Contact:

Post by jdelrio »

In the Cluster shared volume I have 2 LUNs (VMach1 and VMach2)
The only way I can retrieve the free spaces is running on powershell the command:

Get-WmiObject win32_volume | where-object {$_.Label -eq "VMach1"} | ft Label,FreeSpace
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Than you may setup WMI test using query like select FreeSpace from Win32_Volume where Label='VMach1'
If you want to display MBytes instead of bytes in Reply field, you may mark "Tune up Reply value" option and use expression like [%SuggestedReply% div 1048576] or equivalent expression [%SuggestedReply% div 1024 div 1024]

Regards
Alex
jdelrio
Posts: 13
Joined: Sun Oct 02, 2005 5:21 pm
Contact:

Post by jdelrio »

Ok, thanks Alex
Post Reply