I have a machine with the Supermicro 8 port SATA card installed. I have had no problem creating a mirrored boot disk using the oft-repeated scheme: prtvtoc /dev/rdsk/c4t0d0s2 | fmthard -s ? /dev/rdsk/c4t1d0s2 zpool attach rpool c4t0d0s0 c4t1d0s0 wait for sync installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c4t1d0s0 Unfortunately when I shut the machine down and remove the primary boot disk, it will no longer boot. I get the boot loader, and if I turn off the splash screen I see it get to the point of displaying the host name. At that point, it hangs forever. From the posts I''ve seen it looks like this is a very standard scheme that just works. What can be missing with my procedure. I am running Build 132, if that matters. -- Terry -- This message posted from opensolaris.org
Interestingly, with the machine running, I can pull the first drive in the mirror, replace it with an unformatted one, format it, mirror rpool over to it, install the boot loader, and at that point the machine will boot with no problems. It s just when the first disk is missing that I have a problem with it. -- Terry -- This message posted from opensolaris.org
On Fri, Feb 19, 2010 at 7:42 PM, Terry Hull <tah at nrg-inc.com> wrote:> Interestingly, with the machine running, I can pull the first drive in the mirror, replace it with an unformatted one, format it, mirror rpool over to it, install the boot loader, and at that point the machine will boot with no problems. ? It s just when the first disk is missing that I have a problem with it.I had a problem cloning a disk for xVM domU where it hangs just after displaying hostname, similar to your result. I had to boot with livecd, force-import and export the pool, and reboot. It works. So you might want to try that. -- Fajar
On Fri, February 19, 2010 00:32, Terry Hull wrote:> I have a machine with the Supermicro 8 port SATA card installed. I have > had no problem creating a mirrored boot disk using the oft-repeated > scheme: > > prtvtoc /dev/rdsk/c4t0d0s2 | fmthard -s ??? /dev/rdsk/c4t1d0s2 > zpool attach rpool c4t0d0s0 c4t1d0s0 > wait for sync > installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c4t1d0s0 > > Unfortunately when I shut the machine down and remove the primary boot > disk, it will no longer boot. I get the boot loader, and if I turn off > the splash screen I see it get to the point of displaying the host name. > At that point, it hangs forever. From the posts I''ve seen it looks like > this is a very standard scheme that just works. What can be missing with > my procedure. > > I am running Build 132, if that matters.Disk boot order in your bios? I know that I succeeded in booting off the third (of four) disks in a mirror group Wednesday evening, but only after altering the disk boot order in the bios. Using that exact controller card, come to think of it. -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info
I was having this same problem with snv_134. I executed all the same commands as you did. The cloned disk booted up to the "Hostname:" line and then died. Booting with the "-kv" kernel option in GRUB, it died at a different point each time, most commonly after: "srn0 is /pseudo/srn at 0" What''s worse, my primary disk wouldn''t boot either! I tried all manner of swapping disks in and out, unplugging & plugging certain disks, changing boot order in BIOS, etc. These are PATA disks and I tried changing master to slave, slave to master, booting with one drive but not the other, enabling/disabling DMA on the drives, etc. But anyway, after my customary 8 hours of Googling, I found the fix: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6923585 Looks like I neglected to detach the mirror before removing it... -- This message posted from opensolaris.org