- - help - hall Presents basic help information. - - version - Vall Displays version information. - - verbose - vallDisplays extra information about whatthe program does. - - force - fallBe more forceful; can override certainconditions that might otherwise causean operation to abort.Configuring RAID 1 5 3c04.indd 153 3/28/11 11:57:08 AM3/28/11 11:57:08 AM1 5 4 Chapter 4 ■ Advanced Disk Management Long option nameShort optionnameUsed withmodesExplanation - - config=file -c file all Specifies configuration file. Thedefault is/etc/mdadm.conf or, if thatfile is not present,/etc/mdadm/mdadm.conf . - - scan - sall Obtains missing information from theconfiguration file. - - metadata=level -e level all Sets the style of the metadata. Thedefault is0.90 when creating arraysor to guess for other operations.The0.90 format limits arrays to 28components and limits componentpartitions to 2 TiB.1 ,1.0 ,1.1, and1.2raise these limits. - - raid - devices=num -n num create, build,or grow Sets the number of active devices inthe array. This value plus the numberof spare devices must equal the totalnumber of devices. - - spare - devices=num -x num create, build,or grow Sets the number of spare (extra)devices in the array. - - chunk=size -c size create, build,or grow Sets the size, in kibibytes, of datablocks for RAID levels 0, 4, 5, 6, and 10.The default is64 . - - level=level -l level create or build Sets the RAID level. Valid options arelinear ,raid0 ,0 ,stripe ,raid1 ,1 ,
mirror ,raid4 ,4 ,raid5 ,5 ,raid6 ,6 ,
raid10 ,10 ,multipath ,mp ,faulty , and
container .
- - name=name -N name create, build,
grow, or
assemble
Sets a name for the array, which can
be used to identify array components.
This requires a version-1 superblock
(metadata level).
- -add - amanage Adds a new device to the array.
- -re- addN/Amanage Adds a device that had been removed
back to the array.
đang được dịch, vui lòng đợi..