Running 'fsfreeze' command as backup pre-hook with OADP gives 'Operation not permitted' in OCP 4
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
fsfreezecommand on OADPhooks, 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.