Search This Blog

05 August 2008

Mirroring resolved

This post is no longer valid. Please check out this one instead.

So it was a bit tricky, but I think I got it to work...

1. Save the source disk partition table:
  • format c5t0d0
  • save (to format.dat)
  • quit
2. Repartition the destination disk:
  • format c5t1d0
  • fdisk (delete partition 1, exit)
  • fdisk (use the default, exit)
  • label ( 0 - SMI, use format.dat)
  • quit
3. Mirror to the 2nd slice
  • zpool attach -f rpool c5t0d0s0 c5t1d0s2
4. Install grub
  • installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c5t1d0s0
5. Verify partition table is still correct...
  • format c5t0d0 and format c5t1d0
  • partition
  • print
  • (they should match)

No comments:

Post a Comment