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 Sat 22 Nov 2014, 05:19
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 Posts_count  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5042
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: 5042
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: 5042
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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