Hi Dennis,

You might be running into this issue:

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6856341

The workaround is to force load the drivers.

Thanks,

Cindy

On 02/17/10 14:33, Dennis Clarke wrote:
I find that some servers display a DEGRADED zpool status at boot. More
troubling is that this seems to be silent and no notice is given on the
console or via a snmp message or other notification process.

Let me demonstrate :

{0} ok boot -srv

Sun Blade 2500 (Silver), No Keyboard
Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.17.3, 4096 MB memory installed, Serial #64510477.
Ethernet address 0:3:ba:d8:5a:d, Host ID: 83d85a0d.



Rebooting with command: boot -srv
Boot device: /p...@1d,700000/s...@4,1/d...@0,0:a  File and args: -srv
module /platform/sun4u/kernel/sparcv9/unix: text at [0x1000000, 0x10a3695]
data at 0x1800000
module /platform/sun4u/kernel/sparcv9/genunix: text at [0x10a3698,
0x126bbf7] data at 0x1866840
module /platform/SUNW,Sun-Blade-2500/kernel/misc/sparcv9/platmod: text at
[0x126bbf8, 0x126c1e7] data at 0x18bc0c8
.
.
. many lines of verbose messages
.
.

dump on /dev/zvol/dsk/mercury_rpool/swap size 0 MB
Loading smf(5) service descriptions: 2/2
Requesting System Maintenance Mode
SINGLE USER MODE

Root password for system maintenance (control-d to bypass):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode

# zpool list
NAME            SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
mercury_rpool    68G  27.4G  40.6G    40%  DEGRADED  -
# zpool status mercury_rpool
  pool: mercury_rpool
 state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas
exist for
        the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-2Q
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        mercury_rpool  DEGRADED     0     0     0
          mirror      DEGRADED     0     0     0
            c3t0d0s0  ONLINE       0     0     0
            c1t2d0s0  UNAVAIL      0     0     0  cannot open

errors: No known data errors

This is trivial to remedy :

# zpool online mercury_rpool c1t2d0s0
# zpool list
NAME            SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
mercury_rpool    68G  27.4G  40.6G    40%  ONLINE  -
# zpool status mercury_rpool
  pool: mercury_rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: resilver completed after 0h0m with 0 errors on Wed Feb 17 21:26:11
2010
config:

        NAME          STATE     READ WRITE CKSUM
        mercury_rpool  ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c3t0d0s0  ONLINE       0     0     0
            c1t2d0s0  ONLINE       0     0     0  14.5M resilvered

errors: No known data errors
#

I have many systems where I keep mirrors on multiple controllers, either
fibre or SCSI. It seems that the SCSI devices don't get detected at boot
on the Sparc systems. The x86/AMD64 systems do not seem to have this
problem but I may be wrong.

Is this a known bug or am I seeing something due to a missing line in
/etc/system ?

Oh, also, I should point out that it does not matter if I boot with init S
or 3 or 6.

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

Reply via email to