Print this page
blah
2897 "zpool split" documentation missing from manpage
Reviewed by: Dan McDonald <danmcd@omniti.com>

*** 76,85 **** --- 76,88 ---- zpool set property=value pool + zpool split [-n] [-R altroot] [-o mntopts] [-o property=value] pool newpool [device ... ] + + zpool status [-xvD] [-T u | d ] [pool] ... [interval [count]] zpool upgrade
*** 1158,1167 **** --- 1161,1215 ---- Sets the given property on the specified pool. See the "Properties" section for more information on what properties can be set and acceptable values. + zpool split [-n] [-R altroot] [-o mntopts] [-o property=value] pool newpool + [device ... ] + + Splits off one disk from each mirrored top-level vdev in a pool and + creates a new pool from the split-off disks. The original pool must + be made up of one or more mirrors and must not be in the process of + resilvering. The split subcommand chooses the last device in each + mirror vdev unless overridden by a device specification on the + command line. + + When using a device argument, split includes the specified + device(s) in a new pool and, should any devices remain unspecified, + assigns the last device in each mirror vdev to that pool, as it + does normally. If you are uncertain about the outcome of a split + command, use the -n ("dry-run") option to ensure your command will + have the effect you intend. + + + -n + Displays the configuration that would be created without + actually splitting the pool. The actual pool split could still + fail due to insufficient privileges or device status. + + + -R altroot + Automatically import the newly created pool after splitting, + using the specified altroot parameter for the new pool's + alternate root. See the altroot description in the "Properties" + section, above. + + + -o mntopts + Comma-separated list of mount options to use when mounting + datasets within the pool. See zfs(1M) for a description of + dataset properties and mount options. Valid only in conjunction + with the -R option. + + + -o property=value + Sets the specified property on the new pool. See the + "Properties" section, above, for more information on the + available pool properties. + + + zpool status [-xvD] [-T u | d ] [pool] ... [interval [count]] Displays the detailed health status for the given pools. If no pool is specified, then the status of each pool in the system is displayed. For more information on pool and device health, see the "Device Failure and Recovery" section.