py-libzfs icon indicating copy to clipboard operation
py-libzfs copied to clipboard

Python libzfs bindings

Results 20 py-libzfs issues
Sort by recently updated
recently updated
newest added

we're currently debugging an issue in libioc where py-libzfs throws an exception when trying to check if a dataset is mounted https://github.com/bsdci/libioc/pull/753#issuecomment-612628330 apparently, the port has been updated, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242453 without...

https://github.com/truenas/py-libzfs/commit/bc687e95e92f1a14da4b990b193296c51366fd13 added a global lock on zfs objects when used as context manager. Howewer, just when used as context manager. So, this may not protect in every case if the...

Also refactor to release resources on object deallocation, not upon context exit. Closes #250

I believe the current py-libzfs project is not compatible with cython 3.x. The following warnings and errors will appear: ``` warning: libzfs.pxd:7:0: The 'IF' statement is deprecated and will be...

After successfully mounting a ZFS dataset, the value of its 'mounted' property doesn't get updated from 'no' to 'yes'. I think this is a bug, but if it's an expected...

I haven't found any stubs with type hintings for libzfs (neither here nor as 3rd-party package), so that static analysis tools like mypy can validate code which uses this library....

The output of `zpool iostat` can be obtained with something like ```python import libzfs pool = libzfs.ZFS().get("pool-name") print( sum( pool .root_vdev .stats .nvlist .get("vdev_stats_ex") .get("vdev_tot_r_lat_histo") # property name ) )...

If you use `snapshots_serialized` and the only property in the list is `createtxg`, py-libzfs will not fetch it correctly. Instead of the usual `parsed`, `source`, `rawvalue`, `value` dict, it will...

On FreeBSD 12.4 (at least): libzfs.c:97129:53: error: use of undeclared identifier 'ZFS_PROP_USEROBJUSED'; did you mean 'ZFS_PROP_USERUSED'? libzfs.c:97141:53: error: use of undeclared identifier 'ZFS_PROP_USEROBJQUOTA'; did you mean 'ZFS_PROP_USERQUOTA'? libzfs.c:97153:53: error: use...

OS : Debian Bullseye (11) Kernel : 5.10.0-15-amd64 ZFS Version : 2.1.4-1~bpo11+1 Impacted version : `release/22.02.4` While using py-libzfs with Asyncio, accessing properties of several datasets concurrently causes a segfault...