cm_persit

Function

The cm_persist tool is used to preempt the disk lock on the shared storage device. This tool is an internal tool automatically invoked by CM Server. You are not advised to use it.

Prerequisites

  • The storage device supports the SCSI-3 and CAW protocols.
  • The cm_persist tool has the CAP_SYS_RAWIO permission. Otherwise, the cm_persist tool cannot invoke the ioctl system function to operate the shared storage device.

Syntax

  • Run the cm_persist command.

    cm_persist [DEVICEPATH] [INSTANCE_ID] [OFFSET]
    
  • Display the help information.

    cm_persist -? | --help
    

Parameter Description

  • DEVICEPATH

    Specifies the path to the shared storage device.

  • INSTANCE_ID

    Specifies the ID of the CM Server instance. You can run the cm_ctl query -Cv command to query the ID.

  • OFFSET

    Preempts the disk lock at the specified disk offset address.

  • -?,--help

    Prints help information.

Feedback
编组 3备份
    openGauss 2024-05-07 00:46:52
    cancel