public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] pxe boot + nfs mountpoints
@ 2009-06-29 17:19 James
  2009-06-29 18:59 ` [gentoo-user] " James
  2009-07-12  9:23 ` [gentoo-user] " Sascha Hlusiak
  0 siblings, 2 replies; 5+ messages in thread
From: James @ 2009-06-29 17:19 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: pxe boot + nfs mountpoints
  2009-06-29 17:19 [gentoo-user] pxe boot + nfs mountpoints James
@ 2009-06-29 18:59 ` James
  2009-06-30 20:20   ` James
  2009-07-12  9:23 ` [gentoo-user] " Sascha Hlusiak
  1 sibling, 1 reply; 5+ messages in thread
From: James @ 2009-06-29 18:59 UTC (permalink / raw
  To: gentoo-user

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<jtp@nc.rr.com> 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
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: pxe boot + nfs mountpoints
  2009-06-29 18:59 ` [gentoo-user] " James
@ 2009-06-30 20:20   ` James
  2009-07-05 15:46     ` James
  0 siblings, 1 reply; 5+ messages in thread
From: James @ 2009-06-30 20:20 UTC (permalink / raw
  To: gentoo-user

bump

On Mon, Jun 29, 2009 at 2:59 PM, James<jtp@nc.rr.com> wrote:
> 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<jtp@nc.rr.com> 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
>>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: pxe boot + nfs mountpoints
  2009-06-30 20:20   ` James
@ 2009-07-05 15:46     ` James
  0 siblings, 0 replies; 5+ messages in thread
From: James @ 2009-07-05 15:46 UTC (permalink / raw
  To: gentoo-user

Any thoughts?

On Tue, Jun 30, 2009 at 4:20 PM, James<jtp@nc.rr.com> wrote:
> bump
>
> On Mon, Jun 29, 2009 at 2:59 PM, James<jtp@nc.rr.com> wrote:
>> 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<jtp@nc.rr.com> 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
>>>
>>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] pxe boot + nfs mountpoints
  2009-06-29 17:19 [gentoo-user] pxe boot + nfs mountpoints James
  2009-06-29 18:59 ` [gentoo-user] " James
@ 2009-07-12  9:23 ` Sascha Hlusiak
  1 sibling, 0 replies; 5+ messages in thread
From: Sascha Hlusiak @ 2009-07-12  9:23 UTC (permalink / raw
  To: gentoo-user; +Cc: James

[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]

Am Monday 29 June 2009 19:19:53 schrieb James:
> /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.

Why do you want to export /pxe/diskless/gentoo but /usr from the server? 
Wouldn't that result in a weird mixed Gentoo system, where you have to be 
careful what to emerge? 

My PXE system has the whole client system in /pxe/diskless/gentoo, so I can 
even use emerge, etc. from the clients without worrying about a mixed /usr.

I do not know a solution to your problem though.

- Sascha

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-12  9:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 17:19 [gentoo-user] pxe boot + nfs mountpoints James
2009-06-29 18:59 ` [gentoo-user] " James
2009-06-30 20:20   ` James
2009-07-05 15:46     ` James
2009-07-12  9:23 ` [gentoo-user] " Sascha Hlusiak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox