HomeMogDBMogDB StackUqbar
v5.0

Documentation:v5.0

Supported Versions:

Other Versions:

cm_persist

Function Introduction

The cm_persist tool is used to implement the disk lock preemption function on resource pooling devices. This tool is an internal tool that is automatically invoked by the cm_server instance and is not recommended for users.

Prerequisites

  • Ensure that the storage device supports the SCSI-3 and CAW protocols.
  • Ensure that the cm_persist tool has the CAP_SYS_RAWIO permission. Then you can invoke ioctl system functions to operate resource pooling devices.

Syntax

  • Perform the cm_persist command.

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

    cm_persist -? | --help

Parameter Description

  • DEVICEPATH

    Specifies the path of resource pooling devices.

  • INSTANCE_ID

    Specifies the ID of a cm_server instance. You can perform cm_ctl query -Cv command to obtain the ID.

  • OFFSET

    Preempts the disk lock at the specified disk offset address.

  • -?,–help

    Shows the help information.

Copyright © 2011-2024 www.enmotech.com All rights reserved.