Hi,
I'm having an issue with bootcode upgrade after zfs features upgrade. FreeBSD's suggestion is this
but this doesn't work because there is no da0. Instead I use ada0, the only SSD fully owned by ZFS. However, the result is an error:
Geom name not accepted by the looks of it. This is said SSD:
And it should have a matching geom label/name:
Geom label is ada0.
So, what am I doing wrong? Most importantly: how can I prep the boot device with the new bootcode so that it won't halt on next boot? That would be very bad, since the box is in a few 100 km distant colo datacenter with very little FreeBSD knowledge locally ...
Any help much appreciated.
I'm having an issue with bootcode upgrade after zfs features upgrade. FreeBSD's suggestion is this
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
but this doesn't work because there is no da0. Instead I use ada0, the only SSD fully owned by ZFS. However, the result is an error:
Code:
root@box:/boot # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
gpart: No such geom: ada0.
Geom name not accepted by the looks of it. This is said SSD:
Code:
root@box:/boot # camcontrol devlist
<SanDisk SD8SFAT032G Z2333000> at scbus0 target 0 lun 0 (ada0,pass0)
And it should have a matching geom label/name:
Code:
root@box:/boot # glabel list
Geom name: ada0
Providers:
1. Name: diskid/DISK-161619400039
Mediasize: 32017047552 (30G)
Sectorsize: 512
Mode: r1w1e2
secoffset: 0
offset: 0
seclength: 62533296
length: 32017047552
index: 0
Consumers:
1. Name: ada0
Mediasize: 32017047552 (30G)
Sectorsize: 512
Mode: r1w1e3
Geom label is ada0.
So, what am I doing wrong? Most importantly: how can I prep the boot device with the new bootcode so that it won't halt on next boot? That would be very bad, since the box is in a few 100 km distant colo datacenter with very little FreeBSD knowledge locally ...
Any help much appreciated.