[Cialug] Samba Share Size

Jeffrey Ollie jeff at ocjtech.us
Sun Mar 23 17:56:22 CDT 2008


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.

Jeff


More information about the Cialug mailing list