[MDEV-6136] RAW storage can't be accessed / initalized Created: 2014-04-19  Updated: 2021-10-26  Resolved: 2014-04-20

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.10
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Dmitrii Zolotov Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Debian 7 AMD64


Issue Links:
Duplicate
duplicates MDEV-6057 Raw partitions for InnoDB seem unsupp... Closed
Relates

 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".



 Comments   
Comment by Elena Stepanova [ 2014-04-19 ]

When i've apply a patch and rebuild from source

Which patch are you trying to apply?

Comment by Dmitrii Zolotov [ 2014-04-19 ]

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'

Comment by Elena Stepanova [ 2014-04-19 ]

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).

Comment by Elena Stepanova [ 2014-04-20 ]

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.

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