diff options
author | Dan Williams <dan.j.williams@intel.com> | 2010-07-01 17:36:05 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-07-01 17:36:05 -0700 |
commit | 8cfc801c72f079618b39d04c2e0fe32adbc2474e (patch) | |
tree | 061c0e2348bd7fab99ca774fbcf758ebf997ae06 /mdadm.8 | |
parent | 6a0ee6a0770e8b2ae2a2bbe79896d4ecb083e218 (diff) | |
parent | aa534678baad80689a642ba1bd602a00a267ac03 (diff) | |
download | mdadm-8cfc801c72f079618b39d04c2e0fe32adbc2474e.tar.gz mdadm-8cfc801c72f079618b39d04c2e0fe32adbc2474e.tar.xz mdadm-8cfc801c72f079618b39d04c2e0fe32adbc2474e.zip |
Merge branch 'subarray' into for-neil
Conflicts:
mdadm.h
super-intel.c
Diffstat (limited to 'mdadm.8')
-rw-r--r-- | mdadm.8 | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -1173,6 +1173,24 @@ the block where the superblock would be is overwritten even if it doesn't appear to be valid. .TP +.B \-\-kill\-subarray= +If the device is a container and the argument to \-\-kill\-subarray +specifies an inactive subarray in the container, then the subarray is +deleted. Deleting all subarrays will leave an 'empty-container' or +spare superblock on the drives. See \-\-zero\-superblock for completely +removing a superblock. Note that some formats depend on the subarray +index for generating a UUID, this command will fail if it would change +the UUID of an active subarray. + +.TP +.B \-\-update\-subarray= +If the device is a container and the argument to \-\-update\-subarray +specifies a subarray in the container, then attempt to update the given +superblock field in the subarray. See below in +.B MISC MODE +for details. + +.TP .BR \-t ", " \-\-test When used with .BR \-\-detail , @@ -1748,6 +1766,28 @@ metadata failed to find its platform components on this system .RE .TP +.B \-\-update\-subarray= +If the device is a container and the argument to \-\-update\-subarray +specifies a subarray in the container, then attempt to update the given +superblock field in the subarray. Similar to updating an array in +"assemble" mode, the field to update is selected by +.B \-U +or +.B \-\-update= +option. Currently only +.B name +is supported. + +The +.B name +option updates the subarray name in the metadata, it may not affect the +device node name or the device node symlink until the subarray is +re\-assembled. If updating +.B name +would change the UUID of an active subarray this operation is blocked, +and the command will end in an error. + +.TP .B \-\-examine The device should be a component of an md array. .I mdadm |