?
Solved

How to kill umount procecess hangs by PV Status unavailable. Hp-UX 11i vxfs

Posted on 2006-06-29
7
Medium Priority
?
2,990 Views
Last Modified: 2013-12-16
Hi,
We have problems with umount proccess:
 root 13445     1  0  Jun 26  ?         0:00 /sbin/fs/vxfs/umount /dev/vge-findes/lvol1 /nfsfindes

We need to kill them, but not responding "kill -9 pid"

The vgdisplay are:

VG Name                     /dev/vge-findes
VG Write Access             read/write
VG Status                   available
Max LV                      255
.
.
.
.
 --- Logical volumes ---
   LV Name                     /dev/vge-findes/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            491072
   Current LE                  15346
.
.
.
 --- Physical volumes ---
   PV Name                     /dev/dsk/c14t5d0
   PV Status                   unavailable
   Total PE                    1279
   Free PE                     0
   Autoswitch                  On

   PV Name                     /dev/dsk/c14t5d1
   PV Status                   unavailable
   Total PE                    1279
   Free PE                     0
   Autoswitch                  On

   PV Name                     /dev/dsk/c14t5d2
   PV Status                   unavailable
   Total PE                    1279
.
.
.
.
Syslog :

Jun 26 11:28:49 fcprod1 vmunix:  Device c14t6d0 busy with openCount=-1,cannot destroy path to stale details and update
                         the new details 2/0/4/1/0.1.2.0.0.6.1 hsx
Jun 26 11:28:49 fcprod1 vmunix:  Device c14t6d0 busy with openCount=-1,cannot destroy path to stale details and update
                         the new details 2/0/4/1/0.1.3.0.0.6.1 hsx


.
.
.
.

The disk was removed from the server without destroyed the lv y vg.
Another thing to do besides to reboot?

Thanks.



0
Comment
Question by:maac001
4 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 336 total points
ID: 17026177
there seems to be at least one process which has a handle on that mount
use lsof to identify this process and stop it first, then you should be able to terminate your umount
0
 
LVL 38

Assisted Solution

by:yuzh
yuzh earned 332 total points
ID: 17028375
use "fuser -c -k" to kill all the process which using the filesystem, then umount it.

eg:
fuser -c -k /mount-point-dirname
umount /mount-point-dirname

man fuser
to learn more details.
0
 
LVL 6

Assisted Solution

by:JJSmith
JJSmith earned 332 total points
ID: 17118892

Judging by the mountpoint name - I would say this volume is being used by NFS.

You should be using nfs_umount or something similar for your system - it's possible that a remote system is using your local volume and you should investigate NFS server and client commands first.

Even if it's not NFS - you still have a problem looking at your VGDISPLAY - because all your disks are offline

Cheers
JJ
0
 

Expert Comment

by:phatdee
ID: 17387173
cd /
umount -f /mount/point
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month9 days, 2 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question