Thanks for your thorough research!

>My theory is that OpenSolaris was
> installed on c8t0d0 at some point and then it was
> reinstalled on c8t5d0.

Ah, that would make sense. I have reinstalled opensolaris a few times. I 
thought I was installing on the same drive each time, but apparently this is 
not the case. I went ahead and reinstalled it -again-, because I have a sneaky 
suspicion I've been booting/making changes to both drives without even knowing 
it. This time I deleted the partitions on every drive, so there was no 
confusion.

Once the drives were mirrored, I disconnected c8t0d0 while the system was 
running to see if c8t1d0 would take over - it did!  However, when I try to boot 
with just c8t1d0, it hangs after this point:

"Loading kmdb...
SunOS Release 5.11 Version svn_134 64-bit
Copyright 1983-2010 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
NOTICE: Kernel debugger present: disabling console power management.
Hostname: zfs_fileserver
_"

I'm not sure what's wrong here.  Maybe I didn't copy over the VTOC correctly?

Here are the rest of the commands I used:

geoff at zfs_fileserver:~$ pfexec prtvtoc /dev/rdsk/c8t0d0s2 | pfexec fmthard 
-s - /dev/rdsk/c8t1d0s2
fmthard: New volume table of contents now in place.
geoff at zfs_fileserver:~$ pfexec zpool attach -f rpool c8t0d0s0 c8t1d0s0
Please be sure to invoke installgrub(1M) to make 'c8t1d0s0' bootable.
Make sure to wait until resilver is done before rebooting.
geoff at zfs_fileserver:~$ pfexec installgrub -m /boot/grub/stage1 
/boot/grub/stage2 /dev/rdsk/c8t1d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)?y
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 273 sectors starting at 50 (abs 16115)
stage1 written to master boot sector
geoff at zfs_fileserver:~$ zpool status
pool: rpool
state: ONLINE
scrub: resilver completed after 0h10m with 0 errors on Thu Mar 18 16:14:43 2010
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c8t0d0s0 ONLINE 0 0 0
c8t1d0s0 ONLINE 0 0 0 11.1G resilvered

errors: No known data errors
-- 
This message posted from opensolaris.org

Reply via email to