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