Broken ZFS boot on upgrade

Martin Simmons martin at
Tue Nov 12 18:45:17 UTC 2019

>>>>> On Mon, 11 Nov 2019 16:43:45 -0330, Jonathan Anderson said:
> On 11/11, Andriy Gapon wrote:
> > You need to find out the inode number first (ls -i or stat -s).
> > Then you can use zdb -ddddd <zfs dataset> <inum>
> That's very helpful, thanks! I've attempted to do this, but zdb is giving
> surprising errors. My root dataset is mounted at /mnt/zroot:
> zroot/ROOT/default on /mnt/zroot (zfs, local, noatime, nfsv4acls)
> and ls -i /mnt/zroot gives me inode numbers for things in / (including /boot),
> but when I execute zdb with that dataset and inode number I get an error:
> # zdb -ddddd zroot/ROOT/default 4495
> failed to own dataset 'zroot/ROOT/default': No such file or directory
> zdb: can't open 'zroot/ROOT/default': No such file or directory
> This despite zpool status saying that everything is fine, me being able to run
> `find /boot` with no errors, etc. I get the same error whether the dataset is
> mounted or unmounted.

Try adding the -e option as well.

It might also be useful to check the zdb output for inum 1.


More information about the freebsd-fs mailing list