Running 'fsfreeze' command as backup pre-hook with OADP gives 'Operation not permitted' in OCP 4

Solution Unverified - Updated -

Issue

  • How to ensure our backups are not affected by write operations during the backup process.
  • How to freeze the filesystem before taking a backup of our application using OADP.
  • When trying to use fsfreeze command on OADP hooks, it fails with the following error:

    level=info msg="stderr: fsfreeze: /mypod/backup/directory/: freeze failed: Operation not permitted"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • OpenShift API Data Protection (OADP)
    • 1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content