Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13752

mariabackup Error Invalid argument

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.2
    • 10.2.8
    • Backup
    • None
    • FreeBSD

    Description

      Here's the error message I got when I was trying to use mariabackup for sst.

      170907 12:16:25 innobackupex: Starting the backup operation
       
      IMPORTANT: Please check that the backup run completes successfully.
                 At the end of a successful backup run innobackupex
                 prints "completed OK!".
       
      170907 12:16:25 Connecting to MySQL server host: localhost, user: galera, password: set, port: 3306, socket: /tmp/mysql.sock
      Using server version 10.2.7-MariaDB-log
      innobackupex based on MariaDB server 10.2.7-MariaDB FreeBSD11.0 (amd64)
      xtrabackup: uses posix_fadvise().
      xtrabackup: cd to /var/mysql-data/
      xtrabackup: open files limit requested 0, set to 706518
      xtrabackup: using the following InnoDB configuration:
      xtrabackup:   innodb_data_home_dir = /var/mysql-data
      xtrabackup:   innodb_data_file_path = ibdata1:10M:autoextend
      xtrabackup:   innodb_log_group_home_dir = /var/mysql-logs
      xtrabackup: using O_DIRECT
      xtrabackupp: Warning: ignoring innodb_flush_method = O_DIRECT on Windows.
      2017-09-07 12:16:26 34426937344 [Note] InnoDB: Number of pools: 1
      innobackupex: Error writing file 'UNKNOWN' (Errcode: 22 "Invalid argument")
      xb_stream_write_data() failed.
      xtrabackup: Error: write to logfile failed
      xtrabackup: Error: xtrabackup_copy_logfile() failed.
      

      Then I executed mariabakup mannually, and got this:

      170907 13:25:39 Connecting to MySQL server host: localhost, user: tao, password: set, port: 3306, socket: /tmp/mysql.sock
      Using server version 10.2.7-MariaDB-log
      mariabackup based on MariaDB server 10.2.7-MariaDB FreeBSD11.0 (amd64)
      xtrabackup: uses posix_fadvise().
      xtrabackup: cd to /var/mysql-data/
      xtrabackup: open files limit requested 0, set to 706518
      xtrabackup: using the following InnoDB configuration:
      xtrabackup: innodb_data_home_dir = /var/mysql-data
      xtrabackup: innodb_data_file_path = ibdata1:10M:autoextend
      xtrabackup: innodb_log_group_home_dir = /var/mysql-logs
      xtrabackup: using O_DIRECT
      xtrabackupp: Warning: ignoring innodb_flush_method = O_DIRECT on Windows.
      2017-09-07 13:25:39 34426937344 [Note] InnoDB: Number of pools: 1
      mariabackup: Error writing file '/tmp/backup/ib_logfile0' (Errcode: 22 "Invalid argument")
      xtrabackup: Error: write to logfile failed
      xtrabackup: Error: xtrabackup_copy_logfile() failed.

      Attachments

        Issue Links

          Activity

            People

              anikitin Andrii Nikitin (Inactive)
              laocius TAO ZHOU
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.