<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Quoting Saulo Soares de Toledo (<a href="mailto:saulotoledo@gmail.com">saulotoledo@gmail.com</a>):<br>
> Source: samba<br>
> Version: 3.6.6<br>
> Severity: important<br>
><br>
> I'm using Samba 3.6.6 at Debian Wheezy and there are 2 problems happening at<br>
> my shares:<br>
><br>
> 1) Some files can't be removed<br>
> 2) The error reported at <a href="https://bugzilla.samba.org/show_bug.cgi?id=9051" target="_blank">https://bugzilla.samba.org/show_bug.cgi?id=9051</a><br>
<br>
</div>I don't see anythign related to upstream bug #9051</blockquote><div><br></div><div>Both appeared at same time, and the logs at level 5 shows the same error when the problems occurs:</div><div>[2012/07/25 20:42:06.251977, 0] lib/sysquotas.c:405(sys_get_quota)<br>
sys_path_to_bdev() failed for path [.]!</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Level 10 log is much better. And we would probably need much more</div>
information such as the settings of this share, the underlying<br>
filesystem, the permissions on files where you have problems, etc.<br></blockquote><div><br></div><div>The permissions at the files with ant without problems are the same, where "arquivos:arquivos" is the user/group forced at samba with "force user". An example:</div>
<div><br></div><div><div># ls Home_alterado7.psd -l</div><div>-rwxrw---- 1 arquivos arquivos 92238357 Jul 26 09:05 Home_alterado7.psd</div></div><div><br></div><div>There is no special attributes at files:</div><div><div>
# lsattr Home_alterado7.psd </div><div>---------------- Home_alterado7.psd</div></div><div><br></div><div>And I have no ACL support in my ext3 system. At /etc/fstab:</div><div><div>/dev/md1 /home ext3 defaults 0 2</div>
</div><div><br></div><div>Then, there are some error while Samba try control the lockings.</div><div><br></div><div>The smb.conf is the same attached at bugzilla:</div><div><a href="https://bugzilla.samba.org/attachment.cgi?id=7710">https://bugzilla.samba.org/attachment.cgi?id=7710</a></div>
<div><br></div><div>Aditionally, I have tested at shares:</div><div><br></div><div> oplocks = False</div><div> level2 oplocks = False</div><div># share modes = no</div><div># locking = no</div><div>
strict locking = no</div><div> blocking locks = no</div><div><br></div><div>Samba manual told us force user + oplocks enabled is a problem, then I have deactivated it (See "Beware of Force User" at <a href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/locking.html">www.samba.org/samba/docs/man/Samba-HOWTO-Collection/locking.html</a> )</div>
<div>"share modes = no" is deprecated and do not worked while activated. The lockings are with "no", but the error still...</div><div><br></div><div>"locking = no" worked, but some large files are being corrupted, and this problem is worse than the deny.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is definitely not an option, I'm afraid. Quota support *is*<br>
expected from our users.<br></blockquote><div><br></div><div>How we can remove that erros from samba with quota enabled?</div><div> </div></div><br>