[CentOS] 2 TB limit on a samba share

Fri Nov 6 15:10:23 UTC 2009
Monty Shinn <montys at videopost.com>

On 11/06/2009 09:04 AM, Steve Campbell wrote:
> I'm running a server with Centos 3 that I have set up a smbfs share to a 
> Buffalo LinkStation. The LS has 4 drives configured with RAID 5. Each 
> disk has 1 TB capacity, so the resulting drive is approximately 2.7 TB.
>
> When doing a df, the result shows 2 TB, and no used blocks. Is there 
> some setting I can change so that Centos sees and uses all 2.7 TB or 
> does Centos 3 not support this?
>
> Steve Campbell
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   

Setting the blocksize did the trick for me.

block size = 4096

This goes in the "services" section, not global.

i.e.:

[xx-01]
        comment = xx-01
        path = /data-store
        valid users = xx
        read only = No
        block size = 4096

Hope this helps.

Monty