diff --git a/roles/mgrote_rsync/templates/rsync_mirror.sh.j2 b/roles/mgrote_rsync/templates/rsync_mirror.sh.j2 index 867f4dec..aa1df64d 100644 --- a/roles/mgrote_rsync/templates/rsync_mirror.sh.j2 +++ b/roles/mgrote_rsync/templates/rsync_mirror.sh.j2 @@ -10,3 +10,8 @@ echo "" # --checksum ; https://serverfault.com/questions/211005/rsync-difference-between-checksum-and-ignore-times-options + +# TODO +# check if src und dest are mounted +# # check if target dataset is mounted +/usr/sbin/zfs get mounted -H {{ item.destination_mount_check }} 2>&1 > /dev/null || echo "Pool not mounted!"