[MDEV-25185] mariabackup Created: 2021-03-18  Updated: 2022-01-06  Resolved: 2022-01-06

Status: Closed
Project: MariaDB Server
Component/s: mariabackup
Affects Version/s: 10.5.10, 10.5
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: yoann Assignee: Marko Mäkelä
Resolution: Not a Bug Votes: 0
Labels: crash, innodb, not-10.2, regression


 Description   

Hello,

We make our backups with the mariabackup utility and recently we went from version 10.2 to version 10.5. And we encounter an error for the preparation of the backup. The latter does not retrieve the innodb_log_group_home_dir parameter and leaves it by default, ie "." which is not our case. An error of the type follows :

 
2021-03-17 15:12:08 0 [Warning] InnoDB: Retry attempts for reading partial data failed.
2021-03-17 15:12:08 0 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2021-03-17 15:12:08 0 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory.
2021-03-17 15:12:08 0 [ERROR] [FATAL] InnoDB: Tried to read 12288 bytes at offset 2048, but was only able to read 0.Cannot read from file. OS error number 13.
210317 15:12:08 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.

What is strange is that the backup command works and we can see at the beginning of the log that mariabackup gets the correct parameter. So I tried to overload the command line by adding the option --innodb-log-group-home-dir=/mydir

But without success...

Do you have an idea ?

Best regards.



 Comments   
Comment by Marko Mäkelä [ 2021-11-22 ]

DBA-Yoann, did you notice this part of the error output? What are the file system permissions?

2021-03-17 15:12:08 0 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2021-03-17 15:12:08 0 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory.

Generated at Thu Feb 08 09:35:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.