NFS mount of crams dir. errors... HELP!!!

Booting, installing, newbie
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

NFS mount of crams dir. errors... HELP!!!

#1 Post by sunburnt »

I'm trying to mount the dir. /tftpboot/puppy/crams via NFS.
In that dir. is the usr_cram.fs file that Puppy needs to run.

This is the display on Puppy boot console:

mount -t nfs -o timeo=20,intr 192.168.0.1:/tftpboot/puppy/crams /mnt/data
nfs warning: mount version newer than kernel
NFS: mount program didn't pass remote address!
mount: Mounting 192.168.0.1:/tftpboot/puppy/crams on /mnt/data failed:
invaled argument
---------------------

( server IP ) (dir. with usr_cram.fs) ( mnt. pt.)
192.168.0.1:/tftpboot/puppy/crams /mnt/data

Exports file on server: /tftpboot/puppy/crams (ro,insecure,all_squash)

Don't know about the "mount ver. newer" line, seems a Puppy problem.
Mount prog. didn't pass remote add., I can't figure out what it's saying.
Mount failed: invaled argument, is possable, but what argument?

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#2 Post by Ian »

Have you run this command sucessfully before and if so on what machine/distro.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#3 Post by sunburnt »

Have run before on Debian 2.2 on AMD 586 , it worked, sort of.

I lan booted Puppy's kernel & image.gz, & it errored to console.
I know that puppy isn't going to work when I mount the export,
but it's the first step to a lan setup (see my post in Suggestions).
I hoped someone with experience would recognize the errors.

After that I have to find the spot in rc_local to put the code for
lan probing & mounting the usr_cram.fs from an nfs export.

Next the hard part, rebuild Puppy so Xwin & utils. are in image.gz.
It'll run Xwin from ramdisk (<30mb I think), & will boot & mount
apps (crams) from any media type: Lan, HD, CD, Usb, Flash, etc.
And a menu to select from available cram files with different apps.

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#4 Post by Ian »

To mount a shared file or directory with NFS in Puppy you will have to set Puppy up as a client.
To do this you will need the sunrpc and nfsd modules, they can be loaded at startup by an entry in the ./etc/rc.d/rc.local file and the exported file can be mounted at the same time by adding a command to the fstab file in ./etc.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

NFS packages

#5 Post by sunburnt »

I looked at DotPup & didn't see the sunrpc and nfsd modules,
I assume they're already in Puppy?
I've got 3 Linux books & none of them say that nfsd was needed by clients, only servers.
That's education for you, I thought the mount command was all that clients needed.
Q, what's the sunrpc file/package for?
Are the entries in rc.local commented out, or do I have to add it?

On a different note we talked on irc about samba, would it be a
better way to go, instead of nfs, more reliable, secure, etc.?
I know you said that remote PCs couldn't connect to Puppy, but for this it isn't a problem.

Guest

#6 Post by Guest »

Puppy does not have the required modules to run NFS they must be installed.
NFS is refered to as Big Client & Little Server.
The client side is a bit more complex than the server side so you might wish to do some research into NFS first.

Post Reply