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

mariadb-install-db fails writing ibdata1 on overlayfs

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6.8
    • 10.6
    • OS: Debian GNU/Linux 11 (bullseye)
      Software platform: debian-live-11.3.0-amd64-standard.iso
      Filesystem: overlay
      QEMU: qemu-system-x86_64 -enable-kvm -cpu host -m 4G -smp 2
      Download: mariadb-10.6.8-linux-systemd-x86_64.tar.gz

    Description

      Following INSTALL-BINARY instructions,
      scripts/mysql_install_db --user=mysql
      failed:

      $ sudo scripts/mysql_install_db --user=mysql
      Installing MariaDB/MySQL system tables in './data' ...
      2022-06-06  4:17:03 0 [Warning] InnoDB: Retry attempts for writing partial data failed.
      2022-06-06  4:17:03 0 [ERROR] InnoDB: Write to file ./ibdata1 failed at offset 0, 1048576 bytes should have been written, only 0 were written. Operating system error number 22. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.
      2022-06-06  4:17:03 0 [ERROR] InnoDB: Error number 22 means 'Invalid argument'
      2022-06-06  4:17:03 0 [ERROR] InnoDB: Could not set the file size of './ibdata1'. Probably out of disk space
      2022-06-06  4:17:03 0 [ERROR] InnoDB: Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
      2022-06-06  4:17:04 0 [ERROR] Plugin 'InnoDB' init function returned error.
      2022-06-06  4:17:04 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
      2022-06-06  4:17:04 0 [ERROR] Unknown/unsupported storage engine: InnoDB
      2022-06-06  4:17:04 0 [ERROR] Aborting
       
      Installation of system tables failed!
      

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              lewart Daniel Lewart
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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