Project

General

Profile

Bug #5503

zpool list -v displays invalid EXPANDSZ for unavailable pools

Added by Steven Hartland almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2015-01-01
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

When pools are unavailable their vdevs are also unavailable which means that vdev_max_asize remains at the default zero.

This default was being used to calculate vs_esize resulting in a negative number as vdev_asize > vdev_max_asize, which caused zpool list -v to display 16.0E for EXPANDSZ of these vdevs.

The attached patch from FreeBSD fixes this:
https://svnweb.freebsd.org/changeset/base/276450


Files

zpool-list-expandsz.patch (1.01 KB) zpool-list-expandsz.patch Steven Hartland, 2015-01-01 02:41 PM

No data to display

Also available in: Atom PDF