FreeBSD 11 boot problem in a UEFI ZFS-root with 4K native HDDs setup
Claudiu Ciurdariu
claudiu.ciurdariu at gmail.com
Mon Oct 24 15:40:42 UTC 2016
Trying to boot FreeBSD 11 RELEASE in UEFI mode after installing the OS with
root on a 4K native 2-disk ZFS mirror and getting the error below:
>> FreeBSD EFI boot block
Loader path: /boot/loader.efi
Initializing modules: ZFS UFS
Probing 14 block devices...........*.+ done
ZFS found the following pools zroot
UFS found no partitions
ZFS: i/o error - all block copies unavailable
ZFS: can't read MOS of pool zroot
ZFS: i/o error - all block copies unavailable
ZFS: can't read MOS of pool zroot
Failed to load '/boot/loader.efi'
panic: No bootable partitions found!
The partition layout looks like this:
# gpart show
=> 6 488378629 ada0 GPT (1.8T)
6 200 1 efi (800K)
206 50 - free - (200K)
256 488378368 2 freebsd-zfs (1.8T)
488378624 11 - free - (44K)
=> 6 488378629 ada1 GPT (1.8T)
6 200 1 efi (800K)
206 50 - free - (200K)
256 488378368 2 freebsd-zfs (1.8T)
488378624 11 - free - (44K)
# gpart list
Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 488378634
first: 6
entries: 128
scheme: GPT
Providers:
1. Name: ada0p1
Mediasize: 819200 (800K)
Sectorsize: 4096
Stripesize: 0
Stripeoffset: 24576
Mode: r0w0e0
rawuuid: 1f029d6d-99f4-11e6-819b-001e67e6cc2f
rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
label: efiboot0
length: 819200
offset: 24576
type: efi
index: 1
end: 205
start: 6
2. Name: ada0p2
Mediasize: 2000397795328 (1.8T)
Sectorsize: 4096
Stripesize: 0
Stripeoffset: 1048576
Mode: r1w1e1
rawuuid: 1f496f99-99f4-11e6-819b-001e67e6cc2f
rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
label: zfs0
length: 2000397795328
offset: 1048576
type: freebsd-zfs
index: 2
end: 488378623
start: 256
Consumers:
1. Name: ada0
Mediasize: 2000398909440 (1.8T)
Sectorsize: 4096
Mode: r1w1e2
Geom name: ada1
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 488378634
first: 6
entries: 128
scheme: GPT
Providers:
1. Name: ada1p1
Mediasize: 819200 (800K)
Sectorsize: 4096
Stripesize: 0
Stripeoffset: 24576
Mode: r0w0e0
rawuuid: 1faf567b-99f4-11e6-819b-001e67e6cc2f
rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
label: efiboot1
length: 819200
offset: 24576
type: efi
index: 1
end: 205
start: 6
2. Name: ada1p2
Mediasize: 2000397795328 (1.8T)
Sectorsize: 4096
Stripesize: 0
Stripeoffset: 1048576
Mode: r1w1e1
rawuuid: 1fc2d874-99f4-11e6-819b-001e67e6cc2f
rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
label: zfs1
length: 2000397795328
offset: 1048576
type: freebsd-zfs
index: 2
end: 488378623
start: 256
Consumers:
1. Name: ada1
Mediasize: 2000398909440 (1.8T)
Sectorsize: 4096
Mode: r1w1e2
And the ZFS dataset:
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 301M 1.76T 96K /mnt/zroot
zroot/ROOT 299M 1.76T 96K none
zroot/ROOT/default 299M 1.76T 299M /mnt
zroot/tmp 128K 1.76T 128K /mnt/tmp
zroot/usr 384K 1.76T 96K /mnt/usr
zroot/usr/home 96K 1.76T 96K /mnt/usr/home
zroot/usr/ports 96K 1.76T 96K /mnt/usr/ports
zroot/usr/src 96K 1.76T 96K /mnt/usr/src
zroot/var 588K 1.76T 96K /mnt/var
zroot/var/audit 96K 1.76T 96K /mnt/var/audit
zroot/var/crash 96K 1.76T 96K /mnt/var/crash
zroot/var/log 108K 1.76T 108K /mnt/var/log
zroot/var/mail 96K 1.76T 96K /mnt/var/mail
zroot/var/tmp 96K 1.76T 96K /mnt/var/tmp
The HDDs are 2 Tohsiba 4Kn spinning disks:
# camcontrol devlist
<AHCI SGPIO Enclosure 1.00 0001> at scbus4 target 0 lun 0 (ses0,pass0)
<TOSHIBA MG04ACA200A FP2A> at scbus7 target 0 lun 0 (ada0,pass1)
<TOSHIBA MG04ACA200A FP2A> at scbus8 target 0 lun 0 (ada1,pass2)
<AHCI SGPIO Enclosure 1.00 0001> at scbus11 target 0 lun 0 (ses1,pass3)
<Virtual CDROM 1.00> at scbus12 target 0 lun 0 (pass4,cd0)
<Virtual Floppy 1.00> at scbus12 target 0 lun 1 (da0,pass5)
Any idea what the issue might be?
Thanks,
Claudiu
More information about the freebsd-hackers
mailing list