[OpenAFS] install additional AFS Client machine

Derek Atkins warlord@MIT.EDU
06 Jan 2002 11:44:56 -0500


Thanks.  You are correct that libafs is loaded properly.  This is a
good thing.  So, the next question: what do you get from:

	ls -ld /afs

-derek

Hongliang Gai <hgai@ecs.syr.edu> writes:

>  Here is what I got from lsmod before and after running AFS init script,
> *********************************************************
>  su -
>  Password: 
>  [ /root]# lsmod
>  Module                  Size  Used by
>  ide-cd                 24208   0  (autoclean)
>  nfs                    72928   2  (autoclean)
>  lockd                  44496   1  (autoclean) [nfs]
>  sunrpc                 61488   1  (autoclean) [nfs lockd]
>  autofs                  9232   2  (autoclean)
>  3c59x                  22128   1  (autoclean)
>  agpgart                18704   5 
>  i810_audio             10640   0 
>  soundcore               2608   2  [i810_audio]
>  ac97_codec              7472   0  [i810_audio]
>  usb-uhci               19024   0  (unused)
>  usbcore                42992   1  [usb-uhci]
>  [/root]# /etc/rc.d/init.d/afs start
>  Starting AFS services..... 
>  afsd: All AFS daemons started.
>  afsd: Can't mount AFS on afs(2)
>  [/root]# lsmod
>  Module                  Size  Used by
>  libafs-2.2.19-7.0.12  388912   0  (unused)
>  ide-cd                 24208   0  (autoclean)
>  nfs                    72928   2  (autoclean)
>  lockd                  44496   1  (autoclean) [nfs]
>  sunrpc                 61488   1  (autoclean) [nfs lockd]
>  autofs                  9232   2  (autoclean)
>  3c59x                  22128   1  (autoclean)
>  agpgart                18704   5 
>  i810_audio             10640   0 
>  soundcore               2608   2  [i810_audio]
>  ac97_codec              7472   0  [i810_audio]
>  usb-uhci               19024   0  (unused)
>  usbcore                42992   1  [usb-uhci]
> *******************************************************************
> 
> From the output, libafs is unused! 
> Compare this to the one which is currently running AFS server and client,
>  []#lsmod
>  Module                  Size  Used by
>  libafs-2.2.19         389936   1
>  ip_masq_ftp             3776   0
>  eepro100               16576   2 (autoclean)
> ===================================================================
> Besides, this is the installed kernel info,
>  [/root]#rpm -aq | grep kernel
>  kernel-2.2.19-7.0.12
>  kernel-utils-2.2.19-7.0.12
>  kernelcfg-0.6-9
>  kernel-2.2.19-7.0.1
>  kernel-source-2.2.19-7.0.12
>  kernel-pcmcia-cs-2.2.19-7.0.12
>  kernel-headers-2.4.0-0.26
> 
> Thanks,
> 
> Harrison
> 
> 
> 
> On 5 Jan 2002, Derek Atkins wrote:
> 
> > Ok, thanks.  I want to make sure the kernel module is loading properly.
> > 
> > -derek
> > 
> > Hongliang Gai <hgai@ecs.syr.edu> writes:
> > 
> > > Sorry, I misunderstood your question. I got it now. I haven't run
> > > /sbin/lsmod yet. I can't access the system now. I'll let you know when I
> > > can do it tomorrow.
> > > 
> > > Thanks
> > > 
> > > Harrison 
> > > 
> > > On 5 Jan 2002, Derek Atkins wrote:
> > > 
> > > > If you are not going to answer my questions, I cannot help you.
> > > > 
> > > > -derek
> > > > 
> > > > Hongliang Gai <hgai@ecs.syr.edu> writes:
> > > > 
> > > > > "Starting AFS Services..."
> > > > > 
> > > > > Harrison
> > > > > 
> > > > > On 5 Jan 2002, Derek Atkins wrote:
> > > > > 
> > > > > > After you run /etc/rc.d/init.d/afs start, what do you get from lsmod?
> > > > > > 
> > > > > > -derek
> > > > > > 
> > > > > > Hongliang Gai <hgai@ecs.syr.edu> writes:
> > > > > > 
> > > > > > > It was Ok when I ran init script tp load AFS extension into the kernel:
> > > > > > >    /etc/rc.d/init.d/afs start
> > > > > > > after reboot, I ran this script again to verify it works, and got that
> > > > > > > error message. Before this step, everything looked fine.
> > > > > > > 
> > > > > > > Harrison
> > > > > > > 
> > > > > > > On 5 Jan 2002, Derek Atkins wrote:
> > > > > > > 
> > > > > > > > What does 'lsmod' give you?
> > > > > > > > 
> > > > > > > > -derek
> > > > > > > > 
> > > > > > > > Hongliang Gai <hgai@ecs.syr.edu> writes:
> > > > > > > > 
> > > > > > > > > /afs is there. I already mkdir /afs in the local disk partition.
> > > > > > > > > 
> > > > > > > > > Harrison
> > > > > > > > > 
> > > > > > > > > On Sat, 5 Jan 2002, Chaskiel M Grundman wrote:
> > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > --On Saturday, January 05, 2002 17:06:23 -0500 Hongliang Gai 
> > > > > > > > > > <hgai@ecs.syr.edu> wrote:
> > > > > > > > > > 
> > > > > > > > > > > afsd: Can't mount AFS on afs(2)
> > > > > > > > > > Does the /afs directory exist on the client? Assuming that's really a (2), 
> > > > > > > > > > and not a (22), this error generally means that the /afs mount directory 
> > > > > > > > > > never got created. 
> > > > > > > > > > _______________________________________________
> > > > > > > > > > OpenAFS-info mailing list
> > > > > > > > > > OpenAFS-info@openafs.org
> > > > > > > > > > https://lists.openafs.org/mailman/listinfo/openafs-info
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > _______________________________________________
> > > > > > > > > OpenAFS-info mailing list
> > > > > > > > > OpenAFS-info@openafs.org
> > > > > > > > > https://lists.openafs.org/mailman/listinfo/openafs-info
> > > > > > > > 
> > > > > > > > -- 
> > > > > > > >        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
> > > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > > -- 
> > > > > >        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
> > > > > > 
> > > > > 
> > > > 
> > > > -- 
> > > >        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
> > > > 
> > > 
> > 
> > -- 
> >        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
> > 
> 

-- 
       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