diff options
author | Dan Williams <dan.j.williams@intel.com> | 2010-06-23 01:30:59 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-06-23 01:30:59 +0200 |
commit | aa534678baad80689a642ba1bd602a00a267ac03 (patch) | |
tree | fc9283b2873a1f38060e76d375fce1cfa93f840d /ReadMe.c | |
parent | Kill subarray v2 (diff) | |
download | mdadm-aa534678baad80689a642ba1bd602a00a267ac03.tar.xz mdadm-aa534678baad80689a642ba1bd602a00a267ac03.zip |
Rename subarray v2
Allow the name of the array stored in the metadata to be updated. In
some cases the metadata format may not be able to support this rename
without modifying the UUID. In these cases the request will be blocked.
Otherwise we allow the rename to take place, even for active arrays.
This assumes that the user understands the difference between the kernel
node name, the device node symlink name, and the metadata specific name.
Anticipating further need to modify subarrays in-place, introduce the
->update_subarray() superswitch method. A future potential use
case is setting storage pool (spare-group) identifiers.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'ReadMe.c')
-rw-r--r-- | ReadMe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -109,6 +109,7 @@ struct option long_options[] = { {"auto-detect", 0, 0, AutoDetect}, {"detail-platform", 0, 0, DetailPlatform}, {"kill-subarray", 1, 0, KillSubarray}, + {"update-subarray", 1, 0, UpdateSubarray}, /* synonyms */ {"monitor", 0, 0, 'F'}, |