Re: [zfs-discuss] ZFS root boot failure?

2008-06-13 Thread Vincent Fox
Followup with modified test plan: 1) Yank disk0 from V240. Waited for it to be marked FAULTED in zpool status -x 2) Inserted new disk0 scavenged from another system 3) Ran format to set s0 as full-disk to agree with other system 4) Halted system 5) boot disk1 Wanted to make sure Jumpstart mirror

Re: [zfs-discuss] ZFS root boot failure?

2008-06-13 Thread Cindy Swearingen
Subject: Re: [zfs-discuss] ZFS root boot failure? To: zfs-discuss@opensolaris.org Followup with modified test plan: 1) Yank disk0 from V240. Waited for it to be marked FAULTED in zpool status -x 2) Inserted new disk0 scavenged from another system 3) Ran format to set s0 as full-disk to agree

Re: [zfs-discuss] ZFS root boot failure?

2008-06-13 Thread Vincent Fox
You want to install the zfs boot block, not the ufs bootblock. Oh duh. I tried to correct my mistake using this: installboot /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t0d0s0 And now get this: Boot device: disk File and args: Can't mount root Evaluating: The file just loaded

Re: [zfs-discuss] ZFS root boot failure?

2008-06-12 Thread Kurt Schreiner
On Thu, Jun 12, 2008 at 06:38:56AM +0200, Richard Elling wrote: Vincent Fox wrote: So I decided to test out failure modes of ZFS root mirrors. Installed on a V240 with nv90. Worked great. Pulled out disk1, then replaced it and attached again, resilvered, all good. Now I pull out

Re: [zfs-discuss] ZFS root boot failure?

2008-06-12 Thread Brian Hechinger
On Wed, Jun 11, 2008 at 10:43:26PM -0700, Richard Elling wrote: AFAIK, SVM will not handle this problem well. ZFS and Solaris Cluster can detect this because the configuration metadata knows the time difference (ZFS can detect this by the latest txg). Having been through this myself with

Re: [zfs-discuss] ZFS root boot failure?

2008-06-12 Thread A Darren Dunham
On Thu, Jun 12, 2008 at 07:28:23AM -0400, Brian Hechinger wrote: I think something else that might help is if ZFS were to boot, see that the volume it booted from is older than the other one, print a message to that effect and either halt the machine or issue a reboot pointing at the other

Re: [zfs-discuss] ZFS root boot failure?

2008-06-12 Thread Cindy . Swearingen
Vincent, I think you are running into some existing bugs, particularly this one: http://bugs.opensolaris.org/view_bug.do?bug_id=6668666 Please review the list of known issues here: http://opensolaris.org/os/community/zfs/boot/ Also check out the issues described on page 77 in this section:

Re: [zfs-discuss] ZFS root boot failure?

2008-06-12 Thread Richard Elling
Kurt Schreiner wrote: On Thu, Jun 12, 2008 at 06:38:56AM +0200, Richard Elling wrote: Vincent Fox wrote: So I decided to test out failure modes of ZFS root mirrors. Installed on a V240 with nv90. Worked great. Pulled out disk1, then replaced it and attached again, resilvered, all

Re: [zfs-discuss] ZFS root boot failure?

2008-06-12 Thread Kurt Schreiner
On Thu, Jun 12, 2008 at 07:31:49PM +0200, Richard Elling wrote: Kurt Schreiner wrote: On Thu, Jun 12, 2008 at 06:38:56AM +0200, Richard Elling wrote: Vincent Fox wrote: So I decided to test out failure modes of ZFS root mirrors. Installed on a V240 with nv90. Worked great.

[zfs-discuss] ZFS root boot failure?

2008-06-11 Thread Vincent Fox
So I decided to test out failure modes of ZFS root mirrors. Installed on a V240 with nv90. Worked great. Pulled out disk1, then replaced it and attached again, resilvered, all good. Now I pull out disk0 to simulate failure there. OS up and running fine, but lots of error message about SYNC

Re: [zfs-discuss] ZFS root boot failure?

2008-06-11 Thread Tim
Sounds correct to me. The disk isn't sync'd so boot should fail. If you pull disk0 or set disk1 as the primary boot device what does it do? You can't expect it to resliver before booting. On 6/11/08, Vincent Fox [EMAIL PROTECTED] wrote: So I decided to test out failure modes of ZFS root

Re: [zfs-discuss] ZFS root boot failure?

2008-06-11 Thread Vincent Fox
Ummm, could you back up a bit there? What do you mean disk isn't sync'd so boot should fail? I'm coming from UFS of course where I'd expect to be able to fix a damaged boot drive as it drops into a single-user root prompt. I believe I did try boot disk1 but that failed I think due to prior

Re: [zfs-discuss] ZFS root boot failure?

2008-06-11 Thread Richard Elling
Vincent Fox wrote: So I decided to test out failure modes of ZFS root mirrors. Installed on a V240 with nv90. Worked great. Pulled out disk1, then replaced it and attached again, resilvered, all good. Now I pull out disk0 to simulate failure there. OS up and running fine, but lots of

Re: [zfs-discuss] ZFS root boot failure?

2008-06-11 Thread Richard Elling
Vincent Fox wrote: Ummm, could you back up a bit there? What do you mean disk isn't sync'd so boot should fail? I'm coming from UFS of course where I'd expect to be able to fix a damaged boot drive as it drops into a single-user root prompt. I believe I did try boot disk1 but that failed