<HTML>
<HEAD>
<TITLE>Re: [Lustre-discuss] lustre+samba</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
Tamas,<BR>
<BR>
I’ve had issues with software that used POSIX file locking calls with Lustre 1.6 ... the same thing worked on Lustre 1.4, but I suspect it just failed transparently and didn’t actually involve any recording locking. Never saw it panic anything, though, but I know that 1.6 doesn’t support locking (yet).<BR>
<BR>
Klaus<BR>
<BR>
On 1/31/08 2:10 AM, "Papp Tamas" <tompos@martos.bme.hu>did etch on stone tablets:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Dear All,<BR>
<BR>
I try to use our cluster though samba share. Everything work fine, but<BR>
I think, we should have -o flock at lustre mount time.<BR>
<BR>
Great, it's work. But when I want to save a file on the share, I get<BR>
this on the logs:<BR>
<BR>
Jan 31 10:45:24 opteron-ren-11 kernel: LustreError: 24836:0:(file.c:2309:ll_file_flock()) unknown fcntl lock type: 32<BR>
Jan 31 10:45:24 opteron-ren-11 kernel: LustreError: 24836:0:(file.c:2310:ll_file_flock()) LBUG<BR>
Jan 31 10:45:24 opteron-ren-11 kernel: Lustre: 24836:0:(linux-debug.c:171:libcfs_debug_dumpstack()) can't show stack: kernel doesn't export show_task<BR>
Jan 31 10:45:24 opteron-ren-11 kernel:<BR>
Jan 31 10:45:24 opteron-ren-11 kernel: Call Trace:<BR>
Jan 31 10:45:24 opteron-ren-11 kernel:  [<ffffffff8857ad0a>] :libcfs:lbug_with_loc+0x7a/0xc0<BR>
Jan 31 10:45:24 opteron-ren-11 kernel:  [<ffffffff887c2a65>] :lustre:ll_file_flock+0x295/0x550<BR>
Jan 31 10:45:24 opteron-ren-11 kernel:  [<ffffffff8025fa48>] do_page_fault+0x476/0x7b5<BR>
Jan 31 10:45:24 opteron-ren-11 kernel:  [<ffffffff8868fba0>] :ptlrpc:ldlm_flock_completion_ast+0x0/0x690<BR>
Jan 31 10:45:24 opteron-ren-11 kernel:  [<ffffffff802ac2ff>] audit_syscall_entry+0x141/0x174<BR>
Jan 31 10:45:24 opteron-ren-11 kernel:  [<ffffffff802d39d6>] sys_flock+0x117/0x150<BR>
Jan 31 10:45:24 opteron-ren-11 kernel:  [<ffffffff8025729c>] tracesys+0xdc/0xe1<BR>
Jan 31 10:45:24 opteron-ren-11 kernel:<BR>
Jan 31 10:45:24 opteron-ren-11 kernel: LustreError: dumping log to /tmp/lustre-log.1201772724.24836<BR>
<BR>
<BR>
I attached the lustre-log.<BR>
<BR>
What could cause this problem? The reason, I wanted to use flock is<BR>
there are some softwares, which  cannot save files by various reasons<BR>
on the cluster share (for example MS O2K3, Project 2K7).<BR>
<BR>
But as I can see, right now doesn't matter, it is a notepad, or a<BR>
Project 2K7.<BR>
<BR>
<BR>
Cluster's version is 1.6.4.1 and 1.6.0.1 and I tested this with<BR>
1.6.4.1 and 1.6.2.<BR>
<BR>
<BR>
What can I do?<BR>
<BR>
<BR>
Thank you,<BR>
<BR>
tamas<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT>
</BODY>
</HTML>