On Fri, 26 Sept 2025 at 12:51, Andy Smith via GLLUG
<[email protected]> wrote:
>
> Hi,
>
> On Fri, Sep 26, 2025 at 09:13:12AM +0100, Henrik Morsing via GLLUG wrote:
> > Debian dude has fixed it. A years-old FreeBSD instalation had left a ZFS 
> > signature on sdX6 (how?!) which broke things (why?).
>
> It breaks things because the block device has signatures indicating
> multiple different things and udev picks the first one it finds (zfs in
> your case). So it carried on behaving as if you have a zfs device, not
> an ext filesystem.
>
> I suppose diagnostics could be better somehow. Or mkfs tools could
> detect leftover signatures and warn about them. I've had mkfs.btrfs do
> that before.
>

I learnt something today. I had never heard of "wipefs", probably
because I have never had a problem that needed it.

I guess a more robust system would be to determine if there is ever a
need to have two different fs signatures on a single partition, and if
the answer is no, udev should print a friendly log message that it
found more than one, and please use wipefs to delete the unneeded one.
Is there a use case to have more than one?

-- 
GLLUG mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/gllug

Reply via email to