Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Ok I am running Fedora Core 6 (as per request of my boss) and I am trying to mount one of our servers. He showed me a way that I can add a server as a mount on the machine im putting together. Here is what he gave me for instructions.
I have a directory called "scooter" /scooter
then either I...
mount scooter:/ /scooter or..
mount 192.168.1.20:/ /scooter
Then after its all mounted I can just cp it all over. But when i run "mount 192.168.1.20:/ /scooter" I get an error that says "mount to NFS server '192.168.1.20' failed: RPC Error: Program not registered." If I run this "mount scooter:/ /scooter" I get an error that says "cant get address for scooter."
Looks like a problem with portmap? You typically need to start certain services and depending on what you are doing:
/etc/init.d/nfsd start
might pull in all the required services. In Fedora you could use the service command:
service nfs start
OR
service nfsd start
Off the top of my head I cannot remember which one Fedora uses.
Semi off-topic, you really ought to be able to use any distro you are comfortable with, but if you aren't comfortable with any and your boss is going to be teaching you how to use a particular one I suppose it's his/her choice. But that should also mean they should give you a little bit more information (like which services need to be running).
Probably portmap is not running. Start it before mounting NFS volumes.
"mount 192.168.1.20:/ /scooter" I'm not an NFS expert, but this command looks weird, looks like root of that server is exported. Shouldn't be so. You can test what's exported with showmount, 'showmount 192.168.1.20 -e'.
The command does look odd, but there isn't a restriction on mounting root filesystems. It's just odd, but it should work from a "can I do it" perspective.
MasterC: service nfs start is what gets used in fedora core. I tried that and everything checked out "OK". Then i tried to run the mount again and I still get "Program not registered."
As far as my boss and linux go, I do know enough about linux to get around and do some stuff in the shell, he just recomended that I use FC6on this box.
Emerson: When I run 'showmount 192.168.1.20 -e' I get an error that says "clntudp_create: RPC: Program not registered."
1. Look up what's running on localhost and server with rpcinfo -p hostname.
2. Make sure you do not have anything restrictive in hosts.allow and hosts.deny.
3.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.