02-26-2002
Check your options, and users.
The machine that exports the files, must give write permissions.
The machine that mounts the dir, must mount -rw.
You may be 'nikk' on two machines, but the user numbers may be different.
Make sure they correspond on all machines.
do man on exportfs and mount, the actual options may vary from system to system
Atle
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I've mounted one of the file systems on another machine manually on /mnt located on my machine , after finishing my work i want to umount this /mnt , but all the time it says
" nfs umount : /mnt : is busy " ,although it's not.
so i tried to stop & start Nfs services manually (Incld :... (4 Replies)
Discussion started by: nikk
4 Replies
2. UNIX for Advanced & Expert Users
I am having problem mounting my nfs mount on my sun solaris 8 through automount using the automaster file. this has been working fine until today, when my workstation tries to mount the nfs
mount the following error is logged in /var/adm/message
NFS lookup failed for server comserv: error 7... (2 Replies)
Discussion started by: hassan2
2 Replies
3. Solaris
I have a NFS share on a Linux server. When I try to mount it on a Solaris 9 server, I get the following message:
nfs mount: <nfs-server-name>: : RPC: Program not registered
I have a few other Sun boxes and I can mount the share on them without any problems. (2 Replies)
Discussion started by: soliberus
2 Replies
4. AIX
hi team
we had a problem in mounting a network file system from source server to target server and we are not able to mount the file system and we checked all the configuration files and we execute the command in the source server
lssrc -a | grep nfsd we found that 2 nfsd in that one is... (5 Replies)
Discussion started by: aixteam
5 Replies
5. AIX
Got a prob..
I am trying to export a directory and mount it on to a server using NFS. My exporting goes fine as I am able to see the shares through "exportfs -v"
But when I am trying to mount the directory on a the client.. I get an error..
"system call error number - 1"
pls help....
... (3 Replies)
Discussion started by: balaji_prk
3 Replies
6. AIX
AIX's NFS client sends requests on high port numbers by default, and
Linux rejects this as the security exposure it is. On AIX i'm use:
nfso -o nfs_use_reserved_ports=1
But how i can setup it in autorun? /etc/rc.local right way ? (1 Reply)
Discussion started by: jess_t03
1 Replies
7. Filesystems, Disks and Memory
I am trying to setup 2 network shares that exist on a server. One of the shares is mounted but when i try to mount the second share I am greeted with:
# mount srv:/data/music /data/music
srv:/data/music: RPCPROG_NFS: RPC: Program not registered
Server Info:
name: srv
#cat /etc/exports:... (0 Replies)
Discussion started by: ezekiel61
0 Replies
8. Solaris
Hi All,
I have shared a directory from Linux machine which will be accessible from other linux servers without any problem. But when I try to access ( ie mount) on other Solaris machine, it is giving below error.
#mount -F nfs IP of nfs server:/share /localmountpoint
nfs mount : mount:... (1 Reply)
Discussion started by: naw_deepak
1 Replies
9. AIX
Hello everyone
I need to share a file system with two Aix boxes, the version is 5.3 tl9.
I create the nfs and I can see the files from both servers, but the problem with one of them is that I can write on the file or If I create a new one I canīt.
On the server that I create the... (5 Replies)
Discussion started by: lo-lp-kl
5 Replies
10. AIX
Hello,
I have a problem with an NFS file system. Both AIX servers are AIX6.1 and uses NFS version 3.
The problem is that at some point the client server cannot connect to the NFS anymore and when i do df -k it displays the message NFS server <server> not responding still trying.
i run the... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
LEARN ABOUT OPENDARWIN
lofs
lofs(7FS) File Systems lofs(7FS)
NAME
lofs - loopback virtual file system
SYNOPSIS
#include <sys/param.h>
#include <sys/mount.h>
int mount (const char* dir, const char* virtual, int mflag, lofs, NULL, 0);
DESCRIPTION
The loopback file system device allows new, virtual file systems to be created, which provide access to existing files using alternate
pathnames. Once the virtual file system is created, other file systems can be mounted within it, without affecting the original file sys-
tem. However, file systems which are subsequently mounted onto the original file system are visible to the virtual file system, unless or
until the corresponding mount point in the virtual file system is covered by a file system mounted there.
virtual is the mount point for the virtual file system. dir is the pathname of the existing file system. mflag specifies the mount options;
the MS_DATA bit in mflag must be set. If the MS_RDONLY bit in mflag is not set, accesses to the loop back file system are the same as
for the underlying file system. Otherwise, all accesses in the loopback file system will be read-only. All other mount(2) options are
inherited from the underlying file systems.
A loopback mount of '/' onto /tmp/newroot allows the entire file system hierarchy to appear as if it were duplicated under /tmp/newroot,
including any file systems mounted from remote NFS servers. All files would then be accessible either from a pathname relative to '/' or
from a pathname relative to /tmp/newroot until such time as a file system is mounted in /tmp/newroot, or any of its subdirectories.
Loopback mounts of '/' can be performed in conjunction with the chroot(2) system call, to provide a complete virtual file system to a
process or family of processes.
Recursive traversal of loopback mount points is not allowed. After the loopback mount of /tmp/newroot, the file /tmp/newroot/tmp/newroot
does not contain yet another file system hierarchy; rather, it appears just as /tmp/newroot did before the loopback mount was performed
(for example, as an empty directory).
Examples
lofs file systems are mounted using:
mount -F lofs /tmp /mnt
SEE ALSO
lofiadm(1M), mount(1M), chroot(2), mount(2), sysfs(2), vfstab(4), lofi(7D)
WARNINGS
Loopback mounts must be used with care; the potential for confusing users and applications is enormous. A loopback mount entry in
/etc/vfstab must be placed after the mount points of both directories it depends on. This is most easily accomplished by making the loop-
back mount entry the last in /etc/vfstab.
SunOS 5.10 10 Apr 2001 lofs(7FS)