Bug #2671
closedzpool import should not fail if vdev ashift has increased
0%
Description
During disk discovery we check to see if the ashift associated with a given vdev has changed such that it's larger than the top-level vdev. Rather than a failing this operation an error message should be generated.
Related issues
Updated by Eric Schrock about 10 years ago
- Status changed from New to Resolved
changeset: 13680:2bd022a765e2
tag: tip
user: George Wilson <gwilson@delphix.com>
date: Thu May 03 05:49:19 2012 -0700
description:
2665 sd.conf should be able to override physical-block-size
2671 zpool import should not fail if vdev ashift has increased
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Richard Lowe <richlowe@richlowe.net>
modified:
usr/src/cmd/zpool/zpool_main.c
usr/src/uts/common/fs/zfs/vdev.c
usr/src/uts/common/io/scsi/targets/sd.c