Skip to content

Commit

Permalink
Document allowed pool names
Browse files Browse the repository at this point in the history
PR #7208 was a patch to allow non-reserved pool names which begin with
mirror, raidz, spare (but do not equal), however we'd rather document
it in the man page for compatibility with other OpenZFS implementations,
to avoid pool names that may not work on non-Linux platforms.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes #7216
  • Loading branch information
kusumi authored and behlendorf committed Mar 9, 2018
1 parent c45c6d9 commit 5ee220b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions man/man8/zpool.8
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
.\" Copyright 2017 Nexenta Systems, Inc.
.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
.\"
.Dd January 10, 2018
.Dd March 9, 2018
.Dt ZPOOL 8 SMM
.Os Linux
.Sh NAME
Expand Down Expand Up @@ -888,7 +888,11 @@ The pool names
.Sy spare
and
.Sy log
are reserved, as are names beginning with the pattern
are reserved, as are names beginning with
.Sy mirror ,
.Sy raidz ,
.Sy spare ,
and the pattern
.Sy c[0-9] .
The
.Ar vdev
Expand Down

0 comments on commit 5ee220b

Please sign in to comment.