Kod: Markera allt
/mysql-data/mysql/ r,
/mysql-data/mysql/** rwk,
har lagt över min befintliga mysql databas på ett dataset i min zfs pool, os disken är inte rätt ställe att ha databasen på när jag har en raidz att lägga den på.
iaf vid uppstart av mysql får jag ett felmeddelande
Kod: Markera allt
root@DS380:/var/lib# service mysql start
start: Job failed to start
Kod: Markera allt
140709 14:51:56 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
140709 14:51:56 [Note] Plugin 'FEDERATED' is disabled.
140709 14:51:56 InnoDB: The InnoDB memory heap is disabled
140709 14:51:56 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140709 14:51:56 InnoDB: Compressed tables use zlib 1.2.8
140709 14:51:56 InnoDB: Using Linux native AIO
140709 14:51:56 InnoDB: Initializing buffer pool, size = 128.0M
140709 14:51:56 InnoDB: Completed initialization of buffer pool
140709 14:51:56 InnoDB: highest supported file format is Barracuda.
140709 14:51:56 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.
Kod: Markera allt
sudo rsync -av /var/lib/mysql /mysql-data/
utöver detta har jag även detta roliga apparmor fenomen..
Kod: Markera allt
Jul 9 15:07:36 DS380 kernel: [11899.956657] type=1400 audit(1404911256.303:274): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/mysqld" pid=9628 comm="apparmor_parser"