libvirt/src/storage
Peter Krempa fa1a54baa5 virStorageBackendLogicalCheckPool: Properly mark empty logical pools as active
The '/dev' filesystem convenience directory for a LVM volume group is
not created when the volume group is empty.

The logic in 'virStorageBackendLogicalCheckPool' which is used to see
whether a pool is active was first checking presence of the directory,
which failed for an empty VG.

Since the second step is virStorageBackendLogicalMatchPoolSource which
is checking mapping between configured PVs and the VG, we can simply
rely on the function to also check presence of the pool.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2228223
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2023-08-10 14:53:26 +02:00
..
meson.build Remove support for building the sheepdog storage driver backend 2022-09-01 13:11:09 +02:00
parthelper.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_disk.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_disk.h
storage_backend_fs.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_fs.h
storage_backend_gluster.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_gluster.h
storage_backend_iscsi_direct.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_iscsi_direct.h
storage_backend_iscsi.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_iscsi.h
storage_backend_logical.c virStorageBackendLogicalCheckPool: Properly mark empty logical pools as active 2023-08-10 14:53:26 +02:00
storage_backend_logical.h
storage_backend_mpath.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_mpath.h
storage_backend_rbd.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_rbd.h
storage_backend_scsi.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_scsi.h
storage_backend_vstorage.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend_vstorage.h
storage_backend_zfs.c storage: zfs: Use 'zfs list' to check pool status 2023-07-20 10:44:14 +02:00
storage_backend_zfs.h
storage_backend.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_backend.h
storage_driver.c lib: Prefer sizeof(variable) instead of sizeof(type) in memset 2023-08-03 16:41:19 +02:00
storage_driver.h
storage_util.c storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_util.h
virtstoraged.init.in
virtstoraged.service.in src: remove After=local-fs.target from systemd units 2023-07-20 10:58:00 +01:00