I have a 4-way mirrored
rpool on a set of GPT disks running Solaris 11.3 (GPT being used as the disks are more than 2TB in size) on x86 hardware.
Disks 1 and 2 are the "main" operating system. Disks 3 and 4 are intermittently present as they are offsite (offline) backup disks (which automatically update their data when present thanks to the magic of Solaris and ZFS) swapped in and out so all the data is never in one place.
I'm trying to wipe the "MBR" of disks 3 and 4 so they can't be accidentally booted (as the data may be stale) but just can't seem to find a decent explanation of:
- where the "MBR" resides on a GPT disk and/or what format the initial bytes would be (from reading it seems to suggest wiping the initial bytes would also wipe the GUID Partition Table)
- how a GPT disk actually boots / what is on the initial
bios_grubpartition (which created using GParted on Ubuntu but now seems to be in Solaris file format from what I can see?)
- how this could be done in Solaris 11.3 without wiping key information as I may have to restore the ability to boot from these disks at a later date (I've read about
/sbin/installgrubbut seem no closer to an answer or working solution). (I also need to be able to restore boot ability should disk 1 or 2 break which means I need to replace the disk and make it bootable.)
Any ideas? :-/