HELP - pfsense fails to boot after restart
-
Hi,
Here's the case - I've had some IP addressing conflicts between two VPNs on one of the hosts, so I needed to change openVPN address range within pfSense. I've done so, but since there were some problems with routing I reset the States table. Then I've lost internet connection (being able to ping IP addresses, but DNS has not been resolving anything). I've noticed, that everything slowed down on the web interface - it took a minute to load firewall rules table - only the main dashboard was loading as usual, being cached in the browser I suppose. Then I logged in using ssh - menu appeared, I chose option 5 to reboot. It did not succeed, it ended with an error of libcrypt.so or similar - I do not recall exactly. So I entered the shell and run reboot command, so it did, and did not wake up. Ping is not responding - host is down. I entered IPMI console and it showed:
BIOS drive C: is disk0 BIOS drive D: is disk1 Can't find /boot/zfsloader Can't find /boot/loader Can't find /boot/kernel/kernel FreeBSD/x86 boot Default: zfs:pfSense/ROOT/default:/boot/kernel/kernel boot:
I've got two identical SSD drives set up as RAID1 on pfSense zfs filesystem. I suspected the disk failure and I tried to boot up on the single one, but without any success..
Please help - the whole environment is down, there is no internet, and my programmers are unable to work on their VMs....
Thanks
Kal800
-
Fastest way back is probably to reinstall and restore your config.
What sort of RAID were you using? ZFS mirror?
Steve
-
Yes, this is zfs mirror. I was able to import the pool and mount the pfSense dataset using FreeBSD USB image with single user mode, but I am unable to see any file. For example under /mnt where I set my mountpoint there is ./reservation folder visible, but no actual files. How can I retrieve the config? As far as I remember, I set automatic backup, but this is useless as the backup files are inside the filesystem, which probably got corrupt...
Kal800
-
@kal800 If it’s the pfSense ABC you can restore:
https://docs.netgate.com/pfsense/en/latest/backup/autoconfigbackup.html#bare-metal-restorationThere is this if you can get it to see the file: https://docs.netgate.com/pfsense/en/latest/backup/restore-during-install.html
Always have a backup…