]> git.proxmox.com Git - mirror_zfs.git/commit - man/man8/zpool.8
Add "-o ashift" to zpool add and zpool attach
authorCyril Plisko <cyril.plisko@mountall.com>
Tue, 6 Nov 2012 12:39:00 +0000 (14:39 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 15 Nov 2012 19:06:14 +0000 (11:06 -0800)
commitdf83110856950c8e7b16a7e94cdf42b8531b9cc8
tree1dcd5fc3ccef64e881c660dd68fb752ac56b4147
parent2404b01499019f6a8589cec79201b8871ec48081
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 <cyril.plisko@mountall.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #566
cmd/zpool/zpool_main.c
man/man8/zpool.8