[Samba] smb_get_length 2GB error {2}

David Sonenberg dsonenberg at strozllc.com
Wed Jul 20 20:12:27 GMT 2005


Yes you need to recompile your kernel and include cifs.  It's in the 2.6
tree by default.  If you are using 2.4 you are going to have to apply a
patch.

Alberto Grajeda Chacon wrote:

>Thank you David, but the fs type cifs is not supported by my kernel, Do I 
>have to recompile the kernel? or exist another solution?
>
>Alberto.
>
>On Wed, 20 Jul 2005, David Sonenberg wrote:
>
>  
>
>>Are you mounting the filesystem with the smbfs filesystem type?  The
>>smbfs module has a 2 Gb filesize limit.  Try using cifs filesystem instead.
>>mount -t cifs //smb_server/share /mnt/samba -o username=myuser,
>>password=mypassword
>>
>>    
>>


-- 
David Sonenberg
Systems / Network Administrator
Stroz Friedberg, LLC
15 Maiden Lane
15th Floor
New York, NY 10038
Tel 212.981.6527
Fax 917.495.4918

This message is for the named person's use only.  It may contain
confidential, proprietary or legally privileged information. No right to
confidential or privileged treatment of this message is waived or lost
by any error in transmission.  If you have received this message in
error, please immediately notify the sender by e-mail or by telephone at
212.981.6540, delete the message and all copies from your system and
destroy any hard copies.  You must not, directly or indirectly, use,
disclose, distribute, print or copy any part of this message if you are
not the intended recipient.




More information about the samba mailing list