add disk_domain disk
Format
add disk_domain disk disk_domain_id=? disk_list=? [ enhanced_data_protection_policy=? ]
add disk_domain disk disk_domain_id=? disk_list=? [ ignore_disk_capacity=? ] [ disk_group_id=? ] [ enhanced_data_protection_policy=? ]
add disk_domain disk disk_domain_id=? disk_number=? disk_type=? [ ignore_disk_capacity=? ] [ enhanced_data_protection_policy=? ]
Parameters
Parameter |
Description |
Value |
---|---|---|
disk_domain_id=? | ID of a disk domain to which you want to add disks. | To obtain the value, run "show disk_domain general". |
disk_list=? | ID list of disks that you want to add to a disk domain. If you specify this parameter, you cannot specify parameters disk_type=? and disk_number=?. | The value can be "all", disk ID range, or disk ID list, where:
|
disk_number=? | Number of disks that you want to add to a disk domain. When you use this parameter with parameter disk_type=?, the system automatically adds disks of specified types and quantity to a disk domain. If you specify this parameter, you cannot specify parameter disk_list=?. | The value is an integer ranging from 1 to 2147483647. |
disk_type=? | Type of a disk that you want to add to a disk domain. | The value can be "SAS", "NearLine_SAS", "SSD", "SAS_SED", "NearLine_SAS_SED", "SSD_SED", "SATA", "NVMe_SSD", or "NVMe_SSD_SED", where:
NOTE:
The following describes the disk type supported by each storage tier:
|
ignore_disk_capacity=? | Whether to ignore the disk capacity. | The value can be "yes" or "no", where:
|
disk_group_id | ID of a disk group. | The value is an integer ranging from 0 to 31. |
enhanced_data_protection_policy=? | Whether to use the enhanced data protection policy. | The value can be "yes" or "no", where:
|
Usage Guidelines
If the number of added disks is smaller than the maximum number of disks for a RAID level that maps to storage pools in a disk domain, note the following items:
- Create a LUN or expand LUN capacity after data is leveled in the disk domain.
- If a thick LUN is created before data leveling is complete, start host services on the LUN after space allocation or formatting.
Example
Add two SAS disks to disk domain "0" and ignore the disk capacity.
developer:/>add disk_domain disk disk_domain_id=0 disk_number=2 disk_type=SAS ignore_disk_capacity=yes CAUTION: You are about to expand the capacity of the disk domain. This operation will add disks to the disk domain and the added disks cannot be removed from the disk domain. Suggestion: Before performing this operation, check whether the added disks meet service requirements. If no, add disks that meet service requirements. Do you wish to continue?(y/n)y Command executed successfully.