Re: [Ocfs2-users] MySQL fails with tablespace on OCFS2

2009-10-01 Thread Peter P GMX
Hello Sunil, thanks for the hints about xattr and security. It is solved now. The reason was, that apparmor was running with a restricted mysqld profile. /etc/apparmor.d/usr.sbin.mysqld For those who read the mailing list: $ apparmor_status apparmor module is loaded. 1 profile

Re: [Ocfs2-users] MySQL fails with tablespace on OCFS2

2009-09-30 Thread Sunil Mushran
You can try trapping the error in the fs. Do: # debugfs.ocfs2 -l NAMEI ENTRY on # mysqld --safe-node # debugfs.ocfs2 -l NAMEI off ENTRY deny /var/log/messages will have the logs. Peter P GMX wrote: > I have set up an cluster with ocfs2 on top of drbd in primary/primary mode. > As long as the da

[Ocfs2-users] MySQL fails with tablespace on OCFS2

2009-09-30 Thread Peter P GMX
I have set up an cluster with ocfs2 on top of drbd in primary/primary mode. As long as the datadir is in /var/lib/mysql, everything works fine. But as soon as I put the datadir on the ocfs2 filesystem /mnt/data/mysql mysql fails with: [Ubuntu] r...@fs2:/etc# mysqld --safe-mode 090930 18:08:14