[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trixie update/upgrade strangeness



On Wed, Oct 11, 2023 at 10:49 PM Andy Smith <andy@strugglers.net> wrote:
>
> On Wed, Oct 11, 2023 at 04:25:58PM -0500, Mark Copper wrote:
> > suddenly, all files created on /dev/sda1 for the last 27 days have
> > disappeared, even files I edited this morning before restarting. Like the
> > clock was turned back a month. The disk, a new 18 TB, passed the test
>
> This happened to a customer of mine once, and they asked me to look
> into it. When I did I found that:
>
> - 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
>
> Could anything like that be happening?

That's devious.

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.

Jeff


Reply to: