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.
I am using 2.6.32-71.el6.x86_64. I have a volume mounted via NFS on my server. This volume actually resides on my storage (NetApp).
I have two problems.
1) When I create a directory on that partition as root, the owner and group defaults to nfsnobody. But when I create a directory as any other user except root, the owner and group is of that same user through which I created the directory.
2) When I try to make this server as NFS server, by sharing the volume that is already mounted as NFS, i get an error as below
[root@portaltest1 linxnfs]# exportfs -a
exportfs: Warning: /linxnfs/shared does not support NFS export.
NFS is not a filesystem, it's a network protocol similar to CIFS. Maniannam is asking what the actual filesystem is, such as ntfs, ext3, etc.
#1 is normal behavior, and is caused by rootsquash on the NFS share. This means that "root" on any remote machine does not have the same permissions as "root" on the local machine, so that there is only one "root" with true global permissions on that filesystem...the one on the actual machine on which that filesystem resides.
#2 - I've never tried to re-share a NFS mount, and I don't really see the benefit. Why not just have the clients mount the original share directly instead of doubling your network overhead by daisy chaining the mount?
Last edited by suicidaleggroll; 08-13-2012 at 01:51 PM.
It doesn't have to be RHEL in order to run mount, many NAS systems run various distributions of linux. Given that list of commands, I'd say yours does too, it's just trimmed things down quite a bit.
Either way, I don't think you need to know the underlying filesystem to answer your questions. #1 is caused by root squash. #2 seems kind of pointless anyway, but there might be a way to get around it. Why can't you simply mount the NAS directly from each machine that needs it instead of daisy chaining the mount from machine to machine?
Last edited by suicidaleggroll; 08-13-2012 at 02:43 PM.