summaryrefslogtreecommitdiffstats
path: root/cmd/zpool/zpool_main.c
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2014-06-25 13:59:32 +0200
committerBrian Behlendorf <[email protected]>2014-06-27 08:31:07 -0700
commit628668a39f48e836260965e5b33e101c78f16b79 (patch)
treeade389948b33c6f3ac9cfa4ddf0dacaa55f281ba /cmd/zpool/zpool_main.c
parent1567e0758b1674ff06ca1eaaaf4a3bbd04fb201e (diff)
Add information about the -o option to zpool replace
Users need to be aware that when replacing devices in an existing pool they may need to override automatically detected ashift value. This will all depend on the exact hardware they are using. Signed-off-by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #2024
Diffstat (limited to 'cmd/zpool/zpool_main.c')
-rw-r--r--cmd/zpool/zpool_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c
index aa166a9c0..8a0fa2c2b 100644
--- a/cmd/zpool/zpool_main.c
+++ b/cmd/zpool/zpool_main.c
@@ -248,8 +248,8 @@ get_usage(zpool_help_t idx) {
case HELP_ONLINE:
return (gettext("\tonline <pool> <device> ...\n"));
case HELP_REPLACE:
- return (gettext("\treplace [-f] <pool> <device> "
- "[new-device]\n"));
+ return (gettext("\treplace [-f] [-o property=value] "
+ "<pool> <device> [new-device]\n"));
case HELP_REMOVE:
return (gettext("\tremove <pool> <device> ...\n"));
case HELP_REOPEN: