Start of change

FACTORY_RESET_DEVICE procedure

The FACTORY_RESET_DEVICE procedure resets an NVMe device to its factory settings. The device will lose all data when this procedure is called. The PSID value printed on the physical NVMe device label is needed to perform the reset.

Authorization: The caller must have *IOSYSCFG and *SERVICE special authorities.

Read syntax diagramSkip visual syntax diagram FACTORY_RESET_DEVICE ( PSID_PASSWORD =>  psid-password , RESOURCE_NAME =>  resource-name )

The schema is QSYS2.

psid-password
A character string that contains the PSID value printed on the physical device label.
resource-name
A character string that contains the resource name of the device to be reset.

Example

  • Reset an NVMe device back to its initial settings.
    
    CALL QSYS2.FACTORY_RESET_DEVICE(PSID_PASSWORD => 'My0dev9pw!',
                                    RESOURCE_NAME => 'UNIT2'); 
End of change