Description:
mysqld with innodb enabled fails to start against datadir located on btrfs partition
Server log is:
120505 7:40:53 [Note] Flashcache bypass: disabled
120505 7:40:53 [Note] Flashcache setup error is : open flash device failed
120505 7:40:53 [Note] Plugin 'FEDERATED' is disabled.
120505 7:40:53 InnoDB: The InnoDB memory heap is disabled
120505 7:40:53 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120505 7:40:53 InnoDB: Compressed tables use zlib 1.2.3
120505 7:40:53 InnoDB: Using Linux native AIO
120505 7:40:53 InnoDB: Initializing buffer pool, size = 32.0M
120505 7:40:53 InnoDB: Completed initialization of buffer pool
120505 7:40:53 InnoDB: highest supported file format is Barracuda.
120505 7:40:53 InnoDB: Operating system error number 22 in a file operation.
InnoDB: Error number 22 means 'Invalid argument'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html
InnoDB: File name ./ib_logfile0
InnoDB: File operation call: 'aio write'.
InnoDB: Cannot continue operation.
Server log is:
...
120505 7:40:54 [Note] Plugin 'FEDERATED' is disabled.
120505 7:40:54 InnoDB: The InnoDB memory heap is disabled
120505 7:40:54 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120505 7:40:54 InnoDB: Compressed tables use zlib 1.2.3
120505 7:40:54 InnoDB: Using Linux native AIO
120505 7:40:54 InnoDB: Initializing buffer pool, size = 32.0M
120505 7:40:54 InnoDB: Completed initialization of buffer pool
120505 7:40:54 InnoDB: highest supported file format is Barracuda.
120505 7:40:54 InnoDB: Operating system error number 22 in a file operation.
InnoDB: Error number 22 means 'Invalid argument'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html
InnoDB: File name ./ib_logfile0
InnoDB: File operation call: 'aio write'.
InnoDB: Cannot continue operation.
Looks to be old issue http://kerneltrap.org/mailarchive/linux-btrfs/2010/10/6/6885658
but searching for btrfs lead to nothing here.
How to repeat:
Start mysqld+innodb on btrfs partition