you are in / arent you when you type fuser?
If it is trying (as it seems) I supect you have also an issue with the NFS server:
to make sure rpc.statd and rpc.lockd are available and responding to RPC requests:
If any of these commands returns RPC_TIMED_OUT, the rpc.statd or rpc.lockd process may be
hung.
: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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT OSF1
umount
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)