# Xtrabackup: Error writing file '\<unopen fd\>' (os errno 5 - input/output error)

**URL:** <https://forums.percona.com/t/xtrabackup-error-writing-file-unopen-fd-os-errno-5-input-output-error/23094>\
**Category:** Percona XtraBackup\
**Created:** [June 25, 2023, 1:43pm UTC](https://forums.percona.com/t/xtrabackup-error-writing-file-unopen-fd-os-errno-5-input-output-error/23094 "2023-06-25T13:43:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kedarpercona](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kedarpercona/32/809_2.png) [@kedarpercona](https://forums.percona.com/u/kedarpercona)\
**Post date:** [June 25, 2023, 2:17pm UTC](https://forums.percona.com/t/xtrabackup-error-writing-file-unopen-fd-os-errno-5-input-output-error/23094/2 "2023-06-25T14:17:55Z")

</div>

Welcome to the Percona community @bili,

To start with I’d consider using exact version for xtrabackup and mysql.  
Then, I assume here that the `ulimit -n 1000000` is for the user you run xtrabackup with. If not, I’d make sure of that.  
Now, can you confirm if the command did progress for some time and then failed or was it an immediate failure? I’m trying to figure out if the issue is with the permissions/storage etc which might not let the backup to even start OR is it some limitation that is causing to terminate after it started!

There’s a “similar” issue that was noted [here](https://forums.percona.com/t/xtrabackup-8-0-4-prepare-fails-with-linux-os-errors), does it help?

Thanks,  
K.

---

_[View the full topic](https://forums.percona.com/t/xtrabackup-error-writing-file-unopen-fd-os-errno-5-input-output-error/23094)._
