samba长期困惑,smb硬盘空间足够,但是往上拷文件提示容量不足

559 views
Skip to first unread message

李扬

unread,
Aug 30, 2014, 9:06:12 AM8/30/14
to sh...@googlegroups.com
环境:root@cebian:~# uname -a
Linux cebian 3.4.90-ge37d760-dirty #4 PREEMPT Sat Jun 21 21:07:04 CST 2014 armv7l GNU/Linux
root@cebian:~# smbd -V
Version 4.1.11-Debian
root@cebian:~# mount
/dev/sdb on /media/uhd4-80G type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks)

/media/uhd4-80G是共享出来的硬盘,现在从win(explorer)或者mac(finder)往共享硬盘上拷文件夹,总拷贝量大于2G,单个文件都是几十到几百兆,就会提示空间不够,实际剩余空间远大于2G。要用total-commander或者disk-order这样的工具来进行文件夹拷贝才行。当然如果文件夹本身只有1G或更少,也是能成功的。

网上搜了下,有的说是win的bug,但是不会mac跟着一起bug吧。肯定不是quota的问题,根本就没设。


依云

unread,
Aug 31, 2014, 2:09:10 AM8/31/14
to sh...@googlegroups.com
看起来像是 32 位整型的 bug 啊。而且你用 TotalCommander 能拷贝成功,那个
samba 没问题。

--
Best regards,
lilydjwg

李扬

unread,
Sep 1, 2014, 2:37:44 AM9/1/14
to sh...@googlegroups.com
total-commander是一个个文件拷贝的。用explorer拷贝时,好像先对整个文件夹估算了下大小,然后问smb有多大空间,然后smb回复不够大,就不行了。

咋整。

在 2014年8月31日星期日UTC+8下午2时09分10秒,依云写道:

依云

unread,
Sep 1, 2014, 9:53:45 AM9/1/14
to sh...@googlegroups.com
On Sun, Aug 31, 2014 at 11:37:44PM -0700, 李扬 wrote:
> total-commander是一个个文件拷贝的。用explorer拷贝时,好像先对整个文件夹估算了下大小,然后问smb有多大空间,然后smb回复不够大,就不行了。
>
> 咋整。

那有可能是 samba 协议的问题呢。网上没有人也遇到相同的问题么?

--
Best regards,
lilydjwg

Linux Vim Python 我的博客:
http://lilydjwg.is-programmer.com/
--
A: Because it obfuscates the reading.
Q: Why is top posting so bad?

DaboD

unread,
Sep 1, 2014, 12:35:36 PM9/1/14
to sh...@googlegroups.com

Marco

unread,
Sep 1, 2014, 11:10:34 PM9/1/14
to shlug
try a reboot


--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout



--
LinuX
Violin
Canon EOS
Reply all
Reply to author
Forward
0 new messages