How do I list the UUIDs on a volume?
Datacore Support may ask you about the contents of a particular volume. Following are two ways to get information.
List of UUIDs
Note
This method can take a while and has been known to timeout for densely loaded disks.
Additionally, if the drive is retiring because of bad sectors or other damage, the script may also time out. If there are few streams, but the process takes minutes, it will not work.
Assume a volume ID is 5e3fe929f3a393a99c9bee63ad10edbc
(as seen in the storage console) and the NODE IP where it lives is 192.168.7.84:
curl -u"admin:caringo" -L "192.168.7.84/5e3fe929f3a393a99c9bee63ad10edbc?admin" -o [outfile filename]
This command requires administrative credentials. It will dump a list of all streams that are on that disk.
enumerate-volume.sh script
Here's an example using a script supplied in the Support Tools Bundle: swarm-support-tools.tgz
From the support tools directory:
root@scs:/root/dist>./enumerate-volume.sh -a <any Swarm IP> -A <Swarm admin user password>
This will give a list of all volumes along with their stream counts, volume IDs, disk names, and disk statuses. Run again with -v <volume ID> to collect the UUIDs. Also use -s
to sort/ uniq the output as duplicates are expected. Be careful with this -s
option- long lists of UUIDs as sorting/ uniq can take a while.
[root@ace-scs4-scs1 Support]# ./enumerate-volume.sh -a 192.168.4.84 -A caringo -v a409fc20aeddc5d9e8306f82d4864fff -s
IP Address - volume ID - name - streams - disk status
192.168.4.84 - a409fc20aeddc5d9e8306f82d4864fff - /dev/sda - 3385 - ok
192.168.4.84 - 809b21fbc01bf00db1e90aea2648fe26 - /dev/sdb - 3333 - ok
192.168.4.85 - 8441cbccded3c9c30c0c145cb299c862 - /dev/sda - 3318 - ok
192.168.4.85 - 26abac56e3c6c521a7e07e9238d3693d - /dev/sdb - 3353 - ok
192.168.4.86 - 4f1e1c9920d2d262ea78d0a956673d63 - /dev/sda - 3306 - ok
192.168.4.86 - 57e845303ce95d61bf9cce927c3e7947 - /dev/sdb - 3409 - ok
Your UUIDs are here: ./VOLENUMERATION-2025_0224-134822/uuids-a409fc20aeddc5d9e8306f82d4864fff.csv
[root@ace-scs4-scs1 Support]# wc -l ./VOLENUMERATION-2025_0224-134822/uuids-a409fc20aeddc5d9e8306f82d4864fff.csv
3385 ./VOLENUMERATION-2025_0224-134822/uuids-a409fc20aeddc5d9e8306f82d4864fff.csv
Related content
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.