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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hey,guys,I'm really new to Linux and Fedora Core
During these days,I met a problem when configuring NFS for server and client,because my client cannnot mount /home or /media directory from my server. My exports file is like this:
when I try to mount my /home directory from the server like:
mount 192.168.104.1:/home /mnt/home
it will show: mount.nfs /home failed, reason given by server: Permission denied
but when I try to mount my /media directory from the server like:
mount 192.168.104.1:/media /mnt/media
it will show: mount point /mnt/media does not exist.
But my /media directory exists on my server.
Does anyone know what's going on? Do I have to change the /home directory permission or what?
Plus,I checked an article here http://nfs.sourceforge.net/nfs-howto/ar01s07.html
ther is one reason mentioned for causing permission denied,and the author said that I might also look at the file /var/lib/nfs/xtab for an unabridged list of how all the active export options are set.If they are not, then you have not re-exported properly.
But I've exported the directories from my server successfully,why does that permission problem happen again?
Welcome to Linux, sounds like permission problems to me. I got similar errors until I figured it out as permission issues and made my fstab (I auto mount them) have these parameters on the line for the NFS folder I was mounting:
Make sure you own/have permissions for the media directory your trying to mount to. Also make sure you have permissions on the folders your are mounting from the other system. Your exports file looks ok to me, so I think it is the permissions.
If I have nfs instead of nfs4 I get the original error message. Both PCs are using FC7.
[root@Jongi-MythTV ~]# mount -a
mount: can't get address for Jongi-MythTV
[root@Jongi-MythTV ~]# ls /mnt/shares/
Is 10.0.0.3 even on your network??? Your first post had 192.168.104.1 for your server. Might be why it can't find it.
You should be fine with just nsf as file system type
You prolly want the earlier code for your exports:
IF you are going to write files to the directory (usually a must for all /home) you will need rw option. Sync makes sure stuff is written right away, no waiting to write files
Not sure about the fsid, would have to read up on it.
the problem got solved happily,the /media problem is because I didn't create a folder, and the reason I can't mount /home is because I didn't turn off the autofs service on the server machine. Now the nfs is working. Thank you for all the people who posted here, I appreciate so much for your help. And I hope this thread can help other newbies to Linux.