Skip to contentSkip to conversation

Trouble with mounting NFS filesystem

DISCUSSION Anoop Thomas 1 participant 1 message Mar 13, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I'm Anoop from India. I'm doing a project on Diskless cluster for my college. I have encountered a problem while setting the client side configuration.

I have configured the DHCP, TFTP and PXE servers.
Plus i have configured the NFS and NIS servers . All of them are on a single machine.
I've even compiled a kernel for the slave nodes .

Everything works fine while booting up the client. Right from getting it's IP address, to loading the kernel, booting with it etc etc. .. but

when it tries to start the portmapper .. it says

/etc/init.d/portmap .. line 1 : id not found /etc/init.d/portmap .. line 39 : [ : = : Unary operator expected
Mounting NFS Filesystems :

and here .. it either stuck or taking too much time.. it does not load the NFS filesystems..
i think i waited too long once to see a timeout.

Its managed to take the root file system while loadin the kernel... so exporting my filesystem from server is ok.

This is how my /etc/fstab for the slave looks like :

192.168.1.1:/usr /usr nfs defaults 0 0
192.168.1.1:/home /home nfs defaults 0 0
192.168.1.1:/tftpboot/dual2 / nfs defaults 0 0

none                    /dev/pts       	    	devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0

ip address for my server is below
for slave its 192.168.1.2.
if i remove the first 3 lines of /etc/fstab .. it reaches the login screen without the filesystems and bash cant recognise most of the usual commands like rpcinfo, ntsysv etc etc ...

Pls help me. I'm just a newbie in linux. Reply to me in this address asap

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs