]> sourceware.org Git - lvm2.git/commit
lvremove: remove device_id for PVs on LVs 1301446728
authorDavid Teigland <teigland@redhat.com>
Wed, 22 May 2024 20:32:17 +0000 (15:32 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 22 May 2024 20:32:17 +0000 (15:32 -0500)
commit47f8bda051817649be23396419c4ffc21bb58ea1
treea267c73ad9d8ba86cdf0657591aa78847f107ca3
parentc609dedc2f035f770b5f645c4695924abf15c2ca
lvremove: remove device_id for PVs on LVs

When PVs are created on LVs, remove the devices file entries
for the PVs when the LVs are removed.  In general, the devices
file entries should be removed with lvmdevices --deldev when
the LVs are removed (lvremove is the equivalent of detaching
a device from the system when layering PVs on LVs.)
This change is effectively an automatic lvmdevices --deldev
command that is built into lvremove when the LV has a PV on it.
lib/device/device_id.c
lib/device/device_id.h
lib/metadata/metadata-exported.h
test/shell/devicesfile-scan-lvs.sh [new file with mode: 0644]
tools/lvremove.c
tools/toollib.c
This page took 0.038377 seconds and 5 git commands to generate.