# XtraBackup prepare fails on NFS

**URL:** <https://forums.percona.com/t/xtrabackup-prepare-fails-on-nfs/21646>\
**Category:** Percona XtraBackup\
**Created:** [April 25, 2023, 11:35am UTC](https://forums.percona.com/t/xtrabackup-prepare-fails-on-nfs/21646 "2023-04-25T11:35:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [April 25, 2023, 3:26pm UTC](https://forums.percona.com/t/xtrabackup-prepare-fails-on-nfs/21646/2 "2023-04-25T15:26:10Z")

</div>

> [@jbirkas](#):
>
> 2023-04-24T20:32:51.321567+02:00 0 [ERROR] [MY-012574] [InnoDB] Unable to lock ./#innodb\_redo/#ib\_redo0 error: 5

PXB is unable to acquire filelock. This is an NFS problem. You need to read some docs on NFS mount options to fix the locking method. It is recommended to do the prepare locally before copying to your NFS.

> Same DB (XtraBackup 8.0.32-26 - MySQL 8.0.30

Also, it is recommended that you use the same PXB version which matches your MySQL version.

---

_[View the full topic](https://forums.percona.com/t/xtrabackup-prepare-fails-on-nfs/21646)._
