Allocation of space for SMB

Tim Potter tpot at samba.org
Wed Jul 14 10:13:02 GMT 2004


On Wed, Jul 14, 2004 at 06:07:16PM +1000, Andrew Bartlett wrote:

> > > I'd like to find out if I can allocate a certain amount of space for a
> > > shared folder for Samba. For instance folder 'A' can only store 20MB
> > > and folder 'B' can only store 5MB. Is there any way I can do this?
> > > 
> > > Thanks in advance you guys
> > 
> > Write your own VFS module that do that.
> 
> Or use operating system level partitions, quotas etc.

Another neat trick is to create a 20MB file and create a loopback
filesystem on it so you don't have to repartition your disk.

Using user or group quotas might be the easiest way though.


Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20040714/cf5c6dcf/attachment.bin


More information about the samba-technical mailing list