On 12/10/2023 09:55, Jeffrey Walton wrote:
On Wed, Oct 11, 2023 at 10:49 PM Andy Smith wrote:
- they were using LVM
- they'd taken a snapshot of their root fs
- they were finding and mounting their root fs by fs UUID
- snapshot obviously had same fs UUID
- the kernel was finding the snapshot first at boot
...
I can't help but wonder how many hundreds or thousands of man hours
were wasted because LVM was not designed to avoid the problem by
default.
It is not responsibility of block-level device to deal with UUID of file
systems.
I would expect that manuals recommending UUID or file system labels have
warnings concerning LVM.
I am curious if debian installer uses volume names in /etc/fstab when
LVM is involved (either guided or manual partitioning).