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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-10-2003, 04:14 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: New Hampshire
Posts: 5
Rep:
|
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?
|
|
|
06-10-2003, 06:24 PM
|
#2
|
Member
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707
Rep:
|
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.
|
|
|
06-10-2003, 06:28 PM
|
#3
|
LQ Newbie
Registered: Jun 2003
Location: New Hampshire
Posts: 5
Original Poster
Rep:
|
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?
|
|
|
06-10-2003, 06:41 PM
|
#4
|
LQ Newbie
Registered: Jun 2003
Location: New Hampshire
Posts: 5
Original Poster
Rep:
|
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?
|
|
|
06-10-2003, 06:59 PM
|
#5
|
Member
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707
Rep:
|
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?
|
|
|
06-10-2003, 07:06 PM
|
#6
|
LQ Newbie
Registered: Jun 2003
Location: New Hampshire
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
06-10-2003, 07:40 PM
|
#7
|
Member
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707
Rep:
|
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?
|
|
|
06-11-2003, 08:25 AM
|
#8
|
LQ Newbie
Registered: Jun 2003
Location: New Hampshire
Posts: 5
Original Poster
Rep:
|
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).
|
|
|
06-11-2003, 11:39 AM
|
#9
|
Member
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|