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

RAW storage can't be accessed / initalized

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.0.10
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Debian 7 AMD64

      Description

      As was mentioned in MDEV-6029, raw storage in MariaDB isn't work correctly. This configuration (innodb_data_file_path=/dev/sdc2:20Graw) works perfectly with MySQL 5.5 (raw device was initialized, storage was filled with some databases). But, after update to MariaDB 10.0, server wasn't start. When i've apply a patch and rebuild from source, server starts successfully.
      But when i've try to reinitialize storage, error "The first specified data file /dev/sdc2 did not exist... InnoDB: Cannot create ./ib_logfile101" was occured. Storage was zeroed and, after restart with "20Graw" server start fails with error: " [ERROR] InnoDB: space header page consists of zero bytes in data file /dev/sdc2".

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

              When i've apply a patch and rebuild from source

              Which patch are you trying to apply?

              Show
              elenst Elena Stepanova added a comment - When i've apply a patch and rebuild from source Which patch are you trying to apply?
              Hide
              dmitriizolotov Dmitrii Zolotov added a comment -

              Patch in os_file_get_status (link: http://bugs.mysql.com/bug.php?id=68860).
              Without this patch, server fails to start (either with 'raw' and 'newraw' in data_path) and causes error '/dev/sdc2 is not a regular file'

              Show
              dmitriizolotov Dmitrii Zolotov added a comment - Patch in os_file_get_status (link: http://bugs.mysql.com/bug.php?id=68860 ). Without this patch, server fails to start (either with 'raw' and 'newraw' in data_path) and causes error '/dev/sdc2 is not a regular file'
              Hide
              elenst Elena Stepanova added a comment -

              As you can see from http://bugs.mysql.com/bug.php?id=68860 (and it had already been explained in MDEV-6029), http://bugs.mysql.com/bug.php?id=68860 is not a bug, so naturally the patch proposed there is not a fix for anything.

              The actual bug is http://bugs.mysql.com/bug.php?id=69424 which was fixed in InnoDB 5.6.16, the fix should be merged into 10.0 with the next InnoDB merge (see MDEV-6057).

              Show
              elenst Elena Stepanova added a comment - As you can see from http://bugs.mysql.com/bug.php?id=68860 (and it had already been explained in MDEV-6029 ), http://bugs.mysql.com/bug.php?id=68860 is not a bug, so naturally the patch proposed there is not a fix for anything. The actual bug is http://bugs.mysql.com/bug.php?id=69424 which was fixed in InnoDB 5.6.16, the fix should be merged into 10.0 with the next InnoDB merge (see MDEV-6057 ).
              Hide
              elenst Elena Stepanova added a comment -

              Closing as a duplicate of http://bugs.mysql.com/bug.php?id=69424 / MDEV-6057. If you disagree it's the same issue, please comment to re-open.

              Show
              elenst Elena Stepanova added a comment - Closing as a duplicate of http://bugs.mysql.com/bug.php?id=69424 / MDEV-6057 . If you disagree it's the same issue, please comment to re-open.

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  dmitriizolotov Dmitrii Zolotov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: