None of them:
root@s1:~# zfs list -t snapshot
no datasets available
Am I missing someting? Could this be something to do inside KVM? Like defragmantation ?
I noted that older zfs dataset is more space it uses than it really does. More clearly, kvm disk has only 51.53 GB in use.
When I move this dataset to new node, it moves 152 GB;
root@s1:~# pve-zsync sync --source 118 --dest 1.2.3.4:D4 --verbose
send from @rep_default_2019-12-08_20:59:49 to...
Better than that, I am only allowing traffic only between nodes and from my pc. And my pc has dynamic ip so I update it with following bash to update ip in rules in case of ip change:
updateip.sh
# crontab -e : */5 * * * * sh /updateip.sh
# /etc/init.d/cron restart...
From time to time, I am getting, "cannot receive new filesystem stream: destination has snapshots" error with pve-zsync task. To fix it, I have to delete all snapshots. What could cause this?
I was able to create two task so :
root@backup:~# /usr/sbin/pve-zsync sync --source 1.2.3.4:101 --dest D3 --name 101DAILY --maxsnap 10 --method ssh
root@backup:~# /usr/sbin/pve-zsync sync --source 1.2.3.4:101 --dest D4 --name 101WEEKLY --maxsnap 10 --method ssh
Then I was able to see...
I think it is not with crons because one job which is daily will eares weekly one. So I meant to create two seperate sync jobs. But this time I will also (I think) need to create two dataset for each jobs.?
I want to take snapshos of zfs weekly and daily. So can I create two cron task like:
/usr/sbin/pve-zsync sync --source 1.2.3.4:100 --dest D3 --name 101DAILY --maxsnap 10 --method ssh
and
/usr/sbin/pve-zsync sync --source 1.2.3.4:100 --dest D3 --name 101WEEK --maxsnap 10 --method ssh
/usr/sbin/pve-zsync sync --source xx.xx.xx.xx:119 --dest D3 --name 119 --maxsnap 10 --method ssh
GET ERROR:
cannot create snapshot 'P1/vm-119-disk-0@rep_119_2019-09-04_10:22:20': out of space
But there are enough space to create snapshot.
root@hs1:~# zfs get all P1
NAME PROPERTY...