aboutsummaryrefslogtreecommitdiff
path: root/sbin/gvinum/gvinum.8
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@FreeBSD.org>2009-04-10 10:12:09 +0000
committerUlf Lilleengen <lulf@FreeBSD.org>2009-04-10 10:12:09 +0000
commit8d4311eacbb5868ed273d328c14d2e3d1ec1d921 (patch)
tree7878a6830d89856242ee9068d85f5f48fe849304 /sbin/gvinum/gvinum.8
parent11e0093f28feefb0f060c480439de0ade62b5305 (diff)
downloadsrc-8d4311eacbb5868ed273d328c14d2e3d1ec1d921.tar.gz
src-8d4311eacbb5868ed273d328c14d2e3d1ec1d921.zip
Notes
Diffstat (limited to 'sbin/gvinum/gvinum.8')
-rw-r--r--sbin/gvinum/gvinum.816
1 files changed, 9 insertions, 7 deletions
diff --git a/sbin/gvinum/gvinum.8 b/sbin/gvinum/gvinum.8
index d2b96162508f..9bf44ee0f663 100644
--- a/sbin/gvinum/gvinum.8
+++ b/sbin/gvinum/gvinum.8
@@ -79,6 +79,10 @@ flag is given.
.It Ic detach Oo Fl f Oc Op Ar plex | subdisk
Detach a plex or subdisk from the volume or plex to which it is
attached.
+.It Ic grow Ar plex device
+Grow a plex by creating a gvinum drive and subdisk on device and attach it to
+the plex.
+If required by the plex organization, it will be put into the growable state.
.It Ic help
Provides a synopsis of
.Nm
@@ -333,16 +337,11 @@ Then, initiate the rebuild:
The plex will go up form degraded mode after the rebuild is finished.
The plex can still be used while the rebuild is in progress, although requests
might be delayed.
-For a more advanced usage and detailed explanation of gvinum, the
-handbook is recommended.
.Pp
Given the configuration as in the previous example, growing a RAID-5 or STRIPED
-array is accomplished by adding a new subdisk to the plex with a
-.Ar description-file
-similar to this:
+array is accomplished by using the grow command:
.Pp
-.Dl "drive newdrive device /dev/ad4"
-.Dl "sd drive newdrive plex myraid5vol.p0"
+.Dl "gvinum grow myraid5vol.p0 /dev/ad4"
.Pp
If everything went ok, the plex state should now be set to growable.
You can then start the growing with the
@@ -355,6 +354,9 @@ As with rebuilding, you can watch the progress using the
.Ic list
command.
.Pp
+For a more advanced usage and detailed explanation of gvinum, the
+handbook is recommended.
+.Pp
.Sh SEE ALSO
.Xr geom 4 ,
.Xr geom 8