diff options
author | NeilBrown <neilb@suse.de> | 2006-01-06 03:20:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:34:08 -0500 |
commit | a35b0d695d44410eb1734c9abb632725a3138628 (patch) | |
tree | 0da4a3ba93cf8a1fd2b4dcad3dd251def752942d /Documentation/md.txt | |
parent | 3b34380ae8c5df6debd85183c7fa1ac05f79b7d2 (diff) |
[PATCH] md: allow md array component size to be accessed and set via sysfs
Signed-off-by: Neil Brown <neilb@suse.de>
Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/md.txt')
-rw-r--r-- | Documentation/md.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt index 9710138d101a..0a2e10a4040d 100644 --- a/Documentation/md.txt +++ b/Documentation/md.txt | |||
@@ -174,6 +174,15 @@ All md devices contain: | |||
174 | The size should be atleast PAGE_SIZE (4k) and should be a power | 174 | The size should be atleast PAGE_SIZE (4k) and should be a power |
175 | of 2. This can only be set while assembling an array | 175 | of 2. This can only be set while assembling an array |
176 | 176 | ||
177 | component_size | ||
178 | For arrays with data redundancy (i.e. not raid0, linear, faulty, | ||
179 | multipath), all components must be the same size - or at least | ||
180 | there must a size that they all provide space for. This is a key | ||
181 | part or the geometry of the array. It is measured in sectors | ||
182 | and can be read from here. Writing to this value may resize | ||
183 | the array if the personality supports it (raid1, raid5, raid6), | ||
184 | and if the component drives are large enough. | ||
185 | |||
177 | As component devices are added to an md array, they appear in the 'md' | 186 | As component devices are added to an md array, they appear in the 'md' |
178 | directory as new directories named | 187 | directory as new directories named |
179 | dev-XXX | 188 | dev-XXX |