Commit graph

5 commits

Author SHA1 Message Date
Alex Boag-Munroe
e44eea3318 Log when unable to ascertain ZFS version
Use established logging strategy to emit an error log when ZFS
version information cannot be obtained.
2019-09-26 23:30:06 +01:00
Alex Boag-Munroe
fd990eb4fd Don't crash when ZFS version info is unavailable
Catch the FileNotFoundError and stub the zfs version for the
script to not crash.
2019-09-26 23:22:25 +01:00
Alex Boag-Munroe
3a2fcb1abf Support parsing zpool output for ZFS >=0.8.0
Query /sys/module/zfs/version for ZFS version and account for the
additional CKPOINT field in ZFS 0.8.0 and higher.
2019-09-26 00:25:18 +01:00
Frederic Junod
62f79beb90 Use 'is False' instead of '== False' 2018-06-04 14:53:01 +02:00
Adam Dej
5766fedc46 [modules] Add zpool module 2017-11-25 13:01:59 +01:00