[Ocfs2-users] MMAP shared in OCFS2 filesystem

Nuno Fernandes npf-mlists at eurotux.com
Wed May 16 08:16:39 PDT 2007


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



More information about the Ocfs2-users mailing list