[CUWiN-Dev] nfs booting cuwin-ware

Matthew Isaacs isaacsm at cuwireless.net
Mon Jan 15 11:17:10 CST 2007


Matthew Isaacs wrote:
> Matthew Isaacs wrote:
>> David Young wrote:
>>> On Sun, Jan 14, 2007 at 12:01:27AM -0600, Matthew Isaacs wrote:
>>>  
>>>> I think I may need a refresher on how to NFS boot a node.  I'm 
>>>> working on new hardware, have an NFS image.  The kernel loads and 
>>>> prompts for root device, etc.  For the root device, I enter the 
>>>> network interface (that the NFS server is accessible on).  The node 
>>>> fails to mount the NFS, however.  I checked the logs on the server, 
>>>> and it shows the connection attempt, but records that the server 
>>>> denied the node access.  I've set up the exports file according to 
>>>> the examples I've seen AND the node is able to pull the kernel 
>>>> image from NFS.
>>>>
>>>> Any ideas on whats up?
>>>>     
>>>
>>> Does the client attempt to mount using the right path?
>>>
>>> Dave
>>>
>>>   
>> yep.  Part of the problem may be related to some juggling I have to 
>> do.  The MAC address that the BIOS uses differs from the address that 
>> NetBSD reports for the interface.  So, I have to maintain 2 
>> configurations, or edit the dhcp.conf file after the kernel loads but 
>> before the OS.  It shouldn't make a difference, but I'll try manual 
>> switching the configs (I believe thats what I was doing previously 
>> when it was working).
>>
>>
> No go there either.  On the client I get a "mountd 
> '10.2.3.1:/exports/rb153-sept', error=13 cannot mount root, 
> error=13".  On the server, the logs report "mount request denied from 
> 10.2.3.253 for /exports/rb153-sept".
>
> Here's the line from my exports file:
> /exports/rb153-sept -maproot=root:wheel 10.2.3.253
>
> And my DHCP configuration:
>
> host rb153-boot {
>    hardware ethernet 00:0C:42:0D:2E:59;
>    fixed address 10.2.3.253;
>    option host-name "rb153";
>    filename "rb153-netbsd";
>    next-server 10.2.3.1;
>    option root-path "/exports/rb153-sept";
> }
>
> host rb153-netbsd {
>    hardware ethernet 0C:14:6F:14:72:C8;
>    fixed address 10.2.3.253;
>    next-server 10.2.3.1;
>    option root-path "/exports/rb153-sept";
> }
>
>
> When I change the rb153-netbsd host to this:
>
> host rb153-netbsd {
>    hardware ethernet 0C:14:6F:14:72:C8;
>    fixed address 10.2.3.253;
>    option host-name "rb153";
>    filename "rb153-netbsd";
>    next-server 10.2.3.1;
>    option root-path "/exports/rb153-sept";
> }
>
> The client gives the following error:  mountd 
> '10.2.3.1:/exports/rb153-sept', error=13 no file system for admsw0 
> cannot mount root, error=79
>
Got it.  Apparently there were multiple scripts to start nfs in rc.d, 
and I wasn't starting the correct.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isaacsm.vcf
Type: text/x-vcard
Size: 289 bytes
Desc: not available
Url : http://lists.chambana.net/mailman/archive/cu-wireless-dev/attachments/20070115/9ab5bd8c/isaacsm.vcf


More information about the CU-Wireless-Dev mailing list