LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS Root Boot - Exports (https://www.linuxquestions.org/questions/linux-networking-3/nfs-root-boot-exports-203009/)

soulkeeper 07-09-2004 08:07 AM

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

oved 07-09-2004 12:18 PM

Can you please show your fstab file here ?

soulkeeper 07-09-2004 12:34 PM

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

altosys 07-24-2004 02:27 AM

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?


All times are GMT -5. The time now is 12:18 PM.