LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-09-2004, 08:07 AM   #1
soulkeeper
LQ Newbie
 
Registered: Jul 2004
Location: Uruguay
Posts: 4

Rep: Reputation: 0
Angry NFS Root Boot - Exports


HI thre guys.

I've got the following problem., Using Suse 9.0, kernel 2.4.26, with support
to nfsv3, both, kernel client and server.

I have a machine that does nfs-root, in the server I have
option root-path "/clients/ip-machine"

in the exports I have

/clients/ip-machine host(rw,no_root_squash,sync)
/home host(rw,no_root_squash,sync)
/lib host(ro,no_root_squash,sync)
/usr host(ro,no_root_squash,sync)


The terminal boots well, but it seems that it doesn reads the fstab at start up , cause the lib, usr and home are not mounted,
If log in the terminal and do a manual mount -a for example , the there is no problem, the only thing that mount is its root
-> clients/ip-machine host(rw,no_root_squash,sync)


rpcinfo -p localhost
portmapper 2
portmapper 2

nfsd 2
nfsd 3

nlockmgr 1
nlockmgr 3

mountd 2 tcp
mountd 2 udp
mountd 3 tcp
mountd 3 udp


in the host

portmapper 2 tcp
portmapper 2 udp
status 1 tcp
status 1 udp





Any Idea.
Thanx
 
Old 07-09-2004, 12:18 PM   #2
oved
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
Can you please show your fstab file here ?
 
Old 07-09-2004, 12:34 PM   #3
soulkeeper
LQ Newbie
 
Registered: Jul 2004
Location: Uruguay
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by oved
Can you please show your fstab file here ?
Sure.

The Client fstab
This is just one line..

servidor:/lib /lib nfs defaults 1 1
 
Old 07-24-2004, 02:27 AM   #4
altosys
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Hey, I'm probably totally off-topic here , but I didn't find any other thread that serves my purpose.
Can you guys tell me what would be the grub-entry for a nfs mount?

I have a root-filesystem ready on the nfs server
I have exported it /home/altosys/rootfs/ usinf exportfs and confirmed it via showmount

On the client side I only have a initrd.img containing a minimal rootfs, which is capable of booting on its own
.
Now, how do i mount the remote rootfs using nfs?

My fstab looks like this :
<server-ip>:/home/altosys/rootfs / nfs defaults 0 0

How do i make the grub entry , so that after the initial boot process, i get mounted on the nfs rootfs.

Do you know any links where i can find detailed info?
 
  


Reply



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
FreeBSD NFS Exports can't be mounted pnh73 *BSD 13 06-25-2008 06:34 PM
NFS and exports file DanielTan Linux - Networking 12 07-31-2005 11:32 AM
X exports to server, never out Doc Hodges Linux - General 1 02-19-2005 09:02 PM
Exports Walter Sobchek AIX 13 06-16-2004 01:25 PM
Problems using boot disk to load NFS root fs rj1 Linux - Networking 0 02-27-2004 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:02 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
Open Source Consulting | Domain Registration