diff options
author | Cyril Plisko <[email protected]> | 2012-11-06 14:39:00 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-11-15 11:06:14 -0800 |
commit | df83110856950c8e7b16a7e94cdf42b8531b9cc8 (patch) | |
tree | 1dcd5fc3ccef64e881c660dd68fb752ac56b4147 /module | |
parent | 2404b01499019f6a8589cec79201b8871ec48081 (diff) |
Add "-o ashift" to zpool add and zpool attach
When adding devices to an existing pool "ashift" property is
auto-detected. However, if this property was overridden at
the pool creation time (i.e. zpool create -o ashift=12 tank ...)
this may not be what the user wants. This commit lets the user
specify the value of "ashift" property to be used with newly
added drives. For example,
zpool add -o ashift=12 tank disk1
zpool attach -o ashift=12 tank disk1 disk2
Signed-off-by: Cyril Plisko <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #566
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions