LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-30-2005, 11:01 AM   #1
banner
Member
 
Registered: Mar 2005
Posts: 49

Rep: Reputation: 15
Failed to mount the root directory via nfs


I am a newbie at Linux and I am trying to connect my thin client to my Linux server, this is the error I get at the workstation computer, I am lost with this error, I have checked nfs services and it is running, but I do Not know how to fix this error so my thin client can connect to my server, below is the error I get from my workstation. Can some please help as I need to get this to work for my boss?

This is the error i get


Running dhcp on port 67

Mounting root filesystem:192.168.1.4/opt/ltsp/i386 from:
Mount: Unknown host
Mount: nfsmount failed: Connection refused nfs warning: mount version newer than kernel
RPC: send msg returned error 22
nfs:rpc call returned error 22
nfs-get-root: getattr error=22
nfs_read-super= get root inode failed
Mount: mpounting-192.168.1.4/opt/ltsp/i386 on/mnt failed: Invalid argument

Error! Failed to mount the root directory via NFS


Possible reasons include:

1) NFS services may not be running on the server

2) Workstation IP does not map to a hostname, either in /etc/hosts or in DNS.

3) Wrong address for NFS server in the dhcp config file

4) Wrong pathname for root directory in the DHCP config file
 
Old 03-31-2005, 07:27 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
In my opinion, correct syntax should be :
192.168.1.4:/opt/ltsp/i386

(note the ':' between ip and file path)
Could you post your dhcp conf ?
 
Old 04-01-2005, 03:04 AM   #3
banner
Member
 
Registered: Mar 2005
Posts: 49

Original Poster
Rep: Reputation: 15
Dhcpd details

Thank you for your reply, as i said i am brand new in Linux less then one week old learing Linux, so be easy on me. As mentinoned before the thin client is supose to connect and log in to the Linux server, but i ran in to the problem mentioned in my last post. Here are the dhcpd details. Soory that it is so lenghty. By the way iam using a Thin client mangement system to help administer the thin clients once i log in.

Any ways here is my dhcpd information

## ALL ENTRIES BELOW WILL BE OVERWRITTEN BY SYMBIONT ##
ddns-update-style none;
default-lease-time 21600;
max-lease-time 21600;
option option-128 code 128 = string;
option option-129 code 129 = text;

shared-network WORKSTATIONS {
subnet 192.168.1.0 netmask 255.255.255.0 { # Autodetect
next-server 192.168.1.4;
option broadcast-address 192.168.1.255;
option domain-name "localhost";
option log-servers 192.168.1.4;
option root-path "192.168.1.4/opt/ltsp/i386";
option subnet-mask 255.255.255.0;

pool {
deny unknown clients;
range dynamic-bootp 192.168.1.201 192.168.1.220;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/lts/2.4.26-ltsp-1/pxelinux.0";
}
else {
filename "/lts/vmlinuz-2.4.26-ltsp-1";
}
}
}

}

group Default { #
use-host-decl-names on;

if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/lts/2.4.26-ltsp-1/pxelinux.0";
}
else {
filename "/lts/vmlinuz-2.4.26-ltsp-1";
}

host ws00001 { #
hardware ethernet 00:0b:6a:d4:19:4a; # Autodetect
fixed-address 192.168.1.203;
}

host ws00002 { #
hardware ethernet 00:0b:6a:d2:dd:9d; # Autodetect
fixed-address 192.168.1.201;
}

}

group Students { #
use-host-decl-names on;

if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/lts/2.4.26-ltsp-1/pxelinux.0";
}
else {
filename "/lts/vmlinuz-2.4.26-ltsp-1";
}

}
 
  


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
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 07:03 AM
Failed to mount the root directory via nfs banner Linux - Newbie 2 03-30-2005 02:57 PM
MacOS X Panther canīt mount SuSE 9.1 NFS directory cecilcosta Linux - Networking 3 01-08-2005 06:59 AM
no-root user can not mount a remote nfs directory? xiamw Linux - General 3 12-16-2004 10:29 AM
Mount server directory on local box using NFS esteeven Linux - Security 1 09-05-2003 07:22 AM


All times are GMT -5. The time now is 07:16 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration