[Cialug] Samba Share Size

Dave Weis djweis at internetsolver.com
Sun Mar 23 20:15:09 CDT 2008


Look into the dfree command parameter, I think it was originally 
intended for reporting available space under quota but could probably be 
misused into what you want to do.

Jonathan C. Bailey wrote:
> I was afraid to hear that.. I can't repartition the machine that the share is going to. We're moving this particular share from an NT4 machine that is being decommissioned (it has it's own partition now) to a Samba machine. Oh well.. Performance shouldn't be too much of an issue since there is only about 10 users of the application. Also, the application has been replaced, but we have to keep it around for history.
> 
> -Jon
> 
> 
> ----- Original Message -----
> From: "Jeffrey Ollie" <jeff at ocjtech.us>
> To: "Central Iowa Linux Users Group" <cialug at cialug.org>
> Sent: Sunday, March 23, 2008 5:56:22 PM GMT -06:00 US/Canada Central
> Subject: Re: [Cialug] Samba Share Size
> 
> On Sun, Mar 23, 2008 at 5:28 PM, Jonathan C. Bailey
> <jbailey at co.marshall.ia.us> wrote:
>> Anyone know of a way to "artificially" limit the disk size/max size of a share? I've got an old DOS program that seems to corrupt files if it's on a drive larger than 2gb. I figure if all else fails, I'll create a 2gb file and mount it as loopback.
> 
> If you were using LVM it'd be pretty easy to create a 2GB partittion
> and export that.  Otherwise mounting a 2GB fille on a loopback should
> work, although it may be a bit slower than exporting a native
> partition.



More information about the Cialug mailing list