summaryrefslogtreecommitdiff
path: root/sbin/raidctl
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2007-08-06 19:44:16 +0000
committeroster <oster@NetBSD.org>2007-08-06 19:44:16 +0000
commit761dfd30177fefae04dba79d88f74f8165a25de2 (patch)
treea94d85f93de2705858a9dd0610d7844cd8c0dae7 /sbin/raidctl
parent3fbf89c64896753b58bc8979efea89eb81fc77dd (diff)
Talk a bit more about how the size of a RAID set is determined, and
of RF_PROTECTED_SECTORS. Requested by (and with comments from and thanks to) Christoph (bad@).
Diffstat (limited to 'sbin/raidctl')
-rw-r--r--sbin/raidctl/raidctl.813
1 files changed, 11 insertions, 2 deletions
diff --git a/sbin/raidctl/raidctl.8 b/sbin/raidctl/raidctl.8
index 8c4da30bc44..5c3aab953f4 100644
--- a/sbin/raidctl/raidctl.8
+++ b/sbin/raidctl/raidctl.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: raidctl.8,v 1.49 2005/02/28 22:03:05 wiz Exp $
+.\" $NetBSD: raidctl.8,v 1.50 2007/08/06 19:44:16 oster Exp $
.\"
.\" Copyright (c) 1998, 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -60,7 +60,7 @@
.\" any improvements or extensions that they make and grant Carnegie the
.\" rights to redistribute these changes.
.\"
-.Dd February 28, 2005
+.Dd August 6, 2007
.Dt RAIDCTL 8
.Os
.Sh NAME
@@ -734,6 +734,15 @@ After configuration, this set can be used normally, but will be operating
in degraded mode.
Once a second physical component is obtained, it can be hot-added,
the existing data mirrored, and normal operation resumed.
+.Pp
+The size of the resulting RAID set will depend on the number of data
+components in the set.
+Space is automatically reserved for the component labels, and
+the actual amount of space used
+for data on a component will be rounded down to the largest possible
+multiple of the sectors per stripe unit (sectPerSU) value.
+Thus, the amount of space provided by the RAID set will be less
+than the sum of the size of the components.
.Ss Maintenance of the RAID set
After the parity has been initialized for the first time, the command:
.Bd -literal -offset indent