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

LP:486462 - Disk full causes incorrect error message(s)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.1.67, 5.2.14, 5.3.12, 10.1, 10.0, 5.5
    • Fix Version/s: 10.1
    • Component/s: OTHER

      Description

      When running out of disk space during a database import, Maria incorrectly tells me the table is full, as opposed to 'the disk is full'. It seems it's not correctly parsing E_NOSPC and so not returning the correct error string.

      cafuego@cachaca:~
      ; mysql database < data_dump.sql

      ERROR 1114 (HY000) at line 676: The table 'cache_menu' is full
      cafuego@cachaca:~
      ; df -h /
      Filesystem Size Used Avail Use% Mounted on
      /dev/sda6 12G 12G 0 100% /

      After making some space available, the import completes fine. I recall reporting this to Sun as well, but I can't find the bug number.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              cafuego Cafuego added a comment -

              Re: Disk full causes incorrect error message(s)
              Ah, found 'im: http://bugs.mysql.com/bug.php?id=44781

              The associated syslog entry from the current error was:

              Nov 22 10:12:16 cachaca mysqld: 091122 10:12:16 InnoDB: Error: Write to file ./database/cache_menu.ibd f→
              Nov 22 10:12:16 cachaca mysqld: InnoDB: 1048576 bytes should have been written, only -1 were written.
              Nov 22 10:12:16 cachaca mysqld: InnoDB: Operating system error number 28.
              Nov 22 10:12:16 cachaca mysqld: InnoDB: Check that your OS and file system support files of this size.
              Nov 22 10:12:16 cachaca mysqld: InnoDB: Check also that the disk is not full or a disk quota exceeded.
              Nov 22 10:12:16 cachaca mysqld: InnoDB: Error number 28 means 'No space left on device'.
              Nov 22 10:12:16 cachaca mysqld: InnoDB: Some operating system error numbers are described at
              Nov 22 10:12:16 cachaca mysqld: InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html
              Nov 22 10:12:16 cachaca mysqld: 091122 10:12:16 [ERROR] mysqld: The table 'cache_menu' is full

              ... so probably the same bug.

              Show
              cafuego Cafuego added a comment - Re: Disk full causes incorrect error message(s) Ah, found 'im: http://bugs.mysql.com/bug.php?id=44781 The associated syslog entry from the current error was: Nov 22 10:12:16 cachaca mysqld: 091122 10:12:16 InnoDB: Error: Write to file ./database/cache_menu.ibd f→ Nov 22 10:12:16 cachaca mysqld: InnoDB: 1048576 bytes should have been written, only -1 were written. Nov 22 10:12:16 cachaca mysqld: InnoDB: Operating system error number 28. Nov 22 10:12:16 cachaca mysqld: InnoDB: Check that your OS and file system support files of this size. Nov 22 10:12:16 cachaca mysqld: InnoDB: Check also that the disk is not full or a disk quota exceeded. Nov 22 10:12:16 cachaca mysqld: InnoDB: Error number 28 means 'No space left on device'. Nov 22 10:12:16 cachaca mysqld: InnoDB: Some operating system error numbers are described at Nov 22 10:12:16 cachaca mysqld: InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html Nov 22 10:12:16 cachaca mysqld: 091122 10:12:16 [ERROR] mysqld: The table 'cache_menu' is full ... so probably the same bug.
              Hide
              hakanküçükyılmaz Hakan Küçükyılmaz added a comment -

              Re: Disk full causes incorrect error message(s)
              Confirmed by http://bugs.mysql.com/bug.php?id=44781

              Show
              hakanküçükyılmaz Hakan Küçükyılmaz added a comment - Re: Disk full causes incorrect error message(s) Confirmed by http://bugs.mysql.com/bug.php?id=44781
              Hide
              ratzpo Rasmus Johansson added a comment -

              Launchpad bug id: 486462

              Show
              ratzpo Rasmus Johansson added a comment - Launchpad bug id: 486462

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  cafuego Cafuego
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated: