Hello,
Recently, I have issues with Xtrabackup (xtrabackup version 2.4.22 based on MySQL server 5.7.32 Linux (x86_64) (revision id: c99a781) with MySQL 5.7 (mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper).
When taking full backup, I got this error.
Full log here:
xtrabackup: recognized server arguments: --datadir=/var/lib/mysql/data --tmpdir=/var/lib/mysql/tmp --server-id=101520948 --open_files_limit=100000 --innodb_file_per_table=1 --innodb_data_file_path=ibdata1:10M:autoextend --innodb_buffer_pool_size=2048M --innodb_log_file_size=256M --log_bin=mysql-bin.log --tmpdir=/var/lib/mysql/tmp
xtrabackup: recognized client arguments: --port=3306 --socket=/var/run/mysqld/mysqld.sock --user=admin --password=* --host=127.0.0.1 --backup=1 --stream=xbstream --user=admin --password=*
230709 03:00:05 version_check Connecting to MySQL server with DSN âdbi:mysql:;mysql_read_default_group=xtrabackup;host=127.0.0.1;port=3306;mysql_socket=/var/run/mysqld/mysqld.sockâ as âadminâ (using password: YES).
230709 03:00:05 version_check Connected to MySQL server
230709 03:00:05 version_check Executing a version check against the serverâŠ
230709 03:00:05 version_check Done.
230709 03:00:05 Connecting to MySQL server host: 127.0.0.1, user: admin, password: set, port: 3306, socket: /var/run/mysqld/mysqld.sock
Using server version 5.7.34-0ubuntu0.18.04.1-log
xtrabackup version 2.4.22 based on MySQL server 5.7.32 Linux (x86_64) (revision id: c99a781)
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /var/lib/mysql/data
xtrabackup: open files limit requested 100000, set to 100000
xtrabackup: using the following InnoDB configuration:
xtrabackup: innodb_data_home_dir = .
xtrabackup: innodb_data_file_path = ibdata1:10M:autoextend
xtrabackup: innodb_log_group_home_dir = ./
xtrabackup: innodb_log_files_in_group = 2
xtrabackup: innodb_log_file_size = 268435456
InnoDB: Number of pools: 1
230709 03:01:40 >> log scanned up to (6240622024)
xtrabackup: Generating a list of tablespaces
InnoDB: Allocated tablespace ID 10335 for <database_namexxx>/<table_namexxx>, old maximum was 0
230709 03:01:41 >> log scanned up to (6240622024)
230709 03:01:42 >> log scanned up to (6240622024)
230709 03:01:43 >> log scanned up to (6240622024)
230709 03:01:44 >> log scanned up to (6240622024)
230709 03:01:45 >> log scanned up to (6240622024)
230709 03:01:46 >> log scanned up to (6240622024)
230709 03:01:47 >> log scanned up to (6240622024)
230709 03:01:48 >> log scanned up to (6240622024)
230709 03:01:49 >> log scanned up to (6240622024)
230709 03:01:50 >> log scanned up to (6240622024)
230709 03:01:51 >> log scanned up to (6240622024)
230709 03:01:52 >> log scanned up to (6240622024)
230709 03:01:53 >> log scanned up to (6240622024)
230709 03:01:54 >> log scanned up to (6240622024)
230709 03:01:55 >> log scanned up to (6240622024)
230709 03:01:56 >> log scanned up to (6240622024)
230709 03:01:57 >> log scanned up to (6240622024)
230709 03:01:58 >> log scanned up to (6240622024)
230709 03:01:59 >> log scanned up to (6240622024)
230709 03:02:00 >> log scanned up to (6240622024)
230709 03:02:01 >> log scanned up to (6240622024)
230709 03:02:02 >> log scanned up to (6240622024)
230709 03:02:03 >> log scanned up to (6240622024)
230709 03:02:04 >> log scanned up to (6240622024)
230709 03:02:05 >> log scanned up to (6240622024)
230709 03:02:06 >> log scanned up to (6240622024)
230709 03:02:07 >> log scanned up to (6240622024)
230709 03:02:08 >> log scanned up to (6240622024)
230709 03:02:09 >> log scanned up to (6240622024)
230709 03:02:10 >> log scanned up to (6240622024)
230709 03:02:11 >> log scanned up to (6240622024)
230709 03:02:12 >> log scanned up to (6240622024)
230709 03:02:13 >> log scanned up to (6240622024)
230709 03:02:14 >> log scanned up to (6240622024)
230709 03:02:15 >> log scanned up to (6240622024)
230709 03:02:16 >> log scanned up to (6240622024)
230709 03:02:17 >> log scanned up to (6240622024)
230709 03:02:18 >> log scanned up to (6240622024)
230709 03:02:19 >> log scanned up to (6240622024)
230709 03:02:20 >> log scanned up to (6240622024)
230709 03:02:21 >> log scanned up to (6240622024)
230709 03:02:22 >> log scanned up to (6240622024)
230709 03:02:23 >> log scanned up to (6240622024)
230709 03:02:24 >> log scanned up to (6240622024)
230709 03:02:25 >> log scanned up to (6240622024)
230709 03:02:26 >> log scanned up to (6240622024)
230709 03:02:27 >> log scanned up to (6240622024)
230709 03:02:28 >> log scanned up to (6240622024)
230709 03:02:29 >> log scanned up to (6240622024)
230709 03:02:30 >> log scanned up to (6240622024)
230709 03:02:31 >> log scanned up to (6240622024)
230709 03:02:32 >> log scanned up to (6240622024)
230709 03:02:33 >> log scanned up to (6240622024)
230709 03:02:34 >> log scanned up to (6240622024)
230709 03:02:35 >> log scanned up to (6240622024)
230709 03:02:36 >> log scanned up to (6240622024)
230709 03:02:37 >> log scanned up to (6240622024)
230709 03:02:38 >> log scanned up to (6240622024)
230709 03:02:39 >> log scanned up to (6240622024)
230709 03:02:40 >> log scanned up to (6240622024)
230709 03:02:41 >> log scanned up to (6240622024)
230709 03:02:42 >> log scanned up to (6240622024)
230709 03:02:43 >> log scanned up to (6240622024)
230709 03:02:44 >> log scanned up to (6240622024)
230709 03:02:45 >> log scanned up to (6240622024)
230709 03:02:46 >> log scanned up to (6240622024)
230709 03:02:47 >> log scanned up to (6240622024)
230709 03:02:48 >> log scanned up to (6240622024)
230709 03:02:49 >> log scanned up to (6240622024)
230709 03:02:50 >> log scanned up to (6240622024)
230709 03:02:51 >> log scanned up to (6240622024)
230709 03:02:52 >> log scanned up to (6240622024)
230709 03:02:53 >> log scanned up to (6240622024)
230709 03:02:54 >> log scanned up to (6240622024)
230709 03:02:55 >> log scanned up to (6240622024)
230709 03:02:56 >> log scanned up to (6240622024)
230709 03:02:57 >> log scanned up to (6240622024)
230709 03:02:58 >> log scanned up to (6240622024)
230709 03:02:59 >> log scanned up to (6240622024)
230709 03:03:00 >> log scanned up to (6240622024)
230709 03:03:01 >> log scanned up to (6240622024)
230709 03:03:02 >> log scanned up to (6240622024)
230709 03:03:03 >> log scanned up to (6240622024)
230709 03:03:04 >> log scanned up to (6240622024)
230709 03:03:05 >> log scanned up to (6240622024)
230709 03:03:06 >> log scanned up to (6240622024)
230709 03:03:07 >> log scanned up to (6240622024)
230709 03:03:08 >> log scanned up to (6240622024)
230709 03:03:09 >> log scanned up to (6240622024)
230709 03:03:10 >> log scanned up to (6240622024)
230709 03:03:11 >> log scanned up to (6240622024)
230709 03:03:12 >> log scanned up to (6240622024)
230709 03:03:13 >> log scanned up to (6240622024)
230709 03:03:14 >> log scanned up to (6240622024)
230709 03:03:15 >> log scanned up to (6240622024)
230709 03:03:16 >> log scanned up to (6240622024)
230709 03:03:17 >> log scanned up to (6240622024)
230709 03:03:18 >> log scanned up to (6240622024)
230709 03:03:19 >> log scanned up to (6240622024)
230709 03:03:20 >> log scanned up to (6240622024)
230709 03:03:21 >> log scanned up to (6240622024)
230709 03:03:22 >> log scanned up to (6240622024)
230709 03:03:23 >> log scanned up to (6240622024)
230709 03:03:24 >> log scanned up to (6240622024)
230709 03:03:25 >> log scanned up to (6240622024)
230709 03:03:26 >> log scanned up to (6240622024)
230709 03:03:27 >> log scanned up to (6240622024)
230709 03:03:28 >> log scanned up to (6240622024)
230709 03:03:29 >> log scanned up to (6240622024)
InnoDB: Cannot read first page of â./<database_nameyyy>/<table_namezzz>.ibdâ I/O error
InnoDB: Cannot read first page in datafile: .//<database_nameyyy>/<table_namezzz>.ibd, Space ID:18446744073709551615, Flags: 0. Please refer to http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting-datadict.html for how to resolve the issue.
Any ideas ? Should I try to increase open file limits ?