unable to install boot blocks on solaris 10 x86 - Partition 0 of the disk has an incorrect offs
Hi Oracle Community,
I recently replaced a disk in the rpool of Sun X4170 M2 running Solaris 10 and was able to complete the resilvering but i got the error below when installing the boot block.
[root] ~ # installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0t0d0s0
Partition 0 of the disk has an incorrect offset
==========================================
The server I am working has megacli and I have to create a raid 0 device so it detects the new disk, i then proceeded to copy the vtoc of the good mirror disk to the new disk before re attaching the new disk in the rpool. I'm not sure if the underlying raid 0 on the megacli utility is affecting it in someway but here is the sequence of commands i did prior to installing the boot blocks.