Re: [PATCH] storage: zfs: Use 'zfs list' to check pool status

2023-07-20 Thread Michal Prívozník
On 7/17/23 10:58, Peter Krempa wrote: > On Mon, Jul 03, 2023 at 16:53:28 -0600, Matt Low wrote: >> The current virtStorageBackendZFSCheckPool checks for the existence of a >> path under /dev/zvol/ to determine if the pool is active. ZFS does not >> create a path under /dev/zvol/ if no ZFS volumes

Re: [PATCH] storage: zfs: Use 'zfs list' to check pool status

2023-07-17 Thread Peter Krempa
On Mon, Jul 03, 2023 at 16:53:28 -0600, Matt Low wrote: > The current virtStorageBackendZFSCheckPool checks for the existence of a > path under /dev/zvol/ to determine if the pool is active. ZFS does not > create a path under /dev/zvol/ if no ZFS volumes have been created under > a particular

[PATCH] storage: zfs: Use 'zfs list' to check pool status

2023-07-03 Thread Matt Low
The current virtStorageBackendZFSCheckPool checks for the existence of a path under /dev/zvol/ to determine if the pool is active. ZFS does not create a path under /dev/zvol/ if no ZFS volumes have been created under a particular dataset, thus, empty ZFS storage pools are deactivated whenever