[OpenAFS] cannot mount root.cell on /afs/cellname

jasper@plainspace.com jasper@plainspace.com
Thu, 3 Oct 2002 17:40:18 +0200


Hi *,

I'm trying to install openafs-1.2.3final2-6 (debian package version) on a GNU/Linux 
debian 3.0 server with kernel 2.2.20.
With the afs-newcell script and a lot of manual configuration I managed to get the 
servers and the client running and to create root.afs and root.cell

When I try to run the afs-rootvol script it stops when it tries to fs mkmount the root.cell 

volume:

fs: File '/afs/ardiden.plainspace.com' doesn't exist

also I can't write anything to the /afs directory :

/afs# touch x
touch: creating `x': No such file or directory

My BosLog reads:

Thu Oct  3 15:34:18 2002: Server directory access is okay
Thu Oct  3 15:34:20 2002: fs:salv exited with code 0

My FileLog reads:

Thu Oct  3 15:34:21 2002 File server starting
Thu Oct  3 15:34:21 2002 afs_krb_get_lrealm failed, using ardiden.plainspace.com.
Thu Oct  3 15:34:21 2002 VL_RegisterAddrs rpc failed; will retry periodically 
(code=5376, err=4)
Thu Oct  3 15:34:22 2002 Partition /vicepa: attached 2 volumes; 0 volumes not 
attached
Thu Oct  3 15:34:22 2002 Getting FileServer name...
Thu Oct  3 15:34:22 2002 FileServer host name is 'ardiden'
Thu Oct  3 15:34:22 2002 Getting FileServer address...
Thu Oct  3 15:34:22 2002 FileServer ardiden has address 192.168.12.2 (0x20ca8c0 or 
0xc0a80c02 in host byte order)
Thu Oct  3 15:34:22 2002 File Server started Thu Oct  3 15:34:22 2002

fs examine /afs returns:

Volume status for vid = 536870948 named root.afs
Current disk quota is 5000
Current blocks used are 2
The partition has 30051 blocks available out of 30091

vos examine root.afs returns:

root.afs                          536870948 RW          2 K  On-line
    ardiden.plainspace.com /vicepa
    RWrite  536870948 ROnly          0 Backup          0
    MaxQuota       5000 K
    Creation    Thu Oct  3 12:19:53 2002
    Last Update Thu Oct  3 17:16:39 2002
    23 accesses in the past day (i.e., vnode references)

    RWrite: 536870948
    number of sites -> 1
       server ardiden.plainspace.com partition /vicepa RW Site

vos examine root.cell returns:

root.cell                         536870951 RW          2 K  On-line
    ardiden.plainspace.com /vicepa
    RWrite  536870951 ROnly          0 Backup          0
    MaxQuota       5000 K
    Creation    Thu Oct  3 12:44:25 2002
    Last Update Thu Oct  3 12:44:25 2002
    0 accesses in the past day (i.e., vnode references)

    RWrite: 536870951
    number of sites -> 1
       server ardiden.plainspace.com partition /vicepa RW Site

permissions on the /afs dir are 0775. I guess Kerberos is configured right, tokens 
returns

User's (AFS ID 1) tokens for afs@ardiden.plainspace.com [Expires Oct  4 03:15]

This server contains two ethernet-cards and I had to reconfigure the DNS server to 
return only the ardiden.plainspace.com address and internal ip address and not the 
external ip address and ISP given internethostname. Does this have to do anything 
with it?

Another thing is that loading the openafs.o kernelmodule makes the kernel complaint 
about 'tainting' the kernel. Trying to rmmod the openafs.o modules crashes the kernel. 
Should I upgrade the kernel to 2.4.x and recompile the module?

Any help would be greatly appreciated,

Jasper den Hertog