how to force umount


 
Thread Tools Search this Thread
Operating Systems HP-UX how to force umount
# 1  
Old 04-21-2009
how to force umount

sorry, wrong section, mod please close thread

Last edited by robertngo; 04-21-2009 at 06:44 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Umount is not reflecting in losetup.

Hi, initially i will mount a image using loop device using below command mount -n -o loop,noatime,ro -t squashfs /mnt/fsh/bt.img /opt/app/test then "mount" reflects with below /dev/loop0 on /opt/app/test type squashfs (ro,noatime) i will then umount using below commnd, umount is... (0 Replies)
Discussion started by: successlin
0 Replies

2. UNIX for Dummies Questions & Answers

Umount CIFS

hi guys I have to umount a CIFS from a Windows machine...but it's been imposible there is one special task /sbin/umount.cifs /mondobackup that task cannot be kill...so I cannot umount the unit any idea how to kill this and umount this CIFS share? by the way I've tried umount... (5 Replies)
Discussion started by: kopper
5 Replies

3. UNIX for Dummies Questions & Answers

accidentally umount -a

Hi all, I accidentally unmounted filesystems using umount -a command. How to recover from this. Please help. Thanks in advance! when i try to use mount -a i got the following output. # mount -a mount: /dev/vg00/lvol05 already mounted or /opt busy mount: /dev/vg00/lvol07 already... (4 Replies)
Discussion started by: lramsb4u
4 Replies

4. Linux

Is umount -l dangerous?

I had a umount busy issue, that the usual fuser -mk did not solve, I did a umount -l and was able to unmount the device, I then got in trouble by the storage team staff: Here was a snippet of their response: Using "umount -l" is a potentially dangerous act. The command combination for a lazy... (8 Replies)
Discussion started by: pastajet
8 Replies

5. HP-UX

Is it really impossible to force umount on HP-UX

Hello, yeah... here my question : Exist some way to force umount on HP other than reboot? Thanks gb (12 Replies)
Discussion started by: gogol_bordello
12 Replies

6. Solaris

force umount in solaris 2.6

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

7. Solaris

umount is failing

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

8. UNIX for Advanced & Expert Users

umount help

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

9. UNIX for Dummies Questions & Answers

umount error

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

10. UNIX for Dummies Questions & Answers

umount

: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
Login or Register to Ask a Question
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)