Project

General

Profile

Actions

Bug #5503

open

zpool list -v displays invalid EXPANDSZ for unavailable pools

Added by Steven Hartland over 8 years ago. Updated about 2 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:
External Bug:

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
Actions #1

Updated by F. H. about 2 years ago

Actions

Also available in: Atom PDF