swarmctl -t gives specific details on each disk on a node
- use
Use -a -x to get more disk statistics for all nodes in the cluster.
- great
Great for seeing changes over time and tracking potentially bad disks
-. Can use this as part of a cron job
...
.
trappedBytes is measured in MB.
Code Block |
---|
[root@swarmcontentgateway dist]# ./swarmctl -t -d 172.29.3.0
+---------------+----------+-------------------------+--------------+-----------+-----------+------------+----------+-------------+--------+-------------------------+-------------------+------------+
| nodeIPAddress | name | uuid | trappedBytes | trapRatio | usedSpace | availSpace | maxSpace | streamCount | status | largestStreamUuid | largestStreamSize | journalBid |
+===============+==========+=========================+==============+===========+===========+============+==========+=============+========+=========================+===================+============+
| 172.29.3.0 | /dev/sda | 92cb44e29e7166b23070a49 | 0 | 1 | 1.10GB | 64.68GB | 65.78GB | 600 | ok | 92cb44e29e7166b23070a49 | 109 | 0 |
| | | 83e78b9a0 | | | | | | | | 83e78b9a0 | | |
+---------------+----------+-------------------------+--------------+-----------+-----------+------------+----------+-------------+--------+-------------------------+-------------------+------------+
| 172.29.3.0 | /dev/sdb | 974444b53c81940ea60f003 | 0 | 1 | 1.15GB | 64.63GB | 65.78GB | 839 | ok | 974444b53c81940ea60f003 | 109 | 0 |
| | | bf29ba4cf | | | | | | | | bf29ba4cf | | |
+---------------+----------+-------------------------+--------------+-----------+-----------+------------+----------+-------------+--------+-------------------------+-------------------+------------+
| 172.29.3.0 | /dev/sdc | ea5f7b9e9da836ed1116b14 | 0 | 1 | 1.22GB | 64.56GB | 65.78GB | 748 | ok | ea5f7b9e9da836ed1116b14 | 109 | 0 |
| | | c019d41d8 | | | | | | | | c019d41d8 | | |
+---------------+----------+-------------------------+--------------+-----------+-----------+------------+----------+-------------+--------+-------------------------+-------------------+------------+ |