Project

General

Profile

Actions

Bug #3851

open

zpool status is misleading (different compared to Oracle Solaris) while resilvering

Added by Thomas Hänig almost 10 years ago. Updated almost 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2013-06-28
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

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

  1. -------------------------------------
  2. OpenIndiana 151a7 gives:
  3. -------------------------------------
    thomas@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)

  1. -------------------------------------
  2. Oracle Solaris 11.1 gives:
  3. -------------------------------------
    root@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)

  1. -------------------------------------

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

Actions #1

Updated by Ken Mays almost 10 years ago

  • Assignee set to OI illumos
Actions #2

Updated by Marcel Telka almost 10 years ago

  • Project changed from OpenIndiana Distribution to illumos gate
Actions #3

Updated by Marcel Telka almost 10 years ago

  • Assignee deleted (OI illumos)
Actions

Also available in: Atom PDF