script for checking mounts and archive logs