[illumos] [illumos gate - Bug #3851] zpool status is misleading (different compared to Oracle Solaris) while resilvering

illumos project devnull at illumos.org
Fri Jul 5 13:02:44 UTC 2013


Issue #3851 has been updated by Marcel Telka.

Project changed from OpenIndiana Distribution to illumos gate


----------------------------------------
Bug #3851: zpool status is misleading (different compared to Oracle Solaris) while resilvering
https://www.illumos.org/issues/3851

Author: Thomas Hänig
Status: New
Priority: Normal
Assignee: OI illumos
Category: 
Target version: 
Difficulty: Medium
Tags: needs-triage


when showing 'ONLINE' instead of 'DEGRADED' while adding a mirror

# -------------------------------------
# OpenIndiana 151a7 gives:
# -------------------------------------
thomas at testoi:~# zpool status -v rpool1
  pool: rpool1
 state: ONLINE
status: One or more devices is currently being resilvered.  The pool will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Wed Jun 26 13:40:00 2013
    1.22G scanned out of 17.9G at 40.3M/s, 0h7m to go
    1.22G resilvered, 6.83% done
config:

        NAME          STATE     READ WRITE CKSUM
        rpool1        ONLINE       0     0     0
          mirror-0    ONLINE       0     0     0
            c6t8d1s0  ONLINE       0     0     0
            c6t6d1s0  ONLINE       0     0     0  (resilvering)

# -------------------------------------
# Oracle Solaris 11.1 gives:
# -------------------------------------
root at testsol:~# zpool status
  pool: rpool
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function in a degraded state.
action: Wait for the resilver to complete.
        Run 'zpool status -v' to see device specific details.
  scan: resilver in progress since Fri Jun 28 13:37:55 2013
    2,29G scanned out of 29,4G at 57,2M/s, 0h8m to go
    2,29G resilvered, 7,80% done
config:

        NAME         STATE     READ WRITE CKSUM
        rpool        DEGRADED     0     0     0
          mirror-0   DEGRADED     0     0     0
            c7t14d1  ONLINE       0     0     0
            c7t13d1  DEGRADED     0     0     0  (resilvering)

# -------------------------------------

maybe this is intentional, because the initial zpool comprises of only one disk and compared to this state it is 'not degraded'?



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the illumos-team mailing list