Help understanding disk partitions / slices
972338Nov 3 2012 — edited Nov 9 2012Long story short(ish):
Was running with rpool on a hardware mirror. One of the disks failed and we're unable to obtain a suitable replacement in a timely fashion. I attached another disk to the controller with the plan to add it to rpool, wait for resilvering, and then destroy the original hardware mirror and use the reclaimed disk in rpool, basically going from hardware mirroring to zfs mirroring.
So, I ran format and added a solaris partition to the new disk. Then, I run:
zpool attach rpool c2t0d0s0 c2t19d0s0
and get:
cannot open '/dev/dsk/c2t19d0s0': I/O error
However, 'zpool attach rpool c2t0d0s0 c2t19d0p0' works fine.
I understand that in order to boot from the new disk, I need to install grub. Grub installs fine if I use c2t19d0s0, but not c2t19d0p0.
I guess I'm just trying to understand what I'm working with here, and whether I'll end up with a bootable system this way, as I intend to remove c2t0d0s0 from rpool and recreate it with a different underlying hardware configuration.
Thanks