[Samba] Problem with Share Size
Antoine Rocher
antoine.rocher at musiwave.com
Fri Feb 16 14:00:56 GMT 2007
Hi all,
I have a problem with samba : I can create files, but can't create directories.
The server has many shares, on seperated disks.
We consider two of them : one 2Tb share and one share with more than 7Tb.
Samba configuration is good, and works on many other servers, and on this one except for the large share. Permissions are correctly setted up too.
I can read/write files and directories on the first one, on the 2Tb one.
I can read/write files, and read directories on the large one, but can't write directories.
I get theses messages on the log (with level = 5) :
[2007/02/12 11:13:47, 3] smbd/process.c:switch_message(914)
switch message SMBntcreateX (pid 16684) conn 0x83f6d20
[2007/02/12 11:13:47, 4] smbd/uid.c:change_to_user(176)
change_to_user: Skipping user change - already user
[2007/02/12 11:13:47, 5] smbd/filename.c:unix_convert(108)
unix_convert called on file "ctrl1/volc1/Nouveau dossier (2)"
[2007/02/12 11:13:47, 5] smbd/filename.c:unix_convert(185)
unix_convert begin: name = ctrl1/volc1/Nouveau dossier (2), dirpath = ctrl1/volc1, start = Nouveau dossier (2)
[2007/02/12 11:13:47, 5] smbd/filename.c:unix_convert(335)
New file Nouveau dossier (2)
[2007/02/12 11:13:47, 5] smbd/msdfs.c:is_msdfs_link(269)
is_msdfs_link: ctrl1/volc1/Nouveau dossier (2) does not exist.
[2007/02/12 11:13:47, 3] smbd/msdfs.c:dfs_redirect(435)
dfs_redirect: Not redirecting srv-storage-6.mwprod.local/store/ctrl1/volc1/Nouveau dossier (2).
[2007/02/12 11:13:47, 3] smbd/msdfs.c:dfs_redirect(439)
dfs_redirect: Path converted to non-dfs path ctrl1/volc1/Nouveau dossier (2)
[2007/02/12 11:13:47, 5] smbd/filename.c:unix_convert(108)
unix_convert called on file "ctrl1/volc1/Nouveau dossier (2)"
[2007/02/12 11:13:47, 5] smbd/filename.c:unix_convert(185)
unix_convert begin: name = ctrl1/volc1/Nouveau dossier (2), dirpath = ctrl1/volc1, start = Nouveau dossier (2)
[2007/02/12 11:13:47, 5] smbd/filename.c:unix_convert(335)
New file Nouveau dossier (2)
[2007/02/12 11:13:47, 5] smbd/open.c:open_directory(1866)
open_directory: opening directory ctrl1/volc1/Nouveau dossier (2), access_mask = 0x100001, share_access = 0x3 create_options = 0x1, create_disposition = 0x2
[2007/02/12 11:13:47, 3] smbd/dosmode.c:unix_mode(147)
unix_mode(ctrl1/volc1/Nouveau dossier (2)) returning 0775
[2007/02/12 11:13:47, 2] smbd/open.c:open_directory(1936)
open_directory: unable to create ctrl1/volc1/Nouveau dossier (2). Error was Aucun espace disponible sur le périphérique
[2007/02/12 11:13:47, 3] smbd/error.c:unix_error_packet(90)
unix_error_packet: error string = Aucun espace disponible sur le périphérique
[2007/02/12 11:13:47, 3] smbd/error.c:error_packet(146)
error packet at smbd/trans2.c(2682) cmd=162 (SMBntcreateX) NT_STATUS_DISK_FULL
It returns me an error saying my disk is full, but it's an empty one !
And I can create files and filled them with data without a such error.
(I also try with 777 rights permissions on root directory where I want to create a new one, with and without the sticky bit).
As directory creation and write works on other shares with same config, I don't understand why I can't on this one ...
It should be a samba's limitation on the share size I think.
Is samba limited in share's size ? Is there a way to solve this issue, a way to share my 7To ? I heard about CIFS with Samba, but I don't find any documents explaining how to use CIFS with Samba instead of SMBFS.
Thanks for your answers.
Antoine ROCHER
More information about the samba
mailing list