Hi,
I have been using the following mechanism for syncing snapshots for a few months now:
#!/usr/local/bin/bash
DATASET_ARRAY=(
"zroot/data/mysql"
"zroot/data/var"
"zroot/data/home/root"
"zroot/ROOT/default"
)
if ping -c 1 123.456.789.123 &> /dev/null
then
for DATASET_NAME in "${DATASET_ARRAY[@]}"; do
syncoid --quiet --preserve-recordsize --preserve-properties --recvoptions="u" --no-privilege-elevation --no-sync-snap --create-bookmark root@123.456.789.123:${DATASET_NAME} storage0/syncoid/laptop/${DATASET_NAME}
done
fi
Last week I upgrade the sanoid package in FreeBSD from sanoid-2.2.0 to sanoid-2.3.0 – after that I have started getting this:
cannot receive recordsize property on storage0/syncoid/laptop/zroot/data/mysql: permission denied
cannot receive logbias property on storage0/syncoid/laptop/zroot/data/mysql: permission denied
cannot receive primarycache property on storage0/syncoid/laptop/zroot/data/mysql: permission denied
cannot receive recordsize property on storage0/syncoid/laptop/zroot/data/mysql: permission denied
cannot receive logbias property on storage0/syncoid/laptop/zroot/data/mysql: permission denied
cannot receive primarycache property on storage0/syncoid/laptop/zroot/data/mysql: permission denied
cannot receive canmount property on storage0/syncoid/laptop/zroot/data/var: permission denied
CRIT: --no-sync-snap is set, and getnewestsnapshot() could not find any snapshots on source!
CRITICAL ERROR:
Target storage0/syncoid/laptop/zroot/ROOT/default exists but has no snapshots matching with zroot/ROOT/default!
Replication to target would require destroying existing
target. Cowardly refusing to destroy your existing target.
Any clue to why this might have changed?
What could I do to not get these warning messages?
Thanks in advance!