05-11-2009
ops... I know, it's my fault ... I've forget to say that the physical point was removed and no more avaiable.
That means: what I'm trying to do is to umount a mount point looking at a nfs no more existing. I've all the process like bdf and fuser freezed.
I think a stop/start of nfs.client or a mountall will help me, but I'm worry about loosing other active mounted points.
tks vbe for your interesting
gb
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: Twofold question for you unix "guru's"
1) When attempting to use the umount command I get a message stating that the partition that I want to unmount is busy. Is there another command that I need to use prior to the umount command to clear the partition of activity????? ... (2 Replies)
Discussion started by: rod23
2 Replies
2. UNIX for Dummies Questions & Answers
the program as follow:
mount /dev/fd0135ds18 /mnt
cd /mnt
touch file1
cat /file2 >/mnt/file1
umount /dev/fd135ds18
when error
tell device busy
could you tell me the reason? (1 Reply)
Discussion started by: fresh
1 Replies
3. UNIX for Advanced & Expert Users
hi all,
I inherit a Solaris7 system with /home mounted via a share from the NFS server. When I look at mnttab, there are two entries mounted under /home. Let's say they are server:/home/a and server:/home/b. I would like to maintain /home/a but not /home/b. However, I just don't know where... (4 Replies)
Discussion started by: andrec
4 Replies
4. Solaris
I am trying to umount a NFS share.
When I do the following:
# umount syrupg21
umount: /oebs/syrupg21: device is busy
device bussy so I like to check what is working on the system....
# fuser -muv /oebs/syrupg21/
#
So no locks should be there... any clue?
Regards,
Johan... (3 Replies)
Discussion started by: suntac
3 Replies
5. Solaris
Hi All,
Can someone share with me how to force umount in solaris 2.6?
Thanks
Leong (3 Replies)
Discussion started by: bkleong
3 Replies
6. UNIX for Dummies Questions & Answers
Would anyone know how to get a directory listing of all files in a directory as well as all the files in their respective subdirectories and save the listings to a file? I realize this is tricky. (12 Replies)
Discussion started by: danceofillusion
12 Replies
7. UNIX for Dummies Questions & Answers
I noticed that I have a print job that is hung up (lpstat -o) due to a broken printer. Is there a way to re-route the printed information into a text file? Or does it exist somewhere in UNIX as a text file? (5 Replies)
Discussion started by: danceofillusion
5 Replies
8. HP-UX
sorry, wrong section, mod please close thread (0 Replies)
Discussion started by: robertngo
0 Replies
9. UNIX for Advanced & Expert Users
I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck:
fsck.gfs2 -y /dev/vg_01/uss_vol... (0 Replies)
Discussion started by: king_hippo
0 Replies
10. Solaris
hi team,
I'm a new with Solaris system and i'm a french, so my english will not be very good but I'll try to explain my problem.
I have a Sun server SunFire X4170 with Solaris 10 as OS.
since last week I am not able to access on /vol1 anymore. And bellow are the warning messages which are... (20 Replies)
Discussion started by: cerco
20 Replies
umount(3) Library Functions Manual umount(3)
NAME
umount - Unmounts a file system
LIBRARY
System V Compatibility Library (libsys5.a)
SYNOPSIS
#include <sys/mount.h>
int umount(
char *spec );
PARAMETERS
spec Points to the pathname of the special file or file system to be unmounted.
DESCRIPTION
The umount() function unmounts a previously-mounted file system contained on the block special file pointed to by the spec parameter. When
the file system is unmounted, the directory mount point where the file system was mounted returns to its normal interpretation.
The umount() function can only be invoked by the superuser.
NOTES
Two umount() functions are supported by the Tru64 UNIX operating system: the BSD umount() and the System V umount(). The default umount()
function is the BSD umount(). To use the version of umount() documented on this reference page, you must link with the libsys5 library
before you link with libc.
RETURN VALUE
The umount() function returns 0 (zero) if the file system was successfully unmounted. Otherwise, -1 is returned and errno is set to indi-
cate the error.
ERRORS
If the umount() function fails, errno may be set to one of the following values:
[EPERM] The effective user ID of the calling process is not root.
[ENOENT] The spec parameter points to a pathname that does not exist.
[ENOTDIR] A component of the path prefix of spec is not a directory.
[ENOTBLK] The device identified by spec is not a block-special device.
[ENXIO] The device identified by spec does not exist.
[EBUSY] A file on the device pointed to by the spec parameter is busy.
[EINVAL] The device pointed to by the spec parameter is not mounted.
RELATED INFORMATION
Commands: mount(8) delim off
umount(3)