Build precise queries to find exactly what you need
Press ESC to close
If your synology has docker or some similar active the script will fail because it will find multiple /volume1 instances.
To prevent this change the line #317 to: (in which you excluded /volume1/ (the last slash and thus only grep /volume1) storageID[$i]=$(echo “$syno_diskspace” | grep “= “?/${storageName[$i]}”?” | grep -v “= “?/volume1/”?” | cut -d “=” -f1 | rev | cut -d “.” -f1 | rev)