Okay, I've gotten a little further by moving some of the runscripts to
/etc/runlevel/boot.

I still, however, can't seem to get /usr/ nfs mounted before some of
the boot runlevel daemons kick off (like keymap, etc.).

I think part of the problem is I'm using OpenRC. Any way on forcing
netmount init script to kick off before everything else?

-j

On Mon, Jun 29, 2009 at 1:19 PM, James<[email protected]> wrote:
> All,
>
> I am having a weird problem and I'm going nuts trying to figure out
> what may be going wrong.
>
> I've followed the "Diskless Nodes" document[1] on the g.o website. So
> far my machine will PXE boot and mount root partition without any
> issues.
>
> The diskless client, however, does *not* mount the non-root partitions
> (such as /opt, /usr, etc.). This results in a system with no /usr
> partition and a ton of my tools missing. ;)
>
> If I log into the crippled system, however, I can manually mount /usr
> and /opt. Things work better at that point.
>
> Here's the fstab file inside of /diskless/gentoo/etc/:
>
> 10.1.1.5:/diskless/gentoo    /         nfs
> sync,hard,intr,rw,nolock,rsize=8192,wsize=8192    0 0
> 10.1.1.5:/opt                /opt      nfs
> sync,hard,intr,ro,nolock,rsize=8192,wsize=8192    0 0
> 10.1.1.5:/usr                /usr      nfs
> sync,hard,intr,ro,nolock,rsize=8192,wsize=8192    0 0
> 10.1.1.5:/home               /home     nfs
> sync,hard,intr,rw,nolock,rsize=8192,wsize=8192    0 0
> none                            /proc     proc    defaults
>                             0 0
>
> -----
>
> /etc/exports is as follows:
>
> /pxe/diskless/gentoo    
> *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
> /opt                    
> *(sync,ro,no_root_squash,no_all_squash,no_subtree_check)
> /usr                    
> *(sync,ro,no_root_squash,no_all_squash,no_subtree_check)
> /home                   
> *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
> /var/log                
> *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
>
> Any thoughts on why these partitions are not mounting automatically?
> I've even appended "auto" to the fstab mountpoints with no success.
>
> Help greatly appreciated. :)
>
> -j
>
> 1 http://www.gentoo.org/doc/en/diskless-howto.xml
>

Reply via email to