addmdisk
Use the addmdisk command to add one or more managed disks to an existing storage pool.
Syntax
>>- addmdisk -- ------------------------------------------------> >-- -mdisk --+- mdisk_id_list ---+--+---------------------------+--> '- mdisk_name_list -' '- -tier --+- ssd --------+-' +- enterprise -+ '- nearline ---' >-- --+- mdisk_group_id ---+----------------------------------->< '- mdisk_group_name -'
Parameters
- -mdisk mdisk_id_list | mdisk_name_list
- (Required) Specifies one or more managed disk IDs or names to add to the storage pool.
- -tier ssd | enterprise | nearlinessd | enterprise | nearlinessd | enterprise | nearline
- (Optional) Specifies the tier of the MDisk or MDisks being added. Unless otherwise specified,
the current tier value associated with the MDisk is retained. The values are:
- ssd
- Specifies an SSD (or flash drive) hard disk drive or an external MDisk for the newly discovered or external volume.
- nearline
- Specifies an nearline hard disk drive or an external MDisk for the newly discovered or external volume.
- enterprise
- Specifies an enterprise hard disk drive or an external MDisk for the newly discovered or external volume.
The default value for a newly discovered unmanaged MDisk is enterprise. You can change this value by using the chmdisk command.
The tier of external managed disks is not detected automatically and is set to enterprise. If the external managed disk is made up of flash drives or nearline Serial Attached SCSI (SAS) drives and you want to use Easy Tier®, you must either specify the tier when adding the managed disk to the storage pool or use the chmdisk command.
- mdisk_group_id | mdisk_group_name
- (Required) Specifies the ID or name of the storage pool to add the disks to. When an MDisk is added, the warning threshold for the storage pool is automatically scaled.
Description
This command adds the managed disks that you specify to the storage pool.
The disks can be specified in terms of the managed disk ID or the managed disk name. The managed disks must be in unmanaged mode.
- If the managed disk does not contain any extents in use by a volume
- If you can first migrate the extents in use onto other free extents within the storage pool.
An invocation example
addmdisk -mdisk mdisk13:mdisk14 -tier nearline Group0
The resulting output:
No feedback