Diskless node cant mount root NFS filesystem for read/write
Hi all,
I am currently trying to set up a new server with some "diskless" nodes, using DHCP (diskless in that their root filesystem is on the server, but the kernel image is kept on a small local hard disk). As far as I can tell, the DHCP stuff is working (my nodes boot, and mount the filesystems they are supposed to). However, none of my filesystems are mounted for read/write like they are supposed to, but for read only.
I have set the root filesystem to be mounted read/write with the following entry in /etc/exports on the server:
/tftpboot/node03 10.0.0.3(rw,no_root_squash,no_subtree_check,sync)
All of the root filesystem is at /tftpboot/node03
After running exportfs -ra, exportfs -v (which I think should show me what file systems are exported) gives the following (I have excluded other irrelevant entries):
/tftpboot/node03
10.0.0.3(rw,wdelay,no_root_squash,no_subtree_check,anonuid=65534,anongid=65534)
However, /var/lib/nfs/xtab is empty, and I thought that this file was supposed to contain entries for all exported file systems.
The entry for the root file system in /tftpboot/node03/etc/fstab is:
10.0.0.1:/tftpboot/node03 / nfs rw,nolock,rsize=8192,wsize=8192 0 0
I have also ensured that the "root filesystem on NFS" option was set in the kernel.
Is there something else that I have missed? I don't know what else to check, and feel that I have eliminated all the possible problems that I know about (that's not to say there isn't a whole other series of things I need to consider that I don't know about). This is the first time I have had to play around with network stuff, so any suggestions, no matter how newbie they seem, would be appreciated.
Thanks,
Last edited by leontini; 01-31-2007 at 01:06 AM.
|