machine1 = NFS Server
machine2 = NFS client
/rootfolder = folder to be shared
/mountpoint = mount point on the client
1 - unmount and unshare the folder (just to start afresh)
2 - on the server side:
3 - on the client side:
Note: assuming machine1 and machine2 are in the /etc/hosts file
Note: userid (not username) on server and client side should be the same. Since you are share and accessing as root (UID=0), it shouldnot be a problem.
Thanks, but that does not solve my problem, still deny writing from machine2.
Quote:
Originally Posted by achenle
No, accessing NFS shares as root is a problem because the default is for the root user to be mapped to the nobody user.
Then, What should I do now?
Quote:
Originally Posted by jlliagre
Are your servers both in the same NFSv4 authentication domain (/var/run/nfs4_domain) ?
Hi Friends,
I have problem using VI on my NFS as a user. But root does not.
When I tried to vi .cshrc, I have this error msg pops out
jennifer_hostname > vi .cshrc
"/var/tmp/Ex???? : Permission Denied"
jennifer_hostname >
Does any of you encounter this problem before or... (4 Replies)
I'm new to *nixs and I decided to start with FreeBSD.
I downloaded the ISO and installed it successfully, and managed to log in as root.
Now everytime I try to enter into a directory ( I think thats what Im doing) such as /etc or /usr I always will get a permission denied.
Any help is... (2 Replies)
Hi,
I have created symlink under /.
It is /latest Pointing to /home/users/neel_prog_V1.0.
(Note: I have created this symlink so that when version get changed I will need to change only symlink instead of doing changes in /etc/exports.)
I have shared this symlink with NFS. in /etc/exports I... (0 Replies)
Hi,
- I have two solaris 10 servers. One is running nfs server (let's call it server-1) and has a share set through /etc/dfs/dfstab file:
share -F nfs /opt/SHARE (where SHARE directory contains sub-items that I want to share)
- On server-1, I have started the nfs server service and have... (2 Replies)
I am trying to tidy our server and write cron to keep it tidy.
We took on a third party to do some work last year. They were given their own UID/pwd so that they would have limited access. Part of what they wrote created an archive file at the end of every day.
A year on and we don't want... (1 Reply)
I think I must be drain bamaged...
I'm just trying to export an NFS share and mount it on a client. Should be really easy but I'm failing!
Here's the set up:
Server:
OS: Centos 5.3
Name: fileprint-0 (aliases fp00, fs00)
Exported directory: /home/ESE
Client:
OS: Centos 5.3
... (5 Replies)
I have two servers, 82 and 70.
My exports file on 82 reads
/ ...70(rw)
on 70 I have a mountpoint called mnt_for_82
I execute on 70
mount -t nfs -o rw ...82:/ mnt_for_82
I go to server 70 and indeed can read and travers the mounted subdirectories. However, I try... (0 Replies)
Just installed apache 2.2.17 and I can start up the httpd server without any errors. However when I try to access my scripts in /cgi-bin/ I'm getting the following error in error_log:
Can't open perl script "/usr/local/apache2/cgi-bin/ldapsearch.cgi": Permission denied
Premature end of... (4 Replies)
nfs mount: Permission denied
Guy's
in Solaris 9 I'm trying to mount the below mount point as nfs in clinet
mount -F nfs -o rw 171.13.10.20:/shared /app
but I'm getting the below message !!!
bash-2.05# mount -F nfs -o rw 171.13.10.20:/shared /app
nfs mount:... (2 Replies)
Hi
I am administrator in unix
I want make backup folder and file in root directory
I use instruction Cp -r , But the system pear problem
cp: cannot create regular file : Permission denied
Can someone explain me what am I doing wrong??? please...
find other instruction backup folder... (1 Reply)
Discussion started by: xactor
1 Replies
LEARN ABOUT OSX
mount.nfs
MOUNT.NFS(8) System Manager's Manual MOUNT.NFS(8)NAME
mount.nfs, mount.nfs4 - mount a Network File System
SYNOPSIS
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options]
DESCRIPTION
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality.
mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone
command with limited functionality.
remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be
mounted.
Under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. Under earlier Linux kernel versions,
mount.nfs4 must be used for mounting NFSv4 file systems while mount.nfs must be used for NFSv3 and v2.
OPTIONS -r Mount file system readonly.
-v Be verbose.
-V Print version.
-w Mount file system read-write.
-f Fake mount. Don't actually call the mount system call.
-n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making
an entry.
-s Tolerate sloppy mount options rather than fail.
-h Print help message.
nfsoptions
Refer to nfs(5) or mount(8) manual pages.
NOTE
For further information please refer nfs(5) and mount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO nfs(5), mount(8),
AUTHOR
Amit Gud <agud@redhat.com>
5 Jun 2006 MOUNT.NFS(8)