3
2
* mdadm - manage Linux "md" devices aka RAID arrays.
5
* Copyright (C) 2001-2006 Neil Brown <neilb@cse.unsw.edu.au>
4
* Copyright (C) 2001-2006 Neil Brown <neilb@suse.de>
8
7
* This program is free software; you can redistribute it and/or modify
131
130
{"spare-devices",1,0, 'x'},
132
131
{"size", 1, 0, 'z'},
133
132
{"auto", 1, 0, 'a'}, /* also for --assemble */
134
{"assume-clean",0,0, 3 },
133
{"assume-clean",0,0, AssumeClean },
135
134
{"metadata", 1, 0, 'e'}, /* superblock format */
136
135
{"bitmap", 1, 0, 'b'},
137
{"bitmap-chunk", 1, 0, 4},
138
{"write-behind", 2, 0, 5},
136
{"bitmap-chunk", 1, 0, BitmapChunk},
137
{"write-behind", 2, 0, WriteBehind},
139
138
{"write-mostly",0, 0, 'W'},
139
{"re-add", 0, 0, ReAdd},
140
{"homehost", 1, 0, HomeHost},
141
{"auto-update-homehost", 0, 0, AutoHomeHost},
142
{"symlinks", 1, 0, Symlinks},
142
144
/* For assemble */
143
145
{"uuid", 1, 0, 'u'},
157
159
{"stop", 0, 0, 'S'},
158
160
{"readonly", 0, 0, 'o'},
159
161
{"readwrite", 0, 0, 'w'},
162
{"no-degraded",0,0, NoDegraded },
161
164
/* For Detail/Examine */
162
165
{"brief", 0, 0, 'b'},
163
{"sparc2.2", 0, 0, 22},
166
{"sparc2.2", 0, 0, Sparc22},
164
167
{"test", 0, 0, 't'},
166
169
/* For Follow/monitor */
269
272
" --config= -c : config file\n"
270
273
" --scan -s : scan config file for missing information\n"
271
274
" --force -f : Assemble the array even if some superblocks appear out-of-date\n"
272
" --update= -U : Update superblock: one of sparc2.2, super-minor or summaries\n"
275
" --update= -U : Update superblock: try '-A --update=?' for list of options.\n"
273
276
" --auto(=p) -a : Automatically allocate new (partitioned) md array if needed.\n"
277
" --no-degraded : Do not start any degraded arrays - default unless --scan.\n"
275
279
" For detail or examine:\n"
276
280
" --brief -b : Just print device name and UUID\n"
389
393
" Those devices are md devices that are to be assembled. Their identity\n"
390
394
" and components are determined from the config file.\n"
396
" If mdadm can not find all of the components for an array, it will assemble\n"
397
" it but not activate it unless --run or --scan is given. To preserve this\n"
398
" behaviour even with --scan, add --no-degraded. Note that \"all of the\n"
399
" components\" means as many as were present the last time the array was running\n"
400
" as recorded in the superblock. If the array was already degraded, and\n"
401
" the missing device is not a new problem, it will still be assembled. It\n"
402
" is only newly missing devices that cause the array not to be started.\n"
392
404
"Options that are valid with --assemble (-A) are:\n"
393
405
" --bitmap= : bitmap file to use wit the array\n"
394
406
" --uuid= -u : uuid of array to assemble. Devices which don't\n"
402
414
" for a full array are present\n"
403
415
" --force -f : Assemble the array even if some superblocks appear\n"
404
416
" : out-of-date. This involves modifying the superblocks.\n"
405
" --update= -U : Update superblock: one of sparc2.2, super-minor or summaries\n"
417
" --update= -U : Update superblock: try '-A --update=?' for option list.\n"
418
" --no-degraded : Assemble but do not start degraded arrays.\n"
408
421
char Help_manage[] =