change disk_domain format_mode
Function
Format
change disk_domain format_mode disk_domain_id=? format_mode=?
change disk_domain format_mode disk_domain_id=? format_mode=? [ reclaim_extent_format_type=? ]
Parameters
Parameter |
Description |
Value |
---|---|---|
disk_domain_id=? | Disk domain ID. | To obtain the value, run the "show disk_domain general" command. |
format_mode=? | Formatting mode. | The value is "disk_extent_mix_format" indicating the mixed formatting mode of disks and extents. |
reclaim_extent_format_type | Formatting mode of extent reclamation. The default value is extent_format. | The value can be "extent_format" indicating that the EXTENT module performs formatting during extent reclamation. The value can be "disk_format" indicating that disks perform formatting during extent reclamation. |
Example
-
Change the formatting mode of disk_domain whose ID is 0 to the mixed formatting mode of disks and extents.
developer:/>change disk_domain format_mode disk_domain_id=0 format_mode=disk_extent_mix_format DANGER: You are about to run the command of changing the formatting mode of the specified disk domain. After this operation, software version degradation cannot be performed before this disk domain is deleted. Suggestion: Before performing this operation, check whether changing the formatting mode of the specified disk domain is necessary. Have you read danger alert message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
-
Change the formatting mode of a disk domain whose ID is 0 to the mixed formatting mode of disks and extents, and that of extent reclamation to the EXTENT formatting mode.
developer:/>change disk_domain format_mode disk_domain_id=0 format_mode=disk_extent_mix_format reclaim_extent_format_type=extent_format DANGER: You are about to run the command of changing the formatting mode of the specified disk domain. After this operation, software version degradation cannot be performed before this disk domain is deleted. Suggestion: Before performing this operation, check whether changing the formatting mode of the specified disk domain is necessary. Have you read danger alert message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.