[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zfs-discuss
Subject:    [zfs-discuss] ZFS root mirror / moving disks to machine with
From:       Marcus Reid <marcus () blazingdot ! com>
Date:       2009-01-30 22:26:36
Message-ID: 20090130222636.GA96736 () blazingdot ! com
[Download RAW message or body]

Hello,

My apologies if this has been discussed before or if this is
the wrong place to discuss Solaris 10 U6 issues..

I am investigating using ZFS as a possible replacement for SVM for
root disk mirroring.  So far, I have installed the system with the
new ZFS option in the text installer of U6.  I then attached my
second disk to the pool with a:

    zpool attach rpool c0t0d0s0 c0t1d0s0

Wait for resilvering, then install a ZFS bootblock on the new disk with:

    installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c0t1d0s0

I can then boot off either disk, even when the other disk has been
removed.  Great.  However, if I place the disks into a different
machine and try to boot, I get:

    Executing last command: boot                                          
    Boot device: disk  File and args: 
    SunOS Release 5.10 Version Generic_137137-09 64-bit
    Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.
    WARNING: pool 'rpool' could not be loaded as it was last accessed by another \
system (host:  hostid: 0x80c29c4c).  See: http://www.sun.com/msg/ZFS-8000-EY  NOTICE: \
  spa_import_rootpool: error 9
    
    Cannot mount root on /pci@1f,0/pci@1,1/scsi@2/disk@0,0:a fstype zfs
    
    panic[cpu0]/thread=180e000: vfs_mountroot: cannot mount root
    
    000000000180b950 genunix:vfs_mountroot+358 (800, 200, 0, 1875c00, 189f800, \
                18c9000)
      %l0-3: 00000000010b9c00 00000000010b9ce0 000000000187baf8 00000000011e6800
      %l4-7: 00000000011e6800 00000000018cb800 0000000000000600 0000000000000200
    000000000180ba10 genunix:main+a0 (1815180, 180c000, 1839750, 18c5c00, 181b580, \
                1815000)
      %l0-3: 0000000001015400 0000000000000001 0000000070002000 0000000000000000
      %l4-7: 000000000183ec00 0000000000000000 000000000180c000 0000000000000000
    
    skipping system dump - no dump device configured
    rebooting...
    Resetting ... 

Is there a way to work through this?

Thanks,

Marcus
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic