swarmctl -b Largest streams
swarmctl -b returns the largest streams and the associated replica counts.
Add -a for all nodes.
-x for much more output to file.
If the largest stream on a particular disk is a segment, that is noted as "seg"
/dev/sdb on 172.30.13.33 is retired in the example below:
[root@linux dist]# ./swarmctl -a -b -d 172.30.13.45
+---------------+-----------+--------------+-------------+---------+----------+-------------------+----------------------------------+-------------------+
| nodeIPAddress | name | availPercent | streamCount | volErrs | maxSpace | largestStreamSize | largestStreamUuid | largeUuidRepCount |
+===============+===========+==============+=============+=========+==========+===================+==================================+===================+
| 172.30.13.45 | /dev/dm-0 | 42% | 14.52M | 0 | 2.83TB | 2000 | | - |
+---------------+-----------+--------------+-------------+---------+----------+-------------------+----------------------------------+-------------------+
| 172.30.13.21 | /dev/sdd | 98% | 1.61M | 0 | 5.84TB | 200 | fd93642a885eb244f8ad55220500ef36 | seg |
+---------------+-----------+--------------+-------------+---------+----------+-------------------+----------------------------------+-------------------+
| 172.30.13.33 | /dev/sdb | 0% | 0 | 0 | 0.00MB | 0 | | - |
+---------------+-----------+--------------+-------------+---------+----------+-------------------+----------------------------------+-------------------+
| 172.30.13.57 | /dev/sdb | 94% | 2.28M | 0 | 2.83TB | 52 | d0eb58bd0dbed3d5ae5d0c82565beeea | seg |
+---------------+-----------+--------------+-------------+---------+----------+-------------------+----------------------------------+-------------------+
| 172.30.13.81 | /dev/dm-0 | 37% | 15.54M | 0 | 2.83TB | 2000 | | - |
+---------------+-----------+--------------+-------------+---------+----------+-------------------+----------------------------------+-------------------+
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.