This scripts requires automatic login on 7000 node
It lists all projects, filesystems and snapshots.
# vi fs
#!/usr/bin/bash
>data
echo type:project:filesystem:snapshot
echo ---------------------------
for pr in `ssh node141 shares list`
do
echo "pr:${pr}::"
echo "pr:${pr}::">>data
for fs in `ssh node141 shares select $pr list filesystem|tail +5|awk '{print $1}'`
do
echo "fs:${pr}:${fs}:">>data
echo "fs:${pr}:${fs}:"
for sn in `ssh node141 shares select $pr select $fs snapshots list`
do
echo "sn:${pr}:${fs}:${sn}"
echo "sn:${pr}:${fs}:${sn}">>data
done
done
echo ""
done