I lvremove'd an active volume, but for some reason the block device still persists in /dev/mapper and /dev/<vg>
An ls of /sys/block shows that the dm devices in question no longer exist, yet they're still showing up in /dev
Related issues: renaming logical volumes sometimes creates symlinks instead of moving devices.
Created attachment 557904 [details]
Yeah, I'm not sure if this is an issue with udev, lvm2, the kernel, or something else, though those three packages are my first suspects.
Just curious but I'm thinking what happens is this:
1. lvm commands interface with the device mapper
2. Stuff gets juggled in the kernel
3. Uevents get fired off
4. Udev catches them
5. /dev is updated by udev
Is this correct?
If so, then shouldn't udev be assigned, or at least CCed on, this bug?
If not, how does it work?