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

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/zpool.1m.man.txt
          +++ new/usr/src/man/man1m/zpool.1m.man.txt
↓ open down ↓ 70 lines elided ↑ open up ↑
  71   71  
  72   72         zpool replace [-f] pool device [new_device]
  73   73  
  74   74  
  75   75         zpool scrub [-s] pool ...
  76   76  
  77   77  
  78   78         zpool set property=value pool
  79   79  
  80   80  
       81 +       zpool split [-n] [-R altroot] [-o mntopts] [-o property=value] pool newpool [device ... ]
       82 +
       83 +
  81   84         zpool status [-xvD] [-T u | d ] [pool] ... [interval [count]]
  82   85  
  83   86  
  84   87         zpool upgrade
  85   88  
  86   89  
  87   90         zpool upgrade -v
  88   91  
  89   92  
  90   93         zpool upgrade [-V version] -a | pool ...
↓ open down ↓ 1062 lines elided ↑ open up ↑
1153 1156                   Stop scrubbing.
1154 1157  
1155 1158  
1156 1159  
1157 1160         zpool set property=value pool
1158 1161             Sets the given property on the specified pool. See the "Properties"
1159 1162             section for more information on what properties can be set and
1160 1163             acceptable values.
1161 1164  
1162 1165  
     1166 +       zpool split [-n] [-R altroot] [-o mntopts] [-o property=value] pool newpool
     1167 +       [device ... ]
     1168 +
     1169 +           Splits off one disk from each mirrored top-level vdev in a pool and
     1170 +           creates a new pool from the split-off disks. The original pool must
     1171 +           be made up of one or more mirrors and must not be in the process of
     1172 +           resilvering. The split subcommand chooses the last device in each
     1173 +           mirror vdev unless overridden by a device specification on the
     1174 +           command line.
     1175 +
     1176 +           When using a device argument, split includes the specified
     1177 +           device(s) in a new pool and, should any devices remain unspecified,
     1178 +           assigns the last device in each mirror vdev to that pool, as it
     1179 +           does normally. If you are uncertain about the outcome of a split
     1180 +           command, use the -n ("dry-run") option to ensure your command will
     1181 +           have the effect you intend.
     1182 +
     1183 +
     1184 +           -n
     1185 +               Displays the configuration that would be created without
     1186 +               actually splitting the pool. The actual pool split could still
     1187 +               fail due to insufficient privileges or device status.
     1188 +
     1189 +
     1190 +           -R altroot
     1191 +               Automatically import the newly created pool after splitting,
     1192 +               using the specified altroot parameter for the new pool's
     1193 +               alternate root. See the altroot description in the "Properties"
     1194 +               section, above.
     1195 +
     1196 +
     1197 +           -o mntopts
     1198 +               Comma-separated list of mount options to use when mounting
     1199 +               datasets within the pool. See zfs(1M) for a description of
     1200 +               dataset properties and mount options. Valid only in conjunction
     1201 +               with the -R option.
     1202 +
     1203 +
     1204 +           -o property=value
     1205 +               Sets the specified property on the new pool. See the
     1206 +               "Properties" section, above, for more information on the
     1207 +               available pool properties.
     1208 +
     1209 +
     1210 +
1163 1211         zpool status [-xvD] [-T u | d ] [pool] ... [interval [count]]
1164 1212             Displays the detailed health status for the given pools. If no pool
1165 1213             is specified, then the status of each pool in the system is
1166 1214             displayed. For more information on pool and device health, see the
1167 1215             "Device Failure and Recovery" section.
1168 1216  
1169 1217             If a scrub or resilver is in progress, this command reports the
1170 1218             percentage done and the estimated time to completion. Both of these
1171 1219             are only approximate, because the amount of data in the pool and
1172 1220             the other workloads on the system can change.
↓ open down ↓ 353 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX