Jump to content
Sign in to follow this  
ken-ji

Ability to set max disk size reported by unRAID per SMB share

1 post in this topic Last Reply

Recommended Posts

It would be nice to be able to set this setting per disk share:

max disk size (G) 
This option allows you to put an upper limit on the apparent size of disks. If you set this option to 100 then all shares will appear to be not larger than 100 MB in size.
Note that this option does not limit the amount of data you can put on the disk. In the above case you could still store much more than 100 MB on the disk, but if a client ever asks for the amount of free disk space or the total disk size then the result will be bounded by the amount specified in max disk size.
This option is primarily useful to work around bugs in some pieces of software that can't handle very large disks, particularly disks over 1GB in size.
A max disk size of 0 means no limit.
Default: max disk size = 0  
Example: max disk size = 1000  

https://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html

 

As this will allow crazy appliances like older IP cameras with weird max disk size limits to work.

ref: http://lime-technology.com/forum/index.php?topic=45807.msg437867#msg437867

Share this post


Link to post

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
Sign in to follow this