[OpenAFS] NFS transport, can't get it to work
Lönroth Erik
erik.lonroth@scania.com
Tue, 5 Aug 2008 17:18:05 +0200
This is a multi-part message in MIME format.
------_=_NextPart_001_01C8F70E.7554A23A
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I'm trying to setup a NFS gateway and I keep failing:
=20
I'm a complete beginner on this, but trying to learn. I tried to follow =
the guides, but couldnt quite get it to work.
=20
=20
klog <myadmin>
fs exportafs -start on -convert on -type nfs
Sorry, the nfs-exporter type is currently not supported on this AFS =
client
=20
=20
* I have a working AFS cell.
=20
* I have a working NFS server - that is also a AFS client.
=20
* The NFS "/etc/export" contains:
=20
/export/scratch *(rw,async)
/afs *(rw,async)
=20
* On the NFS server the /etc/sysconfig/openafs (with the afsd =
arguments) contains:
=20
# cat /etc/sysconfig/openafs
# OpenAFS Client Configuration
AFSD_ARGS=3D"-dynroot -fakestat -rmtsys"
=20
# OpenAFS Server Configuration
BOSSERVER_ARGS=3D
After exportfs, restarting afs, etc. I still get this message.
=20
Do I need some specific kernel module to get this to work (the =
documentation is a bit unclear on this) or what am I doing wrong?
=20
=20
$ uname -a
Linux myhost 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 =
x86_64 x86_64 GNU/Linux=20
=20
$ rpm -qa
openafs-kernel-smp-1.4.4-2.6.9_55.ELsmp_2
openafs-1.4.2-1.1
Any help apprechiated.
------_=_NextPart_001_01C8F70E.7554A23A
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.3790.3123" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>I'm =
trying to setup=20
a NFS gateway and I keep failing:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>I'm a =
complete=20
beginner on this, but trying to learn. I tried to follow the guides, but =
couldnt=20
quite get it to work.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>klog=20
<myadmin></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>fs =
exportafs =20
-start on -convert on -type nfs<BR>Sorry, the nfs-exporter type is =
currently not=20
supported on this AFS client</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>* I =
have a working=20
AFS cell.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>* I =
have a working=20
NFS server - that is also a AFS client.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>* The =
NFS=20
"/etc/export" contains:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D608530515-05082008>/export/scratch=20
*(rw,async)<BR>/afs *(rw,async)<BR></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>* On =
the NFS server=20
the /etc/sysconfig/openafs (with the afsd arguments)=20
contains:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008># cat=20
/etc/sysconfig/openafs<BR># OpenAFS Client =
Configuration<BR>AFSD_ARGS=3D"-dynroot=20
-fakestat -rmtsys"</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008># =
OpenAFS Server=20
Configuration<BR>BOSSERVER_ARGS=3D<BR></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>After =
exportfs,=20
restarting afs, etc. I still get this message.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>Do I =
need some=20
specific kernel module to get this to work (the documentation is a =
bit=20
unclear on this) or what am I doing wrong?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D608530515-05082008>$ uname=20
-a</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D608530515-05082008>Linux myhost=20
2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64=20
GNU/Linux </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D608530515-05082008>$ rpm=20
-qa</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D608530515-05082008>openafs-kernel-smp-1.4.4-2.6.9_55.ELsmp_2<BR>o=
penafs-1.4.2-1.1<BR></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D608530515-05082008>Any =
help=20
apprechiated.</DIV></SPAN></FONT></BODY></HTML>
------_=_NextPart_001_01C8F70E.7554A23A--