Re: [netatalk-admins] Netatalk and volume size calculations...


Subject: Re: [netatalk-admins] Netatalk and volume size calculations...
From: Webmaster (web@typeline.com)
Date: Tue Mar 10 1998 - 21:50:18 EST


Today I started from scratch with Netatalk and decided to apply the asun patch that

does AFP using TCP. Since support for larger volume sizes was added in this patch
I figured it would be worth a try. I applied the patch, made a few simple
adjustments
in the Makefile and recompiled the Netatalk source without any problems. I had to
edit my netatalk.sh file to include the paths to the new binaries which this
version puts
in a separate dir (/usr/local/atalk/bin). This was a good thing because I wanted to
maintain
the previous Netatalk tree in case this incarnation didn't work.

Anyway, what followed after a full reboot was rather interesting. From a Mac
running system 8
I was able to enter the IP of my Netatalk server and mount it's volume over IP very
easily.
I was *also* able to mount another Netatalk volume using AppleShare from the same
Mac! Cool.
Both mounted volumes didn't show the total volume size available. However, after
copying large files to both I discovered what this notion of quotas is all about;
something I gleaned from looking at some of
the Netatalk source and something that isn't at all documented.

Before copying these files I had 1.2gigs of space out of 5.3gigs available on the
Netatalk volume. As the writing of the
data to this volume progressed I noticed that the available size increased
automatically whenever the
first *quota* was about to be used up. When I saw this I went back to study the
source to see if this is
supposed to happen. Sure enough, it turns our that Netatalk has a notion of a
'soft' quota. It will expand
the volume as needed until it hits the hard limit of the physical volume. I may not
be entirely right about
this but it sure seems this way...

It would be nice to be able to define a min and max for the quota. Oh well, it
works, that's the
main thing.

Bill Studenmund wrote:

> On Tue, 10 Mar 1998, Webmaster wrote:
>
> > Before I decide to roll my sleeves up, has anyone patched the FreeBSD patched
> > version
> > of 1.4b2 with the asun patch successfully??
>
> What patches are in the "FreeBSD patched version"? 1.4b2 supported FreeBSD
> out of the box.
>
> If you're refering to the patches in the FreeBSD netatalk port, I think
> it'd be easier to apply those patches to Adrian's source. And it looks
> like most of these patches are only needed if you're running
> freebsd-current. At least as far as I could tell from the patches I just
> downloaded. :-)
>
> Take care,
>
> Bill



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:31:26 EST