Re: [zfs-discuss] ZFS boot mirror

2008-08-05 Thread Alan
I took the brute force approach, but it was simple and passed the boot from either test: install on both, then mirror s0, and I'm reasonably confident identical disks will look the same ;-) This message posted from opensolaris.org ___ zfs-discuss

Re: [zfs-discuss] ZFS boot mirror

2008-08-05 Thread Sanjay Nadkarni
Richard Elling wrote: Malachi de Ælfweald wrote: I have to say, looking at that confuses me a little. How can the two disks be mirrored when the partition tables don't match? Welcome to ZFS! In traditional disk mirrors, disk A block 0 == disk B block 0 disk A block 1

Re: [zfs-discuss] ZFS boot mirror

2008-08-05 Thread Malachi de Ælfweald
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

Re: [zfs-discuss] ZFS boot mirror

2008-08-05 Thread Malachi de Ælfweald
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

Re: [zfs-discuss] ZFS boot mirror

2008-08-05 Thread andrew
Sounds like you've got an EFI label on the second disk. Can you run format, select the second disk, then enter fdisk then print and post the output here? Thanks Andrew. This message posted from opensolaris.org ___ zfs-discuss mailing list

Re: [zfs-discuss] ZFS boot mirror

2008-08-05 Thread Malachi de Ælfweald
It looks like we finally got it working. The log of what Mike had me do to fix it is herehttp://malsserver.blogspot.com/2008/08/mirroring-resolved-correct-way.htmlin case anyone else runs into this. Thanks to everyone who helped with this. Thanks again! Mal On Tue, Aug 5, 2008 at 9:40 PM,

Re: [zfs-discuss] ZFS boot mirror

2008-08-03 Thread andrew
The second disk doesn't have the root pool on slice 2 - it is on slice 0 as with the first disk. All I did differently was to create a slice 2 covering the whole Solaris FDISK primary partition. If you then issue this command as before: installgrub /boot/grub/stage1 /boot/grub/stage2

Re: [zfs-discuss] ZFS boot mirror

2008-08-03 Thread Malachi de Ælfweald
I have to say, looking at that confuses me a little. How can the two disks be mirrored when the partition tables don't match? 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:

Re: [zfs-discuss] ZFS boot mirror

2008-08-03 Thread Richard Elling
Malachi de Ælfweald wrote: I have to say, looking at that confuses me a little. How can the two disks be mirrored when the partition tables don't match? Welcome to ZFS! In traditional disk mirrors, disk A block 0 == disk B block 0 disk A block 1 == disk B block 1 ... disk A

Re: [zfs-discuss] ZFS boot mirror

2008-08-02 Thread Malachi de Ælfweald
I just tried that, but the installgrub keeps failing: [EMAIL PROTECTED]:~# zpool status pool: rpool state: ONLINE scrub: resilver completed after 0h1m with 0 errors on Sat Aug 2 01:44:55 2008 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0

Re: [zfs-discuss] ZFS boot mirror

2008-08-02 Thread Enda O'Connor
Malachi de Ælfweald wrote: I just tried that, but the installgrub keeps failing: [EMAIL PROTECTED]:~# zpool status pool: rpool state: ONLINE scrub: resilver completed after 0h1m with 0 errors on Sat Aug 2 01:44:55 2008 config: NAME STATE READ WRITE CKSUM

Re: [zfs-discuss] ZFS boot mirror

2008-08-02 Thread Malachi de Ælfweald
[EMAIL PROTECTED]:~# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c5t1d0s2 raw device must be a root slice (not s2) and trying rdsk with s0 gave same error as before On Sat, Aug 2, 2008 at 2:02 AM, Enda O'Connor [EMAIL PROTECTED] wrote: Malachi de Ælfweald wrote: I just tried

Re: [zfs-discuss] ZFS boot mirror

2008-08-02 Thread andrew
I ran into this as well. For some reason installgrub needs slice 2 to be the special backup slice that covers the whole disk, as in Solaris. You actually specify s0 on the command line since this is the location of the ZFS root, but installgrub will go away and try to access the whole disk

Re: [zfs-discuss] ZFS boot mirror

2008-08-02 Thread Malachi de Ælfweald
Have you verified that it will auto failover correctly if one is s0 and one is s2? On Sat, Aug 2, 2008 at 3:53 PM, andrew [EMAIL PROTECTED] wrote: I ran into this as well. For some reason installgrub needs slice 2 to be the special backup slice that covers the whole disk, as in Solaris. You

[zfs-discuss] ZFS boot mirror

2008-05-21 Thread Tom Buskey
I've always done a disksuite mirror of the boot disk. It's been easry to do after the install in Solaris. WIth Linux I had do do it during the install. OpenSolaris 2008.05 didn't give me an option. How do I add my 2nd drive to the boot zpool to make it a mirror? This message posted from

Re: [zfs-discuss] ZFS boot mirror

2008-05-21 Thread Cindy . Swearingen
Hi Tom, You need to use the zpool attach command, like this: # zpool attach pool-name disk1 disk2 Cindy Tom Buskey wrote: I've always done a disksuite mirror of the boot disk. It's been easry to do after the install in Solaris. WIth Linux I had do do it during the install. OpenSolaris

Re: [zfs-discuss] ZFS boot mirror

2008-05-21 Thread Lori Alt
It is also necessary to use either installboot (sparc) or installgrub (x86) to install the boot loader on the attached disk. It is a bug that this is not done automatically (6668666 - zpool command should put a bootblock on a disk added as a mirror of a root pool vdev) Lori [EMAIL PROTECTED]