CMMVC8484E: The port cannot be removed because the host is mapped to at least one volume which have received I/O within the defined volume protection period and the port is the last port associated with the host.

Explanation

If volume protection is enabled, but the host port is the last port for a host mapped to any volume that has received I/O recently (within the defined volume protection time period), the rmhostport command fails.

The rmhostport command shares a similar behavior with the rmhost and the rmhostiogrpcommands: volume protection policing allows removal of the last host port if the host is already offline and there is another host mapped to the volume. The policing policy does not allow removing the host port if the host is the only host mapped to the volume and the volume is busy.

This behavior is not affected by the force parameter of the command.

User Response

  1. Ensure that the host port is intended to be removed. If you selected the wrong host port, repeat the removal command with the correct host port.
  2. To unmap the volumes in the host I/O group and remove the host port, ensure that no host I/O is sent to the volumes, wait the time specified in the vdisk_protection_time field in the lssystem command since the last I/O was received, then retry the host I/O group removal command.
  3. To disable volume protection and its warnings, disable the vdisk_protection-enabled field in the chsystem command.