Project

General

Profile

Actions

Bug #7885

closed

zpool list can report 16.0e for expandsz

Added by Steven Hartland over 4 years ago. Updated over 4 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:

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

Also available in: Atom PDF