Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Dec 2014, 11:31
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
NFS mount of crams dir. errors... HELP!!!
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5043
Location: Arizona, U.S.A.

PostPosted: Thu 09 Jun 2005, 21:22    Post subject:  NFS mount of crams dir. errors... HELP!!!  

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?
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Thu 09 Jun 2005, 23:45    Post subject:  

Have you run this command sucessfully before and if so on what machine/distro.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5043
Location: Arizona, U.S.A.

PostPosted: Fri 10 Jun 2005, 00:40    Post subject:  

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.
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Sat 11 Jun 2005, 05:03    Post subject:  

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.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5043
Location: Arizona, U.S.A.

PostPosted: Sat 11 Jun 2005, 18:48    Post subject: NFS packages  

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.
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Mon 13 Jun 2005, 11:45    Post subject:  

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.
Back to top
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0470s ][ Queries: 11 (0.0032s) ][ GZIP on ]