Project

General

Profile

Actions

Bug #7885

closed

zpool list can report 16.0e for expandsz

Added by Steven Hartland over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2017-02-16
Due date:
% Done:

100%

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

Description

When a member of a RAIDZ has been replaced with a device smaller than the original, then the top level vdev can report its expand size as 16.0E.

The reduced child asize causes the RAIDZ to have a vdev_asize lower than its vdev_max_asize which then results in an underflow during the calculation of the parents expand size.

Also for RAIDZ vdevs the sum of their child vdev_min_asize could be smaller than the parents vdev_min_size.

Fixed by: https://github.com/openzfs/openzfs/pull/296

Actions #1

Updated by Electric Monk about 6 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit c040c10cdd1e4eab0fc88203758367dd81e057b7

commit  c040c10cdd1e4eab0fc88203758367dd81e057b7
Author: Steven Hartland <steven.hartland@multiplay.co.uk>
Date:   2017-04-04T17:22:48.000Z

    7885 zpool list can report 16.0e for expandsz
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF