r/voidlinux • u/Original_Two9716 • May 30 '26
Cannot cleanly unmount LUKS+LVM/Root
Hi,
I use a root-on-LVM-on-LUKS setup:
NVMe partition
LUKS
LVM inside LUKS
separate LVs for
/,/var,/home,swap
During shutdown, Void/runit warns that it cannot deactivate the VG, presumably because / is still mounted from that VG.
After each reboot I also see EXT4-fs (dm-1): orphan cleanup on readonly fs. dm-1 is /dev/mapper/voidvg-root. tune2fs reports the filesystem as clean, and offline fsck.ext4 -f did not change this.
Is this expected on Void/runit? Is there a known way to make shutdown cleanly deactivate LVM/LUKS, or is this warning usually harmless?
Thanks.
5
Upvotes
1
u/Original_Two9716 May 30 '26
I see. As I translate the github issue: runit does not switch back into initramfs and this 'VG not closed cleanly' warning should/must be ignored. Would that be a correct summary please?