Yes, shared writeable mmap is not yet supported on ocfs2.
We are close to nailing down this feature. Hopefully will make
it in time for the next mainline kernel check-in window (2.6.23).
If so, will be available with ocfs2 1.4.

Nuno Fernandes wrote:
Hi,

My homedir is inside an ocfs2. When i use mysql client it should create a .mysql_history file with the commands i've inputted so far.

The file is created but no data is recorded inside. If i do a simlink outside ocfs everything is ok..

I've narrowed it down to the following code:

...
open("/home/rv/.mysql_history", O_RDWR|O_CREAT|O_TRUNC, 0600) = 3
ftruncate(3, 13)                        = 0
mmap(NULL, 13, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = -1 EINVAL (Invalid argument)
close(3)                                = 0
write(1, "Bye\n", 4Bye
)                    = 4
exit_group(0)                           = ?
Process 10776 detached

I'm using 2.6.9-48.ELxenU with ocfs2-tools-1.2.4-1 and ocfs2-2.6.9-48.ELxen-1.2.5-0.local.

Any info on this?
Thanks
Nuno Fernandes

_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users


_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to