public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] NFS Boot
@ 2010-01-16 16:32 Mikie
  2010-01-16 20:14 ` [gentoo-user] " walt
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mikie @ 2010-01-16 16:32 UTC (permalink / raw
  To: gentoo-user

Hello,

I am converting an Ubuntu 9.10 to NFS boot by coping files to the NFS
root.

My question is:

Would it be better to create a local hard drive swap and file system for
certain root dir?

Should Tmp  be local rather than on the NFS root?

Any suggestions on what to keep local would help.

Thanks.



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

* [gentoo-user]  Re: NFS Boot
  2010-01-16 16:32 [gentoo-user] NFS Boot Mikie
@ 2010-01-16 20:14 ` walt
  2010-01-17 10:20   ` Alan McKinnon
  2010-01-16 20:26 ` [gentoo-user] " Neil Walker
  2010-01-17  0:01 ` Kyle Bader
  2 siblings, 1 reply; 7+ messages in thread
From: walt @ 2010-01-16 20:14 UTC (permalink / raw
  To: gentoo-user

On 01/16/2010 08:32 AM, Mikie wrote:
> Hello,
>
> I am converting an Ubuntu 9.10 to NFS boot by coping files to the NFS
> root.
>
> My question is:
>
> Would it be better to create a local hard drive swap and file system for
> certain root dir?
>
> Should Tmp  be local rather than on the NFS root?

I'm no expert on the subject, but I'm interested in the answer too.
I'm thinking it may depend on your reason for wanting to boot from NFS.

One big reason for network booting is for diskless workstations, but
it seems you plan to keep the existing drive(s) in that machine?

In that case I would choose to make the NFS boot fs read-only and put
any writeable fs on the local disk -- but again that would depend on
your reasons for making the change in the first place.

But I await more informed opions than mine.




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

* Re: [gentoo-user] NFS Boot
  2010-01-16 16:32 [gentoo-user] NFS Boot Mikie
  2010-01-16 20:14 ` [gentoo-user] " walt
@ 2010-01-16 20:26 ` Neil Walker
  2010-01-17 15:59   ` Mikie
  2010-01-17 23:37   ` Dan Cowsill
  2010-01-17  0:01 ` Kyle Bader
  2 siblings, 2 replies; 7+ messages in thread
From: Neil Walker @ 2010-01-16 20:26 UTC (permalink / raw
  To: gentoo-user

Mikie wrote:
> I am converting an Ubuntu 9.10 to NFS boot by coping files to the NFS
> root.
>
> My question is:
>
> Would it be better to create a local hard drive swap and file system for
> certain root dir?
>
> Should Tmp  be local rather than on the NFS root?
>
>   

Had you ever thought of asking this on an Ubuntu list rather than a
Gentoo one?


Be lucky,

Neil
http://www.neiljw.com





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

* Re: [gentoo-user] NFS Boot
  2010-01-16 16:32 [gentoo-user] NFS Boot Mikie
  2010-01-16 20:14 ` [gentoo-user] " walt
  2010-01-16 20:26 ` [gentoo-user] " Neil Walker
@ 2010-01-17  0:01 ` Kyle Bader
  2 siblings, 0 replies; 7+ messages in thread
From: Kyle Bader @ 2010-01-17  0:01 UTC (permalink / raw
  To: gentoo-user

> Would it be better to create a local hard drive swap and file system for
> certain root dir?

Have writable files on local disk and mount them a la "mount --bind
/mnt/local/etc /etc".  You should make a separate partition for local
swap if you have a local disk.

-- 

Kyle



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

* Re: [gentoo-user]  Re: NFS Boot
  2010-01-16 20:14 ` [gentoo-user] " walt
@ 2010-01-17 10:20   ` Alan McKinnon
  0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2010-01-17 10:20 UTC (permalink / raw
  To: gentoo-user

On Saturday 16 January 2010 22:14:00 walt wrote:
> On 01/16/2010 08:32 AM, Mikie wrote:
> > Hello,
> >
> > I am converting an Ubuntu 9.10 to NFS boot by coping files to the NFS
> > root.
> >
> > My question is:
> >
> > Would it be better to create a local hard drive swap and file system for
> > certain root dir?
> >
> > Should Tmp  be local rather than on the NFS root?
> 
> I'm no expert on the subject, but I'm interested in the answer too.
> I'm thinking it may depend on your reason for wanting to boot from NFS.
> 
> One big reason for network booting is for diskless workstations, but
> it seems you plan to keep the existing drive(s) in that machine?
> 
> In that case I would choose to make the NFS boot fs read-only and put
> any writeable fs on the local disk -- but again that would depend on
> your reasons for making the change in the first place.
> 
> But I await more informed opions than mine.

The usual scenario for network booting is indeed diskless workstations - these 
usually often have a decent amount of ram, and the login sessions on them are 
short-lived (on the order of a few hours).

tmpfs is the best choice for /tmp in this case

swap may need some fiddling. By it's nature, the faster swap is the better. 
NFS tends to be either set up properly then it's fast (I have NASes runnign 
NFS that out-perform all but the fastest local disks....), or it's set up 
badly then it's very slow indeed.

One should benchmark swap on a local device (either disk or ramdisk) and 
compare it to swap over nfs and decide based on the results. I've not yet seen 
a formula that lets you predict in advance which one is likely to be better


-- 
alan dot mckinnon at gmail dot com



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

* RE: [gentoo-user] NFS Boot
  2010-01-16 20:26 ` [gentoo-user] " Neil Walker
@ 2010-01-17 15:59   ` Mikie
  2010-01-17 23:37   ` Dan Cowsill
  1 sibling, 0 replies; 7+ messages in thread
From: Mikie @ 2010-01-17 15:59 UTC (permalink / raw
  To: gentoo-user

Had you ever thought of asking this on an Ubuntu list rather than a
Gentoo one?


[K. Mike Bradley] 
Sorry Ubuntu server Gentoo client

My question is what parts if the FSH should be local on the Gentoo
client.





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

* Re: [gentoo-user] NFS Boot
  2010-01-16 20:26 ` [gentoo-user] " Neil Walker
  2010-01-17 15:59   ` Mikie
@ 2010-01-17 23:37   ` Dan Cowsill
  1 sibling, 0 replies; 7+ messages in thread
From: Dan Cowsill @ 2010-01-17 23:37 UTC (permalink / raw
  To: gentoo-user

On Sat, Jan 16, 2010 at 3:26 PM, Neil Walker <neil@ep.mine.nu> wrote:
> Mikie wrote:
>> I am converting an Ubuntu 9.10 to NFS boot by coping files to the NFS
>> root.
>>
>> My question is:
>>
>> Would it be better to create a local hard drive swap and file system for
>> certain root dir?
>>
>> Should Tmp  be local rather than on the NFS root?
>>
>>
>
> Had you ever thought of asking this on an Ubuntu list rather than a
> Gentoo one?
>
>
> Be lucky,
>
> Neil
> http://www.neiljw.com
>
>
>
>

If I had a difficult linux question that needed answering, I'd
probably turn to you fine folks before any Ubuntu forum ;)



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

end of thread, other threads:[~2010-01-17 23:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-16 16:32 [gentoo-user] NFS Boot Mikie
2010-01-16 20:14 ` [gentoo-user] " walt
2010-01-17 10:20   ` Alan McKinnon
2010-01-16 20:26 ` [gentoo-user] " Neil Walker
2010-01-17 15:59   ` Mikie
2010-01-17 23:37   ` Dan Cowsill
2010-01-17  0:01 ` Kyle Bader

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