getClusterVolumeUsage
Syntax
getClusterVolumeUsage()
Arguments
None
Details
Checks the disk usage status of each node in the cluster. This function can only be executed by an administrator.
Return value: A table with the following columns:
- node: Node name
- volumePath: Path of the volume on disk
- volumeId: Internal ID of the volume
- usage: Current disk usage (in bytes)
- capacity: Total disk capacity (in bytes)
Examples
getClusterVolumeUsage()
node | volumePath | volumeId | usage | capacity |
---|---|---|---|---|
local8999 | /home/server/local8999/storage | 109,993,503 | 138,556,121,088 | 250,438,021,120 |