Jump to content

I have a samba share sharing a folder on my linux server. Let's just call it "folderA". The operating drive on the linux box is a small drive, but the storage drives are very large. I've mounted the storage drives in the folder that's being shared (folderA/bigdriveA and folderA/bigdriveB.) I've connected to the shared folder from my windows to  machine, and that all works great. However, windows (10) still says the server only has a the capacity of the small drive (~100 GB) where as I have 2 multiple TB drives mounted in that folder. When I transfer files to the share, it doesn't change the capacity in windows (Still says I have ~100 GB, even if I transfer 50 GB). Now, this wouldn't typically be a problem, unless I'm transferring very large files or LOTS of files, which is what I'm doing today. 

 

How do I do this correctly? Should I change the samba share around somehow. I'm a newb when it comes to samba shares... I basically just set it up and never touch it until it fails. So I've touched it... maybe 3 times in my life...

 

The samba config is almost standard. I pretty much just put myself on the allowed users list, then started it up. By default it shares my home folder, which is what it's doing.

Link to post
Share on other sites

Have the root of your samba share correspond to the root directory of your mounted drive. 

 

It will report the 'correct' disk space then. 

 

For example, create 2 shares, e: "bigdriveA" and "bigdriveB".   and mount them, ie: folderA/bigDriveA, folderA/bigdriveB.

 

It works correctly on my Samba server.  You're going to need to deviate from the 'defaults' to get it working properly.

Link to post
Share on other sites

7 minutes ago, Mark77 said:

Have the root of your samba share correspond to the root directory of your mounted drive. 

 

It will report the 'correct' disk space then. 

 

For example, create 2 shares, e: "bigdriveA" and "bigdriveB".   and mount them, ie: folderA/bigDriveA, folderA/bigdriveB.

 

It works correctly on my Samba server.  You're going to need to deviate from the 'defaults' to get it working properly.

Gotcha, this is what I was doing currently anyway, hoping it'd work. 

Link to post
Share on other sites

16 minutes ago, Mark77 said:

Have the root of your samba share correspond to the root directory of your mounted drive. 

 

It will report the 'correct' disk space then. 

 

For example, create 2 shares, e: "bigdriveA" and "bigdriveB".   and mount them, ie: folderA/bigDriveA, folderA/bigdriveB.

 

It works correctly on my Samba server.  You're going to need to deviate from the 'defaults' to get it working properly.

Apologies for the double post. This works... ok. Windows still doesn't know how to represent the capacity (it actually just doesn't show ANY capacity). The bar is there, but it doesn't have the "### TB free of ### TB" writing that is usually below the bar. But, I can transfer lots of data with no problems. (450 GB going currently.)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×