Allocation of space for SMB
James Peach
jpeach at sgi.com
Fri Jul 16 09:24:47 GMT 2004
On Wed, Jul 14, 2004 at 08:13:02PM +1000, Tim Potter wrote:
> 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.
One step trickier is to create a 20MB sparse file. You can use
"mkfs.xfs -d file=1" to make an XFS filesystem in it.
--
James Peach | jpeach at sgi.com | SGI Australian Software Group
I don't speak for SGI.
More information about the samba-technical
mailing list