Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
Minimal requirements for NFS server
- 04-28-2006
- Sebastian
April 28, 2006, 5:24 pm

Hello,
I am setting up an old Cyrix 486/40 using Linux. I'd like to use it as a
storage machine, so I installed a 32 Mb CF (hda) and a 40 Gb (hdb) disk. As
it only got 8 Mb of memory, I'm using Kernel 2.2.26 and a recent
installation of BusyBox 1.1.2.
But now I am stuck with the compiling and installation of the NFS server; I
think I have to use the knfsd to achieve the 7 MBit/s I need to save (live
streaming). What version of the nfs-utils package do you recommend for this
kernel?
I wasn't able to get uClibc to work (it hung at "Freeing kernel memory: 40k"
and the next line contained "mma") so I think I'll use the glibc-package
from my host system (coLinux / Debian Woody) - they work as expected.
Can someone recommend some documentation / howto / manual about setting up a
nfs server? I haven't found anything beyound "Start these programs your
distribution has given you" with my researches.
As the system doesn't have a graphics adaptor I use the serial console now;
but I'd like to use the telnetd from BusyBox. What do you think is better -
starting it from inetd or running it as a single daemon?
I hope my questions aren't that stupid, but I couldn't find the answers yet.
Thanks in advance,
Sebastian
I am setting up an old Cyrix 486/40 using Linux. I'd like to use it as a
storage machine, so I installed a 32 Mb CF (hda) and a 40 Gb (hdb) disk. As
it only got 8 Mb of memory, I'm using Kernel 2.2.26 and a recent
installation of BusyBox 1.1.2.
But now I am stuck with the compiling and installation of the NFS server; I
think I have to use the knfsd to achieve the 7 MBit/s I need to save (live
streaming). What version of the nfs-utils package do you recommend for this
kernel?
I wasn't able to get uClibc to work (it hung at "Freeing kernel memory: 40k"
and the next line contained "mma") so I think I'll use the glibc-package
from my host system (coLinux / Debian Woody) - they work as expected.
Can someone recommend some documentation / howto / manual about setting up a
nfs server? I haven't found anything beyound "Start these programs your
distribution has given you" with my researches.
As the system doesn't have a graphics adaptor I use the serial console now;
but I'd like to use the telnetd from BusyBox. What do you think is better -
starting it from inetd or running it as a single daemon?
I hope my questions aren't that stupid, but I couldn't find the answers yet.
Thanks in advance,
Sebastian

Re: Minimal requirements for NFS server

8 Mb would be tight? What type of memory it needed, 36pins SIMM?
Can't you spare a couple of dollars for more RAM?

After freeing memory, it's trying to open the console. So you have
that part to deal with.

Before running with nfs, please try walking with basic setup first.


Re: Minimal requirements for NFS server

Yup, with 8MB the system will be barely usable.... You really need
about 16MB for a usable system....
8MB means no dropbear, probably no telnet, no syslog, just the absolute
bare minimum, turn-it-on-and-pray....

I'm not sure about the recent kernel versions, but at that point you
have to have /dev populated with the console and tty device names.
Since devfs is gone from 2.6, I'm not sure how that works now in
embedded systems.... devfs was a good thing for embedded platforms....
You can try running a basic "hello world" type app instead of init to
see if init is getting called.

With 8MB, you may not have room for either....
--Yan

Re: Minimal requirements for NFS server

As
It is 30 pin SIMM with 8 slots and 1 Mb each. I've seen modules with more
but they are too expensive and - more important - very rare. As the
mainboard is quite small, I'd like to use it anyway... the system doesn't
have a single fan, the only thing producing noise is the hard disk, which I
turn off after 15 seconds or so of inactivity.

I hope I can also integrate httpd and telnetd from busybox (I have ~4-5 Mb
free after booting with a single shell running). Maybe even a simple
interpreter to run scripts via HTTP, but I have to see what's possible.

server; I

(live

this
40k"

I think I've given up the try and use my old system with the host libs from
/lib, so I can change binaries.

Yes, I thought of that too, but I'm not familiar with C at all and neither
with compilers and so on. But this far busybox' init works for me (but not
uClibc).

now;

better -

I don't know how much memory a NFS server will take, I haven't got it
running yet (simply crashed). But I'll see when I have my sytem up again (a
crash killed the relevant files ... I'll never strip my system libs again
:( )
Regards,
Sebastian

Re: Minimal requirements for NFS server

I just noticed this - the 40 GB hard disk....
Make sure to give yourself gobs and gobs of swap. I'd go for 100MB or
so. What the heck, you have the hard disk storage...
That way, you should be able run whatever you need, albeit slowly...
You'll be swapping like crazy, but at least you should be able to run
nfs + httpd + dropbear. You may have to wait while the system swaps out
one app for another. Just don't hammer it with streaming data while
you're trying to bring up that webpage...
--Yan
Site Timeline
- » DWL-650
- — Next thread in » Embedded Linux
-
- » Job: Embedded Linux Appl. Developer for a Kleiner and Sequoia backed consumer start up. Mt...
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Driver LED BP5131 - jak to dziaĆa?
- — The site's Newest Thread. Posted in » Electronics (Polish)
-
- » easy way to calibrate audio frequency generator?
- — The site's Last Updated Thread. Posted in » Electronics Repair
-