# xtrabackup file too large error

**URL:** <https://forums.percona.com/t/xtrabackup-file-too-large-error/6123>\
**Category:** Percona XtraBackup\
**Created:** [January 11, 2018, 4:54pm UTC](https://forums.percona.com/t/xtrabackup-file-too-large-error/6123 "2018-01-11T16:54:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffwrule](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jeffwrule/32/1052_2.png) [@jeffwrule](https://forums.percona.com/u/jeffwrule)\
**Post date:** [January 11, 2018, 4:54pm UTC](https://forums.percona.com/t/xtrabackup-file-too-large-error/6123/1 "2018-01-11T16:54:31Z")

</div>

I have a very large database I am backing up and getting the following error message for.

```auto
Innobackup: Error writing file '/path/to/db/file/xxx#P#pSynonymous.idb.qp' (Errorcode: 27 - file too large)
compress: write to destition stream failed.
innobackupex: Can't sync file to /backup-per/gel/replicadb/same/path/as/above.ibd.qp (Errorcode: 27 - File too large)
[04] xtrabackup: Error: xtrabackup_copy_datafile() failed.
[04] xtrabackup Error: failed to copy datafile.

```

The above block was retyped as the system that is having the problem is behind a secure file wall and I can’t cut/paste text from the system. I can grab a picture. And that is attached with the exact error message.

The file it is trying to write is 5.1TB when it fails.

System and tools versiions are:

Percona mysql (5.6.3)  
Percona toolkit 2.2.17  
innobackupex (2.3.4)  
qpress (11-1.el6)  
Linux 2.6.32  
Centos: 6.8

backup command is:

innobackupex --backup --compress --parallel=4 -rsync /target/directory

The backups are being written to an NFS mounted volume.

Question:

Is this an error from the the backup tool (innobackupex) or compression tool (qpress) or is it the file system telling me it can’t write a file this large?

 ![photoid=50509](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/4/494bb6c4970bbae7dd3fce4734929014e5af0aaa.jpeg)

---

<div class="post-metadata">

**Author:** ![lorraine.pocklington](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lorraine.pocklington/32/37_2.png) [@lorraine.pocklington](https://forums.percona.com/u/lorraine.pocklington)\
**Post date:** [January 15, 2018, 4:17am UTC](https://forums.percona.com/t/xtrabackup-file-too-large-error/6123/2 "2018-01-15T04:17:54Z")

</div>

Hi Jeff  
The error code (27 - File too large) is originating from Linux. It could be a file system limit or due to the setting of ulimit  
Based on this message “The backups are being written to an NFS mounted volume”, the team suggest you should check the max file size allowed on this volume  
See how you get on?  
Thanks.
