change dif_scan enabled
Format
change dif_scan enabled enabled=? [ lun_id=? | disk_domain_id=? ] [ lba=? length=? ] [ controller=? ]
Parameters
Parameter |
Description |
Value |
---|---|---|
enabled=? | Starts or stops the LUN DIF scan. | The value can be "start" or "stop". |
lun_id=? | LUN ID. | To obtain the value, run the "show lun general" command without parameters. The value ranges from 0 to 65535. |
lba=? | Start LBA of the LUN DIF scan. | The maximum value cannot exceed the maximum capacity of the LUN. The value ranges from 0 to 549755813887. |
length=? | Length of the LUN DIF scan. | The maximum value cannot exceed the maximum capacity of the LUN. The value ranges from 1 to 549755813888. |
controller=? | ID of a controller. | To obtain the value, run "show controller general". The value is in the format of "XA", "XB", "XC" or "XD", where the "X" is an integer ranging from 0 to 3. |
disk_domain_id=? | Disk domain ID. | To obtain the value, run the "show disk_domain general" command in the guest view. The value ranges from 0 to 127. |
Usage Guidelines
If parameter "controller=?" is set to the default value, this command is applicable only to the current controller. If parameter "controller=?" is specified, this command takes effect only on the specified controller.
Example
-
Start the DIF scan task for all LUNs of disk domain "0" on controller 0A. The scan covers 100 sectors whose start LBA is "0".
developer:/>change dif_scan enabled controller=0A enabled=start disk_domain_id=0 lba=0 length=100 Command executed successfully.
-
Start the DIF scan task for LUN "0" on the current controller.
developer:/>change dif_scan enabled enabled=start lun_id=0 Command executed successfully.
-
Start the DIF scan task for LUN "0" on controller 0A.
developer:/>change dif_scan enabled controller=0A enabled=start lun_id=0 Command executed successfully.
-
Stop the DIF scan task for all LUNs on the current controller.
developer:/>change dif_scan enabled enabled=stop Command executed successfully.
-
Start the DIF scan task for all LUNs on controller 0A.
developer:/>change dif_scan enabled controller=0A enabled=stop Command executed successfully.
-
Start the DIF scan task for all LUNs of disk domain "0" on the current controller.
developer:/>change dif_scan enabled enabled=start disk_domain_id=0 Command executed successfully.
-
Start the DIF scan task for all LUNs of disk domain "0" on controller 0A.
developer:/>change dif_scan enabled controller=0A enabled=start disk_domain_id=0 Command executed successfully.