Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-25 Thread Enda O'Connor
Boyd Adamson wrote: > "Enda O'Connor ( Sun Micro Systems Ireland)" <[EMAIL PROTECTED]> > writes: > [..] >> meant to add that on x86 the following should do the trick ( again I'm open >> to correction ) >> >> installgrub /boot/grub/stage1 /zfsroot/boot/grub/stage2 /dev/rdsk/c1t0d0s0 >> >> haven't t

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-24 Thread Boyd Adamson
"Enda O'Connor ( Sun Micro Systems Ireland)" <[EMAIL PROTECTED]> writes: [..] > meant to add that on x86 the following should do the trick ( again I'm open > to correction ) > > installgrub /boot/grub/stage1 /zfsroot/boot/grub/stage2 /dev/rdsk/c1t0d0s0 > > haven't tested the z86 one though. I use

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-24 Thread Charles Meeks
Hoping this is not too off topic.Can anyone confirm you can break a mirrored zfs root pool once formed. I basically want to clone a boot drive, take it to another piece of identical hardware and have two machines ( or more ). I am running indiana b93 on x86 hardware. I have read that

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-24 Thread Enda O'Connor ( Sun Micro Systems Ireland)
Enda O'Connor ( Sun Micro Systems Ireland) wrote: > Mike Gerdts wrote: >> On Wed, Jul 23, 2008 at 11:36 AM, <[EMAIL PROTECTED]> wrote: >>> Rainer, >>> >>> Sorry for your trouble. >>> >>> I'm updating the installboot example in the ZFS Admin Guide with the >>> -F zfs syntax now. We'll fix the insta

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-24 Thread Enda O'Connor ( Sun Micro Systems Ireland)
Mike Gerdts wrote: > On Wed, Jul 23, 2008 at 11:36 AM, <[EMAIL PROTECTED]> wrote: >> Rainer, >> >> Sorry for your trouble. >> >> I'm updating the installboot example in the ZFS Admin Guide with the >> -F zfs syntax now. We'll fix the installboot man page as well. > > Perhaps it also deserves a me

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-24 Thread Mike Gerdts
On Wed, Jul 23, 2008 at 11:36 AM, <[EMAIL PROTECTED]> wrote: > Rainer, > > Sorry for your trouble. > > I'm updating the installboot example in the ZFS Admin Guide with the > -F zfs syntax now. We'll fix the installboot man page as well. Perhaps it also deserves a mention in the FAQ somewhere near

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-23 Thread Richard Elling
Richard Elling wrote: > Rainer Orth wrote: > >> Richard Elling writes: >> >> >> I've found out what the problem was: I didn't specify the -F zfs option to installboot, so only half of the ZFS bootblock was written. This is a combination of two documentation bugs and a ter

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-23 Thread Richard Elling
Rainer Orth wrote: > Richard Elling writes: > > >>> I've found out what the problem was: I didn't specify the -F zfs option to >>> installboot, so only half of the ZFS bootblock was written. This is a >>> combination of two documentation bugs and a terrible interface: >>> >>> >> Mainl

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-23 Thread Mark J Musante
On Wed, 23 Jul 2008, [EMAIL PROTECTED] wrote: > Rainer, > > Sorry for your trouble. > > I'm updating the installboot example in the ZFS Admin Guide with the > -F zfs syntax now. We'll fix the installboot man page as well. > > Mark, I don't have an x86 system to test right now, can you send me the

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-23 Thread Rainer Orth
Cindy, > Sorry for your trouble. no problem. > I'm updating the installboot example in the ZFS Admin Guide with the > -F zfs syntax now. We'll fix the installboot man page as well. Great, thanks. Rainer - Rain

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-23 Thread Cindy . Swearingen
Rainer, Sorry for your trouble. I'm updating the installboot example in the ZFS Admin Guide with the -F zfs syntax now. We'll fix the installboot man page as well. Mark, I don't have an x86 system to test right now, can you send me the correct installgrub syntax for booting a ZFS file system? T

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-23 Thread Rainer Orth
Richard Elling writes: > > I've found out what the problem was: I didn't specify the -F zfs option to > > installboot, so only half of the ZFS bootblock was written. This is a > > combination of two documentation bugs and a terrible interface: > > > > Mainly because there is no -F option? Hu

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-23 Thread Richard Elling
Rainer Orth wrote: > Rainer Orth <[EMAIL PROTECTED]> writes: > > >>> instlalboot on the new disk and see if that fixes it. >>> >> Unfortunately, it didn't. Reconsidering now, I see that I ran installboot >> against slice 0 (reduced by 1 sector as required by CR 6680633) instead of >> sli

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-23 Thread Rainer Orth
Rainer Orth <[EMAIL PROTECTED]> writes: > > instlalboot on the new disk and see if that fixes it. > > Unfortunately, it didn't. Reconsidering now, I see that I ran installboot > against slice 0 (reduced by 1 sector as required by CR 6680633) instead of > slice 2 (whole disk). Doing so doesn't f

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-22 Thread Rainer Orth
Mark J Musante writes: > On Tue, 22 Jul 2008, Rainer Orth wrote: > > > I just wanted to attach a second mirror to a ZFS root pool on an Ultra > > 1/170E running snv_93. > > > > I've followed the workarounds for CR 6680633 and 6680633 from the ZFS > > Admin Guide, but booting from the newly atta

Re: [zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-22 Thread Mark J Musante
On Tue, 22 Jul 2008, Rainer Orth wrote: > I just wanted to attach a second mirror to a ZFS root pool on an Ultra > 1/170E running snv_93. > > I've followed the workarounds for CR 6680633 and 6680633 from the ZFS > Admin Guide, but booting from the newly attached mirror fails like so: I think yo

[zfs-discuss] Cannot attach mirror to SPARC zfs root pool

2008-07-22 Thread Rainer Orth
I just wanted to attach a second mirror to a ZFS root pool on an Ultra 1/170E running snv_93. I've followed the workarounds for CR 6680633 and 6680633 from the ZFS Admin Guide, but booting from the newly attached mirror fails like so: Boot device: disk File and args: