Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

  • swarmctl -t gives specific details on each disk on a node

  • Use -a -x to get more disk statistics for all nodes in the cluster.

  • Great for seeing changes over time and tracking potentially bad disks. Can use this as part of a cron job.

[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               |                   |            |
+---------------+----------+-------------------------+--------------+-----------+-----------+------------+----------+-------------+--------+-------------------------+-------------------+------------+
  • No labels