Fwd: [OpenAFS] AFS client installation on Motorolla MVME6100 PowerPC

Konstantin Boyanov kkboyanov@gmail.com
Thu, 11 Aug 2005 11:35:52 +0200


------=_Part_381_5243424.1123752952845
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi again,

Well the file system on which the cacher directory is mounted is of ext2=20
type. Here's what I get from # cat /etc/fstab:

/dev/sda2 / ext2 defaults 1 1
/dev/sda4 /usr ext2 defaults 1 2
/dev/sda3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy ext2 noauto 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
none /proc proc defaults 0 0
none /dev/pts devpts mode=3D0622 0 0

And I better not mess around with the memory, I still don't know how many=
=20
users (average) there will be working on that machine, so I prefer to leave=
=20
all the memoty available for user processes.
Here's all the files i got in the /usr/vice/etc. I think there is nothing I=
=20
missed:
-rw------- 1 root root 0 Aug 10 07:21 AFSLog
drwxr-sr-x 2 root 1002 4096 Aug 10 02:07 C
-rwxr-xr-x 1 root root 6406 Aug 10 04:51 CellServDB
-rw-r--r-- 1 root root 6725 Aug 11 00:25 Makefile
-rw-r--r-- 1 root root 7671 Aug 11 00:25 Makefile.common
-rwxr-xr-x 1 root root 7 Aug 10 04:52 ThisCell
-rw-r--r-- 1 root 1002 1881 Aug 11 01:03 afs.conf
-rwxr-xr-x 1 root 1002 7399 Aug 1 2002 afs.rc
-rwxr-xr-x 1 root 1002 153836 Aug 10 01:56 afsd
-rwxr-xr-x 1 root root 27 Aug 11 00:48 cacheinfo
drwxr-sr-x 2 root 1002 4096 Aug 10 02:07 config
drwxr-sr-x 2 root 1002 4096 Aug 11 00:27 modload

I copied the files ThisCell CellServDB and cacheinfo from the /usr/vice/etc=
=20
directory of a machine on which the AFS client is running propperly. But=20
nevetheless the afsd daemons still doen's start.=20
I wonder why the afsd daemon tries to allocate memory for the cache (isn't=
=20
malloc() used only for allocating memory blocks?) while the cache is=20
determined to be in a local directory? And is there any special commands=20
with which to determine the /usr/vice/cache directory as teh cache=20
directory?
Well, I hope someone got an idea how to manage this problem.

------=_Part_381_5243424.1123752952845
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<span class=3D"gmail_quote"></span>Hi again,<br>
<br>
Well the file system on which the cacher directory is mounted is of ext2 ty=
pe. Here's what I get from # cat /etc/fstab:<br>
<br>
/dev/sda2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;
/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ext2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 1<br>
/dev/sda4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;
/usr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ext2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 2<br>
/dev/sda3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;
swap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;
swap&nbsp;&nbsp;&nbsp;&nbsp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p;&nbsp;
devpts &nbsp;&nbsp; mode=3D0622&nbsp;&nbsp;&nbsp; 0 0<br>
<br>
And I better not mess around with the memory, I still don't know how
many users (average) there will be working on that machine, so I prefer
to leave all the memoty available for user processes.<br>
Here's all the files i got in the /usr/vice/etc. I think there is nothing I=
 missed:<br>
-rw-------&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0 Aug 10 07:21 AFSLog<br>
drwxr-sr-x&nbsp;&nbsp;&nbsp; 2 root&nbsp;&nbsp;&nbsp;&nbsp;
1002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Aug 10 02:07 C<br=
>
-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6406 Aug 10 04:51
CellServDB<br>
-rw-r--r--&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6725 Aug 11 00:25
Makefile<br>
-rw-r--r--&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7671 Aug 11 00:25
Makefile.common<br>
-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
7 Aug 10 04:52 ThisCell<br>
-rw-r--r--&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
1002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1881 Aug 11 01:03
afs.conf<br>
-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
1002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7399 Aug&nbsp;
1&nbsp; 2002 afs.rc<br>
-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; 1002&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; 153836 Aug 10 01:56 afsd<br>
-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 27 Aug
11 00:48 cacheinfo<br>
drwxr-sr-x&nbsp;&nbsp;&nbsp; 2 root&nbsp;&nbsp;&nbsp;&nbsp;
1002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Aug 10 02:07
config<br>
drwxr-sr-x&nbsp;&nbsp;&nbsp; 2 root&nbsp;&nbsp;&nbsp;&nbsp;
1002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 Aug 11 00:27
modload<br>
<br>
I copied the files ThisCell CellServDB and cacheinfo from the
/usr/vice/etc directory of a machine on which the AFS client is running
propperly. But nevetheless the afsd daemons still doen's start. <br>
I wonder why the afsd daemon tries to allocate memory for the cache
(isn't malloc() used only for allocating memory blocks?) while the
cache is determined to be in a local directory? And is there any
special commands with which to determine the /usr/vice/cache directory
as teh cache directory?<br>
Well, I hope someone got an idea how to manage this problem.<br>

------=_Part_381_5243424.1123752952845--