Good day everyone, I shutdown my FreeBSD server for a few hours and booted it and it would not boot.
I was greeted by this error
I tried using FreeBSD User: pboehmer thread fix, but to my dismay it didn't work.
I put the bootcode on all my drives
I can mount the pool using FreeBSD's Live CD and the pool is online, not degraded.
My zpool consists of 3 raidz3 of 7 hard drives.
I use FreeBSD 11.1-RELEASE and all my data seems to be intact.
Can someone help me make it bootable again?
I also tried FreeBSD user: frijsdijk code it also did not work for me.
I was greeted by this error
Code:
FreeBSD/x86 ZFS enabled bootstrap loader, Revision 1.1
(Fri Jul 21 02:03:14 UTC 2017 root@releng2.nyi.freebsd.org)
ZFS: i/o error - all block copies unavailable
try-include not found
|
ZFS: i/o error - all block copies unavailable
Multiboot checksum failed, magic: 0x1badb002 flags: 0x83423c74 checksum: 0xc23904c1
ZFS: i/o error - all block copies unavailable
ZFS: i/o error - all block copies unavailable
ZFS: i/o error - all block copies unavailable
ZFS: i/o error - all block copies unavailable
can't load 'kernel'
Type '?' for a list of commands, 'help' for more detailed help.
OK _
I tried using FreeBSD User: pboehmer thread fix, but to my dismay it didn't work.
Code:
boot usb drive
select Live CD
mount -u /
zpool import -o cachefile=/var/tmp/zpool.cache -f -R /mnt zroot
zfs umount -af
zfs set mountpoint=/ zroot
zfs mount -a
cp -rpv /boot/* /mnt/boot
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 mfid0
cp /var/tmp/zpool.cache /mnt/boot/zfs
zfs umount -af
zfs set mountpoint=legacy zroot
zpool export zroot
shutdown -r now
I put the bootcode on all my drives
I can mount the pool using FreeBSD's Live CD and the pool is online, not degraded.
My zpool consists of 3 raidz3 of 7 hard drives.
Code:
zroot
raidz3-0
ada0p4
ada2p4
ada1p4
da0p4
da1p4
da2p4
da3p4
raidz3-1
ada5
ada3
ada4
da4
da5
da6
da7
raidz3-2
da8
da9
da10
da11
da12
da13
da14
errors: No known data errors
I use FreeBSD 11.1-RELEASE and all my data seems to be intact.
Can someone help me make it bootable again?
I also tried FreeBSD user: frijsdijk code it also did not work for me.
Code:
# mkdir /tmp/mnt
# zpool import -R /tmp/mnt -f zroot
# cd /tmp/mnt
# mv boot boot.orig
# mkdir boot
# cd boot.orig
# cp -Rp * /tmp/mnt/boot
# zpool export
# reboot