Ok, here's the end results...

zfs attach rpool c5t0d0s0 c5t1d0s0: removes c5t1d0s2
zfs attach rpool c5t0d0s2 c5t1d0s2: says c5t0d0s2 is not in the pool
zfs attach rpool c5t0d0s0 c5t1d0s2: says I have to force it because s0 and
s2 overlap
zfs attach -f rpool c5t0d0s0 c5t1d0s2: partition table now matches - onto
next step

installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c5t1d0s2
raw device must be a root slice (not s2)

installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c5t1d0s0
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 260 sectors starting at 50 (abs 16115)

I *think* this means it is good to go? What is the easiest way to test it?

Malachi


On Tue, Aug 5, 2008 at 9:12 PM, Ellis, Mike <[EMAIL PROTECTED]> wrote:

>  yep...
>
> when you're "source pool" is a slice, you better add a slice as a target
> pool if you want to have that slice on the target side remain.
>
> should work fine that way,
>
>  -- MikeE
>
>  ------------------------------
> *From:* Malachi de Ælfweald [mailto:[EMAIL PROTECTED]
> *Sent:* Wednesday, August 06, 2008 12:11 AM
> *To:* Ellis, Mike
> *Subject:* Re: [zfs-discuss] ZFS boot mirror
>
>  Hmmm. I tried c5t1d0 which gave an error and c5t1d0s0 which is what
> overwrote it. Maybe I should try mirroring c5t0d0s0 to c5t1d0s2?
>
> On Tue, Aug 5, 2008 at 8:53 PM, Ellis, Mike <[EMAIL PROTECTED]> wrote:
>
>>  did you zpool attach "the whole disk" or the specific slice you
>> prepared?
>>
>>  -- MikeE
>>
>>  ------------------------------
>> *From:* [EMAIL PROTECTED] [mailto:
>> [EMAIL PROTECTED] *On Behalf Of *Malachi de Ælfweald
>> *Sent:* Tuesday, August 05, 2008 11:42 PM
>> *To:* andrew
>> *Cc:* zfs-discuss@opensolaris.org
>> *Subject:* Re: [zfs-discuss] ZFS boot mirror
>>
>>   So I spent some time trying to get the 2nd slice up on the 2nd disk...
>> I did manage to finally get it on there by saving the partition table to
>> format.dat and reformatting the 2nd disk using it, but as soon as I did the
>> zpool attach, it wiped out the slice 2 again.  I also tried the prtvtoc and
>> fmthard after attaching, but that didn't work either.
>>
>> Is there some specific steps I can follow to get the 2nd slice to stay on
>> post-attach?
>>
>> Thanks,
>> Malachi
>>
>> On Sun, Aug 3, 2008 at 6:00 AM, andrew <[EMAIL PROTECTED]> wrote:
>>
>>> OK, I've put up some screenshots and a copy of my menu.lst to clarify my
>>> setup:
>>>
>>> http://sites.google.com/site/solarium/zfs-screenshots
>>>
>>> Cheers
>>>
>>> Andrew.
>>>
>>>
>>> This message posted from opensolaris.org
>>> _______________________________________________
>>> zfs-discuss mailing list
>>> zfs-discuss@opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>>>
>>
>>
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to