Project

General

Profile

Feature #2665

sd.conf should be able to override physical-block-size

Added by George Wilson almost 9 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2012-05-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

PSARC 2008/769 advertised the ability to override the physical-block-size by using the sd-config-list. Unfortunately this portion of the project was not implemented. This feature proposes to implement this missing functionality. This would allow administrators to update sd.conf by adding a simple VID/PID tuple in the sd-config-list. An example would look like this:

sd.conf:

sd-config-list = "DGC     RAID", "physical-block-size:4096";

The format of the VID/PID tuple uses the following format:

"012345670123456789012345" 
"|-VID--||-----PID------|" 

This example overrides the physical-block-size for all DGC RAID devices to use 4K. ZFS would be able to consume this value to determine the proper ashift value for its vdevs.


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 #3220: noncompliant devices break sd-config-listNew2012-09-24

Actions

Also available in: Atom PDF