]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.8
Kill subarray v2
[thirdparty/mdadm.git] / mdadm.8
diff --git a/mdadm.8 b/mdadm.8
index 4edfc41232c59ffaa008d3d624bd0ca0e321a27e..784ba311252ede2f2226f27f415a544853da8fda 100644 (file)
--- a/mdadm.8
+++ b/mdadm.8
@@ -1172,6 +1172,16 @@ overwritten with zeros.  With
 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
 .BR \-t ", " \-\-test
 When used with