Hello,
I use rsync to do backup with the option
- Code: Select all
--link-dest
in order to save place on a zfs dataset. Now, I am trying to delete old backups, but if I run something similar to
- Code: Select all
shutil.rmtree(directory)
or
- Code: Select all
rm -fr ./ directory
. It will work for a few directories, but if I run it a couple of time on a couple of directories, eventually the machine will not answer anymore and just reboot (for example in a find that deletes older directories). I had run those scripts multiple in the past when my backups where not on zfs without a hitch for years. Now, I have tried multiple time and yet, machine keeps rebooting.
So my question, is support for hardlink any good in openzfs on mac ? Has any one done this without any problem ?
Server is an el capitan 10.11.6
zfs version is :
> sysctl {spl,zfs}.kext_version
spl.kext_version: 1.5.0-15_ge755917
zfs.kext_version: 1.5.0-73_gc4fe048
Thank you