LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2009, 08:28 AM   #1
Dims
Member
 
Registered: Feb 2009
Posts: 151

Rep: Reputation: 15
What are possible ways to mount NFS on boot?


Hi!

I am exploring DRBL package (for booting diskless linuces) and can't find, where NFS volumes are mounting in the client.

According to NFS howto, there are two ways to mount remote volumes: either with mount command, or with fstab file. But I see neither within initrd image.

Is there another ways to mount nfs volumes?

Thanks.
 
Old 06-19-2009, 08:56 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,711
Blog Entries: 14

Rep: Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038
The automounter can be configured to mount NFS volumes only when accessed. It doesn't rely on manual mount command or /etc/fstab entry.
 
Old 06-19-2009, 09:02 AM   #3
jeromeNP7
Member
 
Registered: Jun 2009
Posts: 101

Rep: Reputation: 19
To have NFS available during booting for diskless Linux systems you might consider to have the NFS file system code compiled directly into the kernel itself. Without a reliable disk you can not count on option modules to load under all circumstances, but if it's part of the kernel, then it's available. I'm not sure if it's worth the hassle for your project, as customizing kernels can be daunting.

Linux

Last edited by jeromeNP7; 09-04-2009 at 09:26 PM.
 
Old 06-19-2009, 01:03 PM   #4
Dims
Member
 
Registered: Feb 2009
Posts: 151

Original Poster
Rep: Reputation: 15
I found direct mount commands in additional script, which was called from busybox' dhcp client calling line, which I have commented out.
 
Old 06-19-2009, 05:42 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,850

Rep: Reputation: 2299Reputation: 2299Reputation: 2299Reputation: 2299Reputation: 2299Reputation: 2299Reputation: 2299Reputation: 2299Reputation: 2299Reputation: 2299Reputation: 2299
Set up a Knoppix terminal server in 5.x and boot remote systems all day long.

Pretty sure most boot floppies from major os's allow nfs, in fact used to only allow nfs.

See GPXE maybe.

http://pxeknife.erebor.org/


http://www.digitalpeer.com/id/linuxnfs

Last edited by jefro; 06-19-2009 at 05:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
nfs: fstab will not mount at boot tredegar Linux - Networking 15 08-13-2013 04:24 PM
Trying to mount /usr with NFS on boot... frkstein Linux - General 3 06-14-2012 09:18 PM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM


All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration