summaryrefslogtreecommitdiffstats
path: root/mdadm.8
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-12-14 17:31:03 +1100
committerNeil Brown <neilb@suse.de>2006-12-14 17:31:03 +1100
commitbee8ec56f4d96a3ac7e6f6f256be6331dfafb076 (patch)
tree491133f49c5dffe386c619210206a7bf345cfbd5 /mdadm.8
parent199171a297a87d7696b6b8c07ee520363f4603c1 (diff)
downloadmdadm-bee8ec56f4d96a3ac7e6f6f256be6331dfafb076.tar.gz
mdadm-bee8ec56f4d96a3ac7e6f6f256be6331dfafb076.tar.xz
mdadm-bee8ec56f4d96a3ac7e6f6f256be6331dfafb076.zip
Support --update=devicesize for cases where the underlying device can change size.
Diffstat (limited to 'mdadm.8')
-rw-r--r--mdadm.817
1 files changed, 17 insertions, 0 deletions
diff --git a/mdadm.8 b/mdadm.8
index 2e92ec9..f761853 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -712,6 +712,7 @@ argument given to this flag can be one of
.BR homehost ,
.BR resync ,
.BR byteorder ,
+.BR devicesize ,
or
.BR super-minor .
@@ -789,6 +790,22 @@ The
option will correct the summaries in the superblock. That is the
counts of total, working, active, failed, and spare devices.
+The
+.B devicesize
+will rarely be of use. It applies to version 1.1 and 1.2 metadata
+only (where the metadata is at the start of the device) and is only
+useful when the component device has changed size (typically become
+larger). The version 1 metadata records the amount of the device that
+can be used to store data, so if a device in a version 1.1 or 1.2
+array becomes larger, the metadata will still be visible, but the
+extra space will not. In this case it might be useful to assemble the
+array with
+.BR --update=devicesize .
+This will cause
+.I mdadm
+to determine the maximum usable amount of space on each device and
+update the relevant field in the metadata.
+
.TP
.B --auto-update-homehost
This flag is only meaning with auto-assembly (see discussion below).