A couple new schnippets for the collection.master
#!/usr/bin/env bash | |||||
while read _ _ mount _; do | |||||
read -t1 < <(stat -t "$mount") || echo "$(date) ${mount} timeout $(lsof -b 2>/dev/null | grep "${mount}")"; | |||||
done < <(mount -t nfs) >> /var/log/nfs.err |
mkfs.xfs -m reflink=1 /dev/sdXX |