Project

General

Profile

Actions

Bug #2671

closed

zpool import should not fail if vdev ashift has increased

Added by George Wilson about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2012-05-02
Due date:
% Done:

0%

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

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

Related to illumos gate - Bug #453: ZPOOL_CONFIG_ASHIFT not set correctly for drives with large sector sizeFeedback2010-12-06

Actions
Related to illumos gate - Bug #3541: vdev_open returns EINVAL after upgrade to oi_151aNew2013-02-08

Actions
Has duplicate illumos gate - Bug #1970: Boot fails from an rpool on Hitachi 4k sector drivesClosed2012-01-08

Actions
Actions #1

Updated by Eric Schrock about 9 years ago

  • Status changed from New to Resolved

changeset: 13680:2bd022a765e2
tag: tip
user: George Wilson <>
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 <>
Reviewed by: Eric Schrock <>
Reviewed by: Richard Elling <>
Reviewed by: Gordon Ross <>
Reviewed by: Garrett D'Amore <>
Approved by: Richard Lowe <>

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

Actions

Also available in: Atom PDF