Seen in latest FreeNAS nightlies.
I did a fresh install on and the boot pool sits on /dev/da0p2. Should Freenas even be installing in a partition? FreeNAS wipes all partitions during creation correct? I would expect it to be /dev/da0
Trying to attach a mirror gives me
This is what I ran
I assume the freenas gui is trying to attach to /dev/da0 instead of /dev/da0p2 so it fails
Where does the problem lie?
I did a fresh install on and the boot pool sits on /dev/da0p2. Should Freenas even be installing in a partition? FreeNAS wipes all partitions during creation correct? I would expect it to be /dev/da0
Trying to attach a mirror gives me
Code:
[EFAULT] 'gpart create -s gpt -f active /dev/da1 (14.48 GiB)' failed: gpart: arg0 'da1 (14.48 GiB)': Invalid argument
This is what I ran
Code:
root@freenas[~]# zpool attach freenas-boot /dev/da0p2 /dev/da1
Make sure to wait until resilver is done before rebooting.
If you boot from pool 'freenas-boot', you may need to update
boot code on newly attached disk '/dev/da1'.
Assuming you use GPT partitioning and 'da0' is your new boot disk
you may use the following command:
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
root@freenas[~]#
root@freenas[~]# gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
partcode written to da0p1
bootcode written to da0
root@freenas[~]#
I assume the freenas gui is trying to attach to /dev/da0 instead of /dev/da0p2 so it fails
Where does the problem lie?