Is it really impossible to force umount on HP-UX


 
Thread Tools Search this Thread
Operating Systems HP-UX Is it really impossible to force umount on HP-UX
# 1  
Old 05-11-2009
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
# 2  
Old 05-11-2009
Are you thinking of mounted NFS?
# 3  
Old 05-11-2009
yes, sorry Smilie
nfs mounted but with link removed. can I umount it without reboot?

Here I've two solution, but I'm not sure they don't produce problems :
1- nfs.client stop/start
2- mv mnttab mnttab.old ; mountall

The problems are :
all other nfs mounted will be re-mounted?
will I cut communication with well-mounted fs?

Last edited by gogol_bordello; 05-11-2009 at 11:19 AM..
# 4  
Old 05-11-2009
Well all depends on what issue you are to deal with...
Usually I expect from someone asking such a question is because he is stuck with a faulty NFS (NFS server down etc...) where its a nightmare whenever someone types bdf of ll etc... and yes since the NFS server isnt responding - ouy are quite in a mess...

What do you call nfs mounted but with link removed?
# 5  
Old 05-11-2009
If is it mounted and the server is responding, then start by seing if you can free the "device" then umounting it:
Code:
fuser -cku <your mountpoint>
umount <your mountpoint>

# 6  
Old 05-11-2009
... one more job en run that I could not kill :-/

server# ps -ef | grep fuser
root xxx xxx 0 xxx pts/xx 0:00 fuser -cku /mounting_point
# 7  
Old 05-11-2009
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:
Code:
/usr/bin/rpcinfo -u servername status
/usr/bin/rpcinfo -u servername llockmgr
/usr/bin/rpcinfo -u servername nlockmgr
/usr/bin/rpcinfo -u clientname status
/usr/bin/rpcinfo -u clientname llockmgr
/usr/bin/rpcinfo -u clientname nlockmgr

If any of these commands returns RPC_TIMED_OUT, the rpc.statd or rpc.lockd process may be
hung.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Impossible to access on /vol1

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

2. UNIX for Advanced & Expert Users

fsck.gfs2 outputs "RG recovery impossible; I can't fix this file system"

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

3. HP-UX

how to force umount

sorry, wrong section, mod please close thread (0 Replies)
Discussion started by: robertngo
0 Replies

4. UNIX for Dummies Questions & Answers

Next to impossible question

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

5. UNIX for Dummies Questions & Answers

Almost impossible question

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

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