[Samba] Write/Modify issues

Kristian Davies kristian.davies at gmail.com
Mon Oct 13 13:23:43 GMT 2008


I'm having problems with one share.  It's mounting a directory on an
isilon over NFS.  I've re-created the setup on the same machine where
the data is and that works fine, it's just the existing share gives
trouble.

I can create a file, but not rename and sometimes not delete.  Also
saving file from say photoshop result in two empty files being created
one with the proper filename and another with a temp one, then error
with "the file is write protected/disk full".

Below is a log file snippet with "fill_share_mode_lock failed", could
that be an indicator?

I'm using 3.2.4, and I tried 3.0.32.  Our old/current setup works
fine.... 3.0.20.

Cheers,
Kristian

smb.conf

[global]
unix charset = LOCALE
workgroup = ABC
realm = AD.ABC.LOCAL
password server = *
netbios name = samba
server string = SAMBA
security = ADS
encrypt passwords = yes
preferred master = no
local master = no
os level = 33
log level = 10
syslog = 1
log file = /var/log/samba/%m
max log size = 55555dap ssl = no
idmap uid = 950-20000
idmap gid = 600-20000
template shell = /bin/bash
winbind separator = +
winbind use default domain = Yes
socket options = TCP_NODELAY
logon home = \\samba\%U

[share]
        read only = No
        create mask = 0664
        directory mask = 0775
        blocking locks = No
        locking = No
        oplocks = No
        level2 oplocks = No
        posix locking = No
        strict locking = No
        case sensitive = yes

<SNIP>
[2008/10/13 13:35:28,  5] smbd/filename.c:unix_convert(149)
  unix_convert called on file "art_dept/allRender/New Text Document.txt"
[2008/10/13 13:35:28,  5] smbd/filename.c:unix_convert(290)
  conversion finished art_dept/allRender/New Text Document.txt ->
art_dept/allRender/New Text Document.txt
[2008/10/13 13:35:28,  5] smbd/trans2.c:call_trans2findfirst(2007)
  dir=art_dept/allRender, mask = New Text Document.txt
[2008/10/13 13:35:28,  5] smbd/dir.c:dptr_create(402)
  dptr_create dir=art_dept/allRender
[2008/10/13 13:35:28,  3] smbd/dir.c:dptr_create(520)
  creating new dirptr 256 for path art_dept/allRender, expect_close = 1
[2008/10/13 13:35:28,  4] smbd/trans2.c:call_trans2findfirst(2074)
  dptr_num is 256, wcard = New Text Document.txt, attr = 22
[2008/10/13 13:35:28,  8] smbd/trans2.c:call_trans2findfirst(2079)
  dirpath=<art_dept/allRender> dontdescend=<>
[2008/10/13 13:35:28,  8] smbd/trans2.c:get_lanman2_dir_entry(1312)
  get_lanman2_dir_entry:readdir on dirptr 0x861cd10 now at offset -1
[2008/10/13 13:35:28,  8] smbd/dosmode.c:dos_mode(354)
  dos_mode: art_dept/allRender/New Text Document.txt
[2008/10/13 13:35:28,  8] smbd/dosmode.c:dos_mode_from_sbuf(170)
  dos_mode_from_sbuf returning
[2008/10/13 13:35:28,  8] smbd/dosmode.c:dos_mode(394)
  dos_mode returning
[2008/10/13 13:35:28,  3] locking/locking.c:fetch_share_mode_unlocked(857)
  fill_share_mode_lock failed
[2008/10/13 13:35:28,  5] smbd/trans2.c:get_lanman2_dir_entry(1443)
  get_lanman2_dir_entry: found art_dept/allRender/New Text
Document.txt fname=New Text Document.txt
[2008/10/13 13:35:28, 10] smbd/trans2.c:get_lanman2_dir_entry(1592)
  get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2008/10/13 13:35:28, 10] smbd/mangle_hash2.c:hash2_name_to_8_3(609)
  hash2_name_to_8_3: New Text Document.txt -> 124541D5 -> N52HZ2~T.TXT (cache=1)
[2008/10/13 13:35:28,  5] smbd/trans2.c:call_trans2findfirst(2135)
  call_trans2findfirst - (2) closing dptr_num 256
[2008/10/13 13:35:28,  4] smbd/dir.c:dptr_close_internal(251)
  closing dptr key 256
[2008/10/13 13:35:28,  9] smbd/trans2.c:send_trans2_replies(833)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 136,
useable_space = 131010
[2008/10/13 13:35:28,  9] smbd/trans2.c:send_trans2_replies(835)
  t2_rep: params_to_send = 10, data_to_send = 136, paramsize = 10,
datasize = 136
[2008/10/13 13:35:28,  5] lib/util.c:show_msg(642)

<SNIP>


More information about the samba mailing list