LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-10-2003, 04:14 PM   #1
dave_v
LQ Newbie
 
Registered: Jun 2003
Location: New Hampshire
Posts: 5

Rep: Reputation: 0
Unhappy Getting a Linux diskless client running correctly


I am trying to setup a system to be a diskless client. The machine in question boots via tftp (It actually comes up), but I have two problems (that I know now). The first is that the nfs mounts take an unusually long period of time to mount (~30 minutes) and the client doesn't know its hostname. Any suggestions?
 
Old 06-10-2003, 06:24 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Have you tested the nfs from a normal linux system yet? Is it giving you any error messages in /var/log/messages? Are you using The Linux Terminal Server Project?

Last edited by zmedico; 06-10-2003 at 06:28 PM.
 
Old 06-10-2003, 06:28 PM   #3
dave_v
LQ Newbie
 
Registered: Jun 2003
Location: New Hampshire
Posts: 5

Original Poster
Rep: Reputation: 0
We are nfs mounting two directory structures, and when I look at them (standard ls, cd, vi type commands) it seems to be okay. I'll check the log, is there anything in particular I should be looking for?
 
Old 06-10-2003, 06:41 PM   #4
dave_v
LQ Newbie
 
Registered: Jun 2003
Location: New Hampshire
Posts: 5

Original Poster
Rep: Reputation: 0
I cannot remotely check the diskless clients because I can't logon, The server node (dhcpd host) shows a couple of things that may be related;

I see a DHCPREQUEST from the diskless nodes (I have 4 diskless clients I am trying to get going - this one appears to be x.x.x.220)
I see a DHCPACK (I assume a reply from my server - x.x.x.220)
I see a "Dynamic and statis leases present for x.x.x.217"
followed by "Remove host declaration hostname or remove x.x.x.217"
followed by "from the dynamic address pool for x.x.x.216/29"
followed by DHCPREQUEST/DHCPACK for x.x.x.217

Any ideas?
 
Old 06-10-2003, 06:59 PM   #5
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Re: Getting a Linux diskless client running correctly

Quote:
Originally posted by dave_v
the nfs mounts take an unusually long period of time to mount (~30 minutes)
Can you try mounting your nfs shares from a non-diskless client, just to see if it works in a reasonable amount of time from a normal client?
 
Old 06-10-2003, 07:06 PM   #6
dave_v
LQ Newbie
 
Registered: Jun 2003
Location: New Hampshire
Posts: 5

Original Poster
Rep: Reputation: 0
I mounted the file system on the Linux server to my Solaris workstation and can see it (mounted faster than I could access it). The messages file on the Linux box shows an authenticated mount/umount request. I don't have a handy unrelated full up Linux machine to try a similar test with.
 
Old 06-10-2003, 07:40 PM   #7
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by dave_v
The messages file on the Linux box shows an authenticated mount/umount request.
So the nfs on the server node seems to work fine. Are you using ltsp? Did you make the client kernel yourself?
 
Old 06-11-2003, 08:25 AM   #8
dave_v
LQ Newbie
 
Registered: Jun 2003
Location: New Hampshire
Posts: 5

Original Poster
Rep: Reputation: 0
No I didn't make the kernel, It was supposed to be setup when we took delivery of these units. Just so I am straight, the kernel is an executable file that is the actual OS, and it exist in the / partion (right? - and what is the file's name?).

How do I find out if I am using Itsp?

What I have been doing to configure the downloaded file system is to modify a file system mounted in /loop and then make and a Makefile provided to cp, mv, mke2fs, e2fsck & gzip the new /tftpboot/rootfs.gz file system. This appears to work, but I am not sure about rebuilding the kernel (the last time I built a kernel was a few years back on a HP-UX system, and if my memory serves it was painful initially).
 
Old 06-11-2003, 11:39 AM   #9
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by dave_v
It was supposed to be setup when we took delivery of these units.
Did you contact whoever sent you those units and if so could they tell you anything about them?

If your not using ltsp then you probably should be because they have already set everything up (including kernels) so all you have to do is install their packages. Just go to http://www.ltsp.org and get the packages for whatever linux distro you want to run on your server node.

There is a great explanation of how the diskless clients boot here:
http://www.ltsp.org/documentation/lt...-en.html#AEN53
 
  


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
keep linux cisco vpn client up and running cccc Linux - Networking 5 04-18-2006 08:54 PM
diskless boot problem with RHEL3 client VMSlives Red Hat 1 09-29-2005 08:38 AM
Shutdown messages on a diskless client Goober07 Linux - Newbie 1 05-10-2005 07:23 AM
Diskless Client Over NFS Using DHCP Question geogecko Linux - Newbie 1 01-11-2004 12:48 AM
Prefered motherboard for diskless client ? Snooze Linux - Hardware 1 06-25-2003 01:02 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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