[OpenAFS] AFS without caching possible?

Derek Atkins warlord@MIT.EDU
Tue, 03 Feb 2004 08:56:19 -0500


Cajus Pollmeier <c.pollmeier@gmx.net> writes:

> On Dienstag, 3. Februar 2004 12:45, Hartmut Reuter wrote:
>> We mostly use ramdisks as cache in Linux 2.4 and AIX 5.2. Did you do
>> correctly a mkfs for ext2?
>> We have this in our /etc/init.d/afs:
>>
>> /sbin/mkfs /dev/ram1 16384 >/dev/null 2>&1
>> mount /dev/ram1 /usr/vice/cache
>
> I'm using tmpfs as ramdisc on the clients, maybe the problem is that its
> size is dynamic.

No, you cannot use tmpfs as a ramdisk.  That is known not to work.
You would need to use a real ramdisk and set your "disk cache"
parameters appropriately.

> Another hint was to use the "-memcache" option, but the client still crashes...

How much physical ram do you have?  Are you sure you're making the
memcache big enough?

> Cheers,
> Cajus

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available