[Bug 262617] ZFS pool on USB drive does not mount correctly on startup

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 18 Mar 2022 18:21:55 UTC

--- Comment #5 from donaldcallen@gmail.com ---
(In reply to Graham Perrin from comment #4)

If you mean how the partitions were set up prior to creating a zfs pool on the
whole disk, I used gpart to create a GPT partitioning scheme with one partition
containing a UFS2 filesystem.

For what it's worth, I am guessing that the messages about the primary GPT
being corrupted are a major clue. I am further guessing that the zfs pool
creation left the secondary GPT table intact, confusing another part of the
system into thinking this device had a GPT setup that had had its primary table
corrupted. Note that it says it is using the secondary GPT table, so apparently
it thinks that is valid. 

If I were trying to fix this, I would investigate this line of reasoning (I'm
an old -- literally -- OS internals guy, having run the Tenex project for years
at BBN in the ARPANet and early Internet days).

You are receiving this mail because:
You are the assignee for the bug.