aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/md.txt
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-01-06 03:20:55 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:34:09 -0500
commit014236d2b8ec6faea2a6134ab8e019d84d67b524 (patch)
tree80f655fe0631f56544b96f2b9750f93e327b23de /Documentation/md.txt
parent2bf071bf50580380a8c3afe5eef8152a66be96c7 (diff)
[PATCH] md: expose device slot information via sysfs
This the role that a device has in an array can be viewed and set. 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.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt
index 69f742dee00f..d525fffc873b 100644
--- a/Documentation/md.txt
+++ b/Documentation/md.txt
@@ -236,6 +236,14 @@ Each directory contains:
236 providing an ongoing count for arrays with metadata managed by 236 providing an ongoing count for arrays with metadata managed by
237 userspace. 237 userspace.
238 238
239 slot
240 This gives the role that the device has in the array. It will
241 either be 'none' if the device is not active in the array
242 (i.e. is a spare or has failed) or an integer less than the
243 'raid_disks' number for the array indicating which possition
244 it currently fills. This can only be set while assembling an
245 array. A device for which this is set is assumed to be working.
246
239 247
240An active md device will also contain and entry for each active device 248An active md device will also contain and entry for each active device
241in the array. These are named 249in the array. These are named