2018-01-21 16:09 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0013548CentOS-7systemdpublic2017-07-14 08:54
Platformx86_64OSCentosOS Version7
Product Version7.3.1611 
Target VersionFixed in Version 
Summary0013548: systemd unmounts /boot when duplicate uuid are found
DescriptionWhen restoring from backup, we mounted a snapshot OS disk, which obviously has all the same properties as the current mounted disk.
We mounted it by using
vgchange -a y $newvg
mount -o nouuid /dev/$newvg/home /mnt
<do restore of selected files>
umount /mnt
vgexport $newvg
vgchange -an $newvg
Now I am done restoring, I get rid of the disk:

/bin/sh -c echo 1 > /sys/block/sdb/device/delete

systemd responds:
systemd[1]: Unmounting /boot.../boot

so I mounted manually:
mount /boot

systemd says:
systemd[1]: Unit boot.mount is bound to inactive unit dev-disk-by\x2duuid-6029c120\x2d3f24\x2d4323\x2d81a7\x2d9b55b6231672.device. Stopping, too.
systemd[1]: Unmounting /boot...
Steps To Reproducesee above
Additional InformationI guess this is a corner case, but it could be avoided if both uuid and devicename is considered when marking a device as inactive. This is a classic Bios system, no EFI involved.

rpm -q systemd

systemctl --version
systemd 219
TagsNo tags attached.
Attached Files


There are no notes attached to this issue.

-Issue History
Date Modified Username Field Change
2017-07-14 08:54 leo.baltus@npo.nl New Issue
+Issue History