On a FreeBSD13-p5 system with two zfs pools, each 6x18TB (ada0-ada11) with 4k sectors (sector size logical 4096, physical 4096, offset 0), gptzfsboot takes about 3 minutes to reach the bootstrap loader.
There are no error messages.
On the same system currently running FreeBSD 12.2-RELEASE-p11, I get these errors from gptzfsboot and it takes about 10 minutes to reach bootstrap loader.
This set of errors repeats for each of the 4 internal 18TB disks and takes about 15 seconds per line ( error 128 = timeout).
System boots from SDD (ada12). For the test with FreeBSD13, a 2nd SSDs was used. zpools were not upgraded.
To have the latest gptzfsboot, updated to FreeBSD13-p5 and updated boot code on 2nd SSD:
Sector size changed from 512 to 4096 bytes on all pool devices ( Seagate ST18000NM000J-2TV103 ) with :
System has Bios with MBR.
The pool disks do not contain any partitions and used directly in the zpool:
Resilvering due to recent capacity upgrade of the zpool.
No issues with 4k sectors in normal operation or during Bios POST.
Any ideas how to speed up gptzfsboot?
There are no error messages.
Code:
BIOS drive C: is disk0
BIOS drive D: is disk1
BIOS drive E: is disk2
BIOS drive F: is disk3
BIOS drive G: is disk4
BIOS drive H: is disk5
-
Waiting for 3 minutes ... booting continues normally afterwards
FreeBSD/x86 bootstrap loader, Revision 1.1
On the same system currently running FreeBSD 12.2-RELEASE-p11, I get these errors from gptzfsboot and it takes about 10 minutes to reach bootstrap loader.
This set of errors repeats for each of the 4 internal 18TB disks and takes about 15 seconds per line ( error 128 = timeout).
Code:
gptzfsboot: error 128 lba 1
gptzfsboot: error 128 lba 1
gptzfsboot: error 128 lba 32
gptzfsboot: error 128 lba 544
gptzfsboot: error 128 lba 16513056
gptzfsboot: error 128 lba 16513568
gptzfsboot: error 128 lba 1
gptzfsboot: error 128 lba 16514056
gptzfsboot: error 128 lba 1
Takes about 10 minutes to get here ... booting continues normally afterwards
BTX loader 1.00 BTX version is 1.02
Consoles: internal video/keyboard
BIOS drive C: is disk0
BIOS drive D: is disk1
BIOS drive E: is disk2
BIOS drive F: is disk3
BIOS drive G: is disk4
BIOS drive H: is disk5
System boots from SDD (ada12). For the test with FreeBSD13, a 2nd SSDs was used. zpools were not upgraded.
To have the latest gptzfsboot, updated to FreeBSD13-p5 and updated boot code on 2nd SSD:
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada12
Sector size changed from 512 to 4096 bytes on all pool devices ( Seagate ST18000NM000J-2TV103 ) with :
SeaChest_Lite_x86_64-portbld-freebsd12.0 --setSectorSize 4096 --confirm this-will-erase-data -d /dev/ada[n]
System has Bios with MBR.
The pool disks do not contain any partitions and used directly in the zpool:
Code:
zpool status Pool_A Pool_B
pool: Pool_A
state: ONLINE
scan: resilvered 5.13T in 1 days 17:49:10 with 0 errors on Sun Nov 7 04:56:49 2021
config:
NAME STATE READ WRITE CKSUM
Pool_A ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ada0 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada4 ONLINE 0 0 0
ada6 ONLINE 0 0 0
ada8 ONLINE 0 0 0
ada10 ONLINE 0 0 0
errors: No known data errors
pool: Pool_B
state: ONLINE
scan: resilvered 5.16T in 1 days 18:01:02 with 0 errors on Sun Nov 7 05:09:45 2021
config:
NAME STATE READ WRITE CKSUM
Pool_B ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
ada3 ONLINE 0 0 0
ada5 ONLINE 0 0 0
ada7 ONLINE 0 0 0
ada9 ONLINE 0 0 0
ada11 ONLINE 0 0 0
errors: No known data errors
Resilvering due to recent capacity upgrade of the zpool.
No issues with 4k sectors in normal operation or during Bios POST.
Any ideas how to speed up gptzfsboot?