XtraBackup thinks 2 TB ibdata file should have wrong number of pages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
New
|
Undecided
|
Unassigned |
Bug Description
A user running MySQL 5.5.27 is using ext3 for their database partition. Since ext3 has a 2 TB limit for maximum file size, they have the following configured:
innodb_
When trying to back up this database with XtraBackup 2.3.5 and 2.2.13, they see errors like the following:
xtrabackup: open files limit requested 0, set to 100000
xtrabackup: using the following InnoDB configuration:
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
161004 12:25:09 >> log scanned up to (23030000474880)
InnoDB: Data file /datadir/
in the .cnf file 133955008 pages!
xtrabackup: Could not open or create data files.
From some simple math, it does look like the file has the proper number of pages:
2194719883264 bytes / 16384 bytes/page = 133955071 pages
I'm not sure why XtraBackup thinks the file should have 133955008 pages instead. Is this related to ext3's maximum file size, or is this a bug in XtraBackup?
tags: | added: i141882 |
To provide additional information, this user says that they were running innobackupex in the following way:
innobackupex --defaults- file=/etc/ my.cnf \ threads= 4 \ %Y).qp. xbc.xbs 2> \
--no-timestamp \
--use-memory=2G \
--user=backup_user \
--password=******** \
--databases="db1 db2 db3 mysql" \
--stream=xbstream \
--parallel=4 \
--compress \
--compress-
--history=$(date +%d-%m-%Y) ./ > \
mysqlbackup$(date +%d-%m-
backup-progress.log &