rescue the config

Started by temporal-agent, February 24, 2025, 10:33:14 PM

Previous topic - Next topic
i have a failed upgrade that won't finish booting.  i've tried to reinstall and import the config off the mirrored zfs array, but it can't seem to.  i can't seem to mount the zfs volume in another distro either.

is there any way to rescue the config?

What does "zpool import" in that other distro say as a result?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

ubuntu 24.04:
failed to mount "zroot"
filesystem type zfs_member not configured in kernel

February 24, 2025, 11:26:55 PM #3 Last Edit: February 24, 2025, 11:29:07 PM by Patrick M. Hausen
Try FreeBSD 14.2.

zpool importto check if the pool is found.

zpool import -o altroot=/mnt zrootto perform the real import and not mount it over your live CD.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

FreeBSD was able to mount it, but i can't find it.



/mnt is read-only in that live session it seems. Try e.g. "mkdir /mnt2" and use that instead. Or "mount -u orw /" before the entire "zpool dance". Something like that, I am not at my computer atm. The error message about "read-only" needs to go away, then you will find the data in /mnt/zroot.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

i mounted it in a temp folder, ls -lah says that there is nothing in zroot.

What does "zfs list" say?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)