Category Archives: ZFS

It’s 2017 and ZFS STILL doesn’t have an API?!?

Why is it that, in 2017, with ZFS, –routinely called the most advanced file system in the world– I’m having to use awk to parse the status output from its built-in tools? Why is there STILL no documented, easily query-able API for me to use? The only way that there is for me to get Python to interact with ZFS is for me to use awkward wrappers with little to no documentation. There’s a bunch of undocumented APIs, but nothing that’s really usable for someone without advanced understanding of the platform. I just want to be notified when a drive dies, or starts having problems.
Continue reading It’s 2017 and ZFS STILL doesn’t have an API?!?

ZFS on Linux NFS shares lost at reboot

On several occasions NFS has inexplicably stopped working with my ZFS shares under ZFS on Linux on Ubuntu Server 14.04×64. It seemed to happen every reboot, after checking the sharenfs property on each of the ZFS FS’ I found they were set properly, but still clients were getting access denied when trying to mount the share. Other times, even when they were able to re-mount the share they wouldn’t do so unless I manually triggered it.
Continue reading ZFS on Linux NFS shares lost at reboot