Troubleshooting persistent reserve errors for IBM Storage Scale native REST API
IBM Storage Scale native REST API provides support to manage persistent reserve settings on a specified target disk. This support is required for troubleshooting persistent reserve errors during the creation of a network shared disk (NSD). In such cases, you might need to register or clear keys from a device to allow it to be used as an NSD.
Read persistent reserve keys
The native REST API provides the persistentReserve readKeys CLI and REST API to retrieve the list of persistent reserve keys that are registered on a specified device. This command or API can be used to verify all registered keys on a device that are owned by IBM Storage Scale. Make sure that the key starts with the IBM Storage Scale prefix code 0x00006d.
Clear persistent reserve keys
The native REST API provides the persistentReserve clearKey CLI and REST API to remove persistent reserve keys that are registered on a device. Use a valid key that is assigned by the host. When this command is executed, all keys are removed. To clear all keys, you must provide a valid key that was previously registered.
For more information, see scalectl troubleshooting command or Troubleshooting endpoints.