ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] NFS Server on Target


From: Stuart Hughes
Subject: Re: [Ltib] NFS Server on Target
Date: Thu, 17 Mar 2011 19:43:17 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

Hi Todd,

I don't have much time to answer, but basically you need to start nfsd
and portmap to get nfs server to work.  You should be using kernel NFS
(I think you are?).

Take a look at a Fedora/Redhat /etc/init.d/nfsd startup script to get
some ideas.

Regards, Stuart

On 17/03/11 00:59, Todd Sampson wrote:
> If I start: rpc.mountd  rpc.nfsd    rpc.statd manually and type exportfs
> -a on the server machine, I can now mount the export.
> 
> Is there a 'proper' way to start these daemons?  I can't find anything
> in ltib to 'check' to launch them automatically.
> 
> 
> On Mar 15, 2011, at 5:38 PM, address@hidden
> <mailto:address@hidden> wrote:
> 
>> I'm trying to set up an NFS server on my MPC5200 target.  I selected:
>>
>> Package List ---> nfs-utils
>> Kernel configuration
>>
>>     FileSystems ---> Network file systems
>>
>>         <*>NFS file system support
>>
>>         <*>NFS server support
>>
>>             [*]NFS server support for NFS bersion 3  (also tried 4)
>>
>>
>>
>> *What should start up any needed daemons?  Do I need to put something
>> in /etc/rc.d/init.d/?*
>>
>> These commands are available: rpc.mountd  rpc.nfsd    rpc.statd  
>> rpcdebug,  but the only daemon that comes up running is: rpciod/0.
>>
>> I put the following line in /etc/exports: 
>>
>>     /hd       195.1.1.75(rw,sync,no_subtree_check)
>>
>> I ran exportfs -ra.  It runs with no complaints.
>>
>> Running showmount gives the following:
>>
>>     address@hidden root]# showmount localhost
>>     portmap getport: RPC: Success
>>
>>
>>
>> Then from the host, I try to mount the target share like this:
>>
>>     sudo mount -t nfs 195.1.1.73:/hd /dfr
>>
>>
>> This fails.
>>
>> *I'd sure appreciate any ideas/help!*
>>
>> As always, much thanks!
>> Todd
>>
>> ltib 10.1.1 ($Revision: 1.68 $) on Ubuntu 10.04 host, MPC5200 target
>> _______________________________________________
>> LTIB home page: http://ltib.org
>>
>> Ltib mailing list
>> address@hidden <mailto:address@hidden>
>> http://lists.nongnu.org/mailman/listinfo/ltib
> 
> 
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib



reply via email to

[Prev in Thread] Current Thread [Next in Thread]