Shared mmap is not supported, we had some discussions on that, but it is just not there yet. This also affects bdb files.
Gruss Bernd -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nuno Fernandes Sent: Wednesday, May 16, 2007 5:17 PM To: [email protected] Subject: [Ocfs2-users] MMAP shared in OCFS2 filesystem 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 SEEBURGER AG Headquarters: Edisonstraße 1 D-75015 Bretten Tel.: 0 72 52/96-0 Fax: 0 72 52/96-2222 Internet: http://www.seeburger.de e-mail: [EMAIL PROTECTED] Vorstand: Bernd Seeburger, Axel Haas, Michael Kleeberg Vorsitzender des Aufsichtsrats: Dr. Franz Scherer Handelsregister: HRB 240708 Mannheim _______________________________________________ Ocfs2-users mailing list [email protected] http://oss.oracle.com/mailman/listinfo/ocfs2-users
