SOLVED How to add mirrored boot device?

Status
Not open for further replies.

lastcmaster

Dabbler
Joined
May 5, 2013
Messages
20
So, I wanted to try and make a mirrored boot device, just to see how it works. Looked through the GUI but could find not info. Read the manual for 9.3 and could only find the install way but as I had the system up and running that I did't think that was the right way. Just hate to run installers on health systems, don't feel like I am in control.
So, tried it the manual way:
- gpart backup da22 | gpart restore -F da23
- zpool attach freenas-boot da22p2 da23p2
Here I get the 'make sure bootcode is in sync' message and follow it:
- gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da23
But looking at what's on the disks, the two disks are not equal.
'dd if=/dev/da22 bs=512 count=1 | od -c' and 'dd if=/dev/da23 bs=512 count=1 | od -c' are not equal.'dd if=/dev/da22p1 bs=512 | od -c' and 'dd if=/dev/da23p1 bs=512 | od -c' are not equal.
So, how do I get the non-mirrored part of the boot device equal. And how do I keep them equal. I have looked in the database and /etc/rc.ix.d but can't deduce any flags or data that handles the updating of the non-mirrored part of the boot devices.
 
Status
Not open for further replies.
Top