Project

General

Profile

Actions

Bug #8983

closed

libbe: be_do_installboot() fails with vdev replacing

Added by Toomas Soome over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-01-23
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

be_do_installboot has to check for and deal with "replacing" vdev:

root@beastie:~# bootadm install-bootloader -v 
be_do_installboot: device raidz1-0
be_do_installboot: device replacing-0
be_do_installboot: failed to get device path

root@beastie:~# zpool status
  pool: rpool
 state: DEGRADED
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 Tue Jan 23 17:22:55 2018
        130G scanned out of 3,01T at 192M/s, 4h22m to go
    32,5G resilvered, 4,21% done
config:

        NAME              STATE     READ WRITE CKSUM
        rpool             DEGRADED     0     0     0
          raidz1-0        DEGRADED     0     0     0
            replacing-0   OFFLINE      0     0     0
              c3t0d0/old  OFFLINE      0     0     0
              c3t0d0      ONLINE       0     0     0  (resilvering)
            c3t1d0        ONLINE       0     0     0
            c3t3d0        ONLINE       0     0     0
            c3t4d0        ONLINE       0     0     0

errors: No known data errors
Actions #1

Updated by Toomas Soome over 3 years ago

  • Category set to lib - userland libraries
  • Status changed from New to In Progress
  • Assignee set to Toomas Soome
  • % Done changed from 0 to 90
Actions #2

Updated by Toomas Soome over 3 years ago

  • Subject changed from libbe: be_do_installboot() fails with vdev replacing to libbe: be_do_installboot() fails with vdev replacing
Actions #3

Updated by Electric Monk over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 66b042a724249a04f0b388e1e1c0e5e73d422fca

commit  66b042a724249a04f0b388e1e1c0e5e73d422fca
Author: Toomas Soome <tsoome@me.com>
Date:   2018-07-09T16:33:58.000Z

    8983 libbe: be_do_installboot() fails with vdev replacing
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: Ken Mays <kmays2000@gmail.com>
    Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

Actions

Also available in: Atom PDF