11-05-2008
Does your system have getmntent()? That will tell you if the NFS filesystem is mounted.
Also stavfs() is a better choice for filesystem information.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I try to share a directory from a wortstation to a server.
the share command was no problem.
Solaris 8
on mars
share -F nfs -o rw /dir/dir2
on the server
mount mars:/dir/dir2 /mount_point
RPC: Program not registered <--- What is the meaning of this ?
Thanks for you help ! (2 Replies)
Discussion started by: joerg
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I'm trying to create an NFS mount on server1 to server2. From the man pages I think I'm doing it right:
mount server2:/dev/vg60/lvol607 /net1
nfs mount: server1:/dev/vg60/lvol607: Permission denied
Do I need to provide login credentials to server 2 somehow? What am I missing?
... (1 Reply)
Discussion started by: FredSmith
1 Replies
3. Filesystems, Disks and Memory
Hi All,
Can any one help in Mounting remote filesystems with NFS?
Thanks in advance.
Regards,
Suresh. (4 Replies)
Discussion started by: srvaka1
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time.
Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem..
Can... (1 Reply)
Discussion started by: KhawHL
1 Replies
5. UNIX for Dummies Questions & Answers
I have a NAS server that needs to have the share mounted on a unix server. I am not that familiar with NFS mounts....any help on what I have to do on the UNIX box...thanks! (7 Replies)
Discussion started by: andrewd
7 Replies
6. Solaris
hi All,
This is the first time that i would be doing a NFS mount.
Its solaris 10 machine on which i would be doing this.
Can any of you gurus help me with the steps that should be taken. (3 Replies)
Discussion started by: sankasu
3 Replies
7. OS X (Apple)
Hello!
Im trying to mount an nfs share. But got a bit of a problem.
The problem im having is that i try to mount
The problem is that the my.server.com/pub/home is owned by root.
I know i can make a mount point my.server.com://pub/home/username - > /pub/home
But that means i have to do... (1 Reply)
Discussion started by: dozy
1 Replies
8. IP Networking
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies
9. UNIX for Dummies Questions & Answers
Hi
I have 2 servers, one is running on SunOS SPARC and the other is running on GNU Linux. Since my Linux is very poor I am not sure on how to mount a NFS from SunOS to Gnu Linux. Please help!
FS at Host Server:
root@rocux4 # ls -ld /data/PCFILES/GTPROD/DWHFILES.NEW
drwxrwxrwx 4 nobody ... (6 Replies)
Discussion started by: hedkandi
6 Replies
10. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
LEARN ABOUT DEBIAN
umount.nfs
UMOUNT.NFS(8) System Manager's Manual UMOUNT.NFS(8)
NAME
umount.nfs, umount.nfs4 - unmount a Network File System
SYNOPSIS
umount.nfs dir [-fvnrlh ]
DESCRIPTION
umount.nfs and umount.nfs4 are a part of nfs(5) utilities package, which provides NFS client functionality.
umount.nfs4 and umount.nfs are meant to be used by the umount(8) command for unmounting NFS shares. This subcommand, however, can also be
used as a standalone command with limited functionality.
dir is the directory on which the file system is mounted.
OPTIONS
-f Force unmount the file system in case of unreachable NFS system.
-v Be verbose.
-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 delet-
ing an entry.
-r In case unmounting fails, try to mount read-only.
-l Lazy unmount. Detach the file system from the file system hierarchy now, and cleanup all references to the file system as soon as it
is not busy anymore.
-h Print help message.
NOTE
For further information please refer nfs(5) and umount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO
nfs(5), umount(8),
AUTHOR
Amit Gud <agud@redhat.com>
6 Jun 2006 UMOUNT.NFS(8)