It seems to me that if I have a filesystem / directory that I want everyone to be able to see and have access to I need to mount using NFS.
Before planning any mount, you must first share that filesystem on the server owning the filesystem/directory.
Quote:
Next that mounted filesystem should be listed in the /etc/mnttab on each of the machines that will have access to it (Shared I guess is a good term).
Here you are talking about the client side so mounted is the good term (thus mnttab).
Quote:
So, now if I am a user on machine C I can access the mounted filesystem, however, I do not really know as a user on machine C where the filesystem actually resides. So, as a user, how can I find out where the file actually resides?
This was already answered by scottn:
should tell you if somefile is mounted from some remote server.
I would like to know if there is a command or set of commands that I can run to verify that there are no 'extraneous' nfs mounted filesystems on our server. I didn't see anything in doing a search on NFS.
We think that we may have some filesystems that are still nfs mounted when the link should... (3 Replies)
Hello,
I have a backup script that backs up my system to a nfs mounted file system. The mount point on my local system is /backup.
I want my script to check whether the nfs file system is mounted on /backup before actually backing anything up. Even if the nfs file system was NOT mounted,... (2 Replies)
Hello all,
We're using JET to build our systems.. I'm in the process of needing to build a centrally located JET box with access to all our networks rather that 2 or 3 dotted around. Part of the means I need to locate the boot & OS images on an NFS mount (via NETAPP filer)..
However in the... (1 Reply)
Hi,
For a new requirement, we are trying to use NFS mounted directory as the buffer (TMP_DIR) for untar.
Target OS- VxWorks
Host OS - Windows Embedded.
mounted a directory in wondows onto VxWorks.
During untar process of GNU we come across utime, for chaning the time stamp of the... (0 Replies)
Hi!
I'm experiencing some disturbing problems with a machine at work.
I've got about 20 users and of which 15 uses VNC to connect to the machine for working with GNOME. The problem is that after a while it seems like the homedir get some nfs stales or something, gnome processes hangs and so... (0 Replies)
Hi,
I have some filesystem which is nfs mounted and shared to other servers.
Nfs server name= nfsserver (here filesystem is locally mounted)
server name where filesystem is shared = sharedserver1 and sharedserver2
filesystem which is shared = /filesystem1
when i am checking utilization by... (1 Reply)
Hi
we have couple of nfs mounts between various linux servers. Recently i was wondering how to improve the performance by altering the parameters "msize" and "rsize" for nfs.
In my machine i have determined the NFSSVC_MAXBLKSIZE_V2 = 8*1024 but kernel 2.6 supports upto 32k Optimizing NFS... (0 Replies)
Hi All,
I created a nfs share in the server(Solaris 10) with the following command and also updated the dfstab file
share -F nfs -o rw=server_name2,anon=0 /to_share
And then in the client(solaris 10) added the following command to mount the share
mount -F nfs server_name1:/to_share... (4 Replies)
Hi,
I making a script to check nfs mount and unmount options.
After various findings, i didn't get any solution for that.
Can you please help me in making the script.
1) I have used,
if grep -qs '/var/JETSHARE' /proc/mounts; then
echo "It's mounted."
else
echo "It's not mounted.
... (2 Replies)
Hi,
I have exported a few nfs mounts from one server to the nfs clients.
This is my nfs server dfstab :
# cat /etc/dfs/dfstab
# place share(1M) commands here for automatic execution
# on entering init state 3.
#
# share <pathname>
# .e.g,
# share -F... (3 Replies)
Discussion started by: anaigini45
3 Replies
LEARN ABOUT V7
mount
MOUNT(2) System Calls Manual MOUNT(2)NAME
mount, umount - mount or remove file system
SYNOPSIS
mount(special, name, rwflag)
char *special, *name;
umount(special)
char *special;
DESCRIPTION
Mount announces to the system that a removable file system has been mounted on the block-structured special file special; from now on, ref-
erences to file name will refer to the root file on the newly mounted file system. Special and name are pointers to null-terminated
strings containing the appropriate path names.
Name must exist already. Name must be a directory (unless the root of the mounted file system is not a directory). Its old contents are
inaccessible while the file system is mounted.
The rwflag argument determines whether the file system can be written on; if it is 0 writing is allowed, if non-zero no writing is done.
Physically write-protected and magnetic tape file systems must be mounted read-only or errors will occur when access times are updated,
whether or not any explicit write is attempted.
Umount announces to the system that the special file is no longer to contain a removable file system. The associated file reverts to its
ordinary interpretation.
SEE ALSO mount(1)DIAGNOSTICS
Mount returns 0 if the action occurred; -1 if special is inaccessible or not an appropriate file; if name does not exist; if special is
already mounted; if name is in use; or if there are already too many file systems mounted.
Umount returns 0 if the action occurred; -1 if if the special file is inaccessible or does not have a mounted file system, or if there are
active files in the mounted file system.
ASSEMBLER
(mount = 21.)
sys mount; special; name; rwflag
(umount = 22.)
sys umount; special
MOUNT(2)