05-17-2011
This question is related to the unmount issue. In Linux there is a file /etc/mtab. If you remove the entry of a file system from this file, the file system will not be displayed in the df output. So I wanted to know is there any similar way in AIX to disable reading/scanning of a file system by df?
The main issue here is how to unmount the NFS file system when the host server has crashed?
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
We have an NFS problem :
when we try to automount or mount a share file system to a client we have the following error :
NFS acces failed for server xxxxx : error 7 (RPC : Authentication error).
We've have this error after the reboot of the client.
Rerun the automount daemon... (1 Reply)
Discussion started by: christophe
1 Replies
2. 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
3. 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
4. Solaris
this is existing issue for this nfs client, which mounts windows exported
file system, and this is only one UNIX box has this problem, other boxes are
fine.
Here is from messages file.
Jan 24 03:11:10 venus nfs: NFS mknod failed for
server arc: error 2 (RPC: Can't decode result)
Jan... (0 Replies)
Discussion started by: steeles
0 Replies
5. 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
6. Solaris
Hi
When trying to mount a database from Solaris, we get the error:
Feb 10 09:27:22 SUNTEST nfs: NFS lookup failed for server netapp: error 11 (RPC: Server can't decode arguments)
Feb 10 09:27:27 SUNTEST nfs: NFS getattr failed for server netapp: error 11 (RPC: Server can't decode... (0 Replies)
Discussion started by: wbdevilliers
0 Replies
7. Red Hat
Hi There,
I have been googling for this error and try solution provided but still not avail to resolve Kickstart Issue.
Any expert have encounter this problem? Thanks.
Regards,
Regmaster (4 Replies)
Discussion started by: regmaster
4 Replies
8. Solaris
I recently ran the Solaris 10 upgrade 10 and everything went fine. About 2 months later after rebooting and getting ready to load the latest upgrade that came out, I am getting this error.
ERROR: svc:/system/filesytem/root: default failed to mount /usr (see 'svc -x' for details)
... (6 Replies)
Discussion started by: drew_1980
6 Replies
9. UNIX for Dummies Questions & Answers
Hello World,
We have a software repository server in our environment which we use as an NFS server.
Now this has been going on well before I was hired. Now, I observed many users not unmounting the NFS resources after their use. I ran showmount and it showed 513 current sessions.
:wall: Is... (7 Replies)
Discussion started by: satish51392111
7 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 REDHAT
umount
UMOUNT(8) Linux Programmer's Manual UMOUNT(8)
NAME
umount - unmount file systems
SYNOPSIS
umount [-hV]
umount -a [-dflnrv] [-t vfstype] [-O options]
umount [-dflnrv] dir | device [...]
DESCRIPTION
The umount command detaches the file system(s) mentioned from the file hierarchy. A file system is specified by giving the directory where
it has been mounted. Giving the special device on which the file system lives may also work, but is obsolete, mainly because it will fail
in case this device was mounted on more than one directory.
Note that a file system cannot be unmounted when it is `busy' - for example, when there are open files on it, or when some process has its
working directory there, or when a swap file on it is in use. The offending process could even be umount itself - it opens libc, and libc
in its turn may open for example locale files. A lazy unmount avoids this problem.
Options for the umount command:
-V Print version and exit.
-h Print help message and exit.
-v Verbose mode.
-n Unmount without writing in /etc/mtab.
-r In case unmounting fails, try to remount read-only.
-d In case the unmounted device was a loop device, also free this loop device.
-a All of the file systems described in /etc/mtab are unmounted. (With umount version 2.7 and later: the proc filesystem is not
unmounted.)
-t vfstype
Indicate that the actions should only be taken on file systems of the specified type. More than one type may be specified in a
comma separated list. The list of file system types can be prefixed with no to specify the file system types on which no action
should be taken.
-O options
Indicate that the actions should only be taken on file systems with the specified options in /etc/fstab. More than one option type
may be specified in a comma separated list. Each option can be prefixed with no to specify options for which no action should be
taken.
-f Force unmount (in case of an unreachable NFS system). (Requires kernel 2.1.116 or later.)
-l Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is
not busy anymore. (Requires kernel 2.4.11 or later.)
THE LOOP DEVICE
The umount command will free the loop device (if any) associated with the mount, in case it finds the option `loop=...' in /etc/mtab, or
when the -d option was given. Any pending loop devices can be freed using `losetup -d', see losetup(8).
FILES
/etc/mtab table of mounted file systems
SEE ALSO
umount(2), mount(8), losetup(8).
HISTORY
A umount command appeared in Version 6 AT&T UNIX.
Linux 2.0 26 July 1997 UMOUNT(8)