change lun_reserve clear
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
edevlun_id=? | eDevLUN ID. | eDevLUN ID can be obtained by running the "show lun general usage_type=External" command. The ID in the command output is the eDevLUN ID. |
Usage Guidelines
This command applies only to heterogeneous takeover scenarios.
To take over heterogeneous storage arrays using Huawei storage arrays, create eDevLUNs, and map the eDevLUNs to host services, run the following commands:
- Run the "scan remote_lun" command.
- Run the "show lun_reserve general" command to query reservation information about remote LUNs that map to all eDevLUNs, or run the "show lun_reserve general edevlun_id=?" command to query reservation information about the remote LUN that maps to a specified eDevLUN.
If there is reservation information about the remote LUN that maps to the eDevLUN, run the "change lun_reserve clear" command to clear the reservation information. Otherwise, the services are interrupted.
Example
Clear reservation information about the remote LUN that maps to eDevLUN "1" "2".
engineer:/>change lun_reserve clear edevlun_id=1,2 DANGER: You are about to delete reservation information about the remote LUN. This operation disables SCSI 3 write protection for the LUN and data on the remote LUN may be damaged as a result. Suggestion: Before performing this operation, ensure that all host services running on the remote LUN have been stopped and no other hosts are accessing the LUN. Have you read danger alert message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Clear LUN 1 reserve successfully. Clear LUN 2 reserve successfully.