Hi,
Am a relative newbie. I had FreeBSD-11 on my desktop, with two zfs pools: a 2-way mirrored on (2) SSD, and one for un-mirrored stripe single nvme-ssd.
Things were generally ok until now. Recently, I made some changes to the loader.conf file to get IPMI to work in FreeBSD, following the instructions in https://polytarian.com/2016/09/21/setup-ipmi-in-freebsd-10/.
When I rebooted, the boot failed. FreeBSD goes into mountroot> prompt. It complains that the disks are corrupt.
I tried various things:
1) in the mountroot, I typed zfs:/dev/ada0p2, it says error 2: filesystem not found. Also tried other partitions, same error.
2) went into loader prompt, tried to unset the variable ipmi_load, and updated ipmi variables in device.hints. Unfortunately, loader.conf show does not list any of the ipmi variables.
3) went into live cd, and tried this (as was suggested in: https://serverfault.com/questions/8...-zfs-from-live-cd-and-find-the-root-partition).
geli attach /dev/.. That didn't work either- says metadata not found
So basically, am stuck with no options. Can you please a let me know what I can try. I don't mind re-installing freebsd if that is the only option. If that is the only option, is it possible to create a restore option? so in the future if the system cannot boot, I can restore from a clean copy in the past. How to do this?
Appreciate your help. Thank you in advance.
Am a relative newbie. I had FreeBSD-11 on my desktop, with two zfs pools: a 2-way mirrored on (2) SSD, and one for un-mirrored stripe single nvme-ssd.
Things were generally ok until now. Recently, I made some changes to the loader.conf file to get IPMI to work in FreeBSD, following the instructions in https://polytarian.com/2016/09/21/setup-ipmi-in-freebsd-10/.
When I rebooted, the boot failed. FreeBSD goes into mountroot> prompt. It complains that the disks are corrupt.
I tried various things:
1) in the mountroot, I typed zfs:/dev/ada0p2, it says error 2: filesystem not found. Also tried other partitions, same error.
2) went into loader prompt, tried to unset the variable ipmi_load, and updated ipmi variables in device.hints. Unfortunately, loader.conf show does not list any of the ipmi variables.
3) went into live cd, and tried this (as was suggested in: https://serverfault.com/questions/8...-zfs-from-live-cd-and-find-the-root-partition).
geli attach /dev/.. That didn't work either- says metadata not found
So basically, am stuck with no options. Can you please a let me know what I can try. I don't mind re-installing freebsd if that is the only option. If that is the only option, is it possible to create a restore option? so in the future if the system cannot boot, I can restore from a clean copy in the past. How to do this?
Appreciate your help. Thank you in advance.