On 08/03/2021 20:45, Jonathan Buzzard wrote: [SNIP]
So noting that you can write very SQL like statements something like the following should in theory do it
RULE finddangling LIST dangle WHERE MISC_ATTRIBUTES='L' AND SUBSTR(PATH_NAME,0,4)='/fs1/'
Note the above is not checked in any way shape or form for working. Even if you do have bind mounts of other GPFS file systems you just need a more complicated WHERE statement.
Duh, of course as soon as I sent it, I realized there is a missing SHOW RULE finddangling LIST dangle SHOW(PATH_NAME) WHERE MISC_ATTRIBUTES='L' AND SUBSTR(PATH_NAME,0,4)='/fs1/' You could replace the SUBSTR with a REGEX if you prefer JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
