Operating System - HP-UX
1832904 Members
2863 Online
110048 Solutions
New Discussion

Re: Unable to unmount directory to perform extendfs

 
SOLVED
Go to solution
Jim Allan
Advisor

Unable to unmount directory to perform extendfs

hi all,

on a production (therefor limited downtime) HP UX box, i've been trying to perform a lvextend and extendfs, however, I am unable to umount the device, as it constatly complains that it is busy.. however fuser gives the following output

[root@******]# fuser -u /data
/data:

[root@******]#

I thought this meant there was no processes using the mountpoint?

Why can't I umount it?

There were no other users logged in, and I WASN'T in the /data directory at the time!

Help, we need more disk space!!!

ja
9 REPLIES 9
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Unable to unmount directory to perform extendfs

Hi Jim,

'lsof' is much better than 'fuser'.

I would try running 'lsof /data' and see if there are any processes associated with it. I you don't have lsof installed, then search the forums for lsof and you will find sources for it. It's a good have to tool.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bharat Katkar
Honored Contributor

Re: Unable to unmount directory to perform extendfs

Find the lsof tar file attached..
Hope that helps.
Regards,
You need to know a lot to actually know how little you know
Jim Allan
Advisor

Re: Unable to unmount directory to perform extendfs

thanks guys,

[root@******]# ./lsof
lsof: WARNING: compiled for HP-UX release B.11.00; this is B.11.11.
lsof: can't read proc table info

i'll download the latest and compile

and let you know what the verdict is
Jim Allan
Advisor

Re: Unable to unmount directory to perform extendfs

i can't seem to find the source for it, and the binaries don't like me


[root@******]# ./lsof
Segmentation fault

Sยภเl Kย๓คг
Respected Contributor

Re: Unable to unmount directory to perform extendfs

Hi Jim
Look at this You can download from this site
Index of /security/host-security/lsof/binaries/hpux/B.11.00

regards
SK
Your imagination is the preview of your life's coming attractions
Bharat Katkar
Honored Contributor

Re: Unable to unmount directory to perform extendfs

Hi,
Can you try out this once.

# fuser -kuc /data
# umount /data

See if that helps.
Regards,
You need to know a lot to actually know how little you know
Muthukumar_5
Honored Contributor

Re: Unable to unmount directory to perform extendfs

You are trying 11.0 version lsof on 11.11
version of hp-ux.

Get lsof for your version here.

http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.72/

HTH.
Easy to suggest when don't know about the problem!
Sridhar Bhaskarla
Honored Contributor

Re: Unable to unmount directory to perform extendfs

Hi Jim,

Try the site

http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/

Also, try the LV instead of the mount point 'fuser -k /dev/vgxx/lvolx'.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jim Allan
Advisor

Re: Unable to unmount directory to perform extendfs

Thanks, the last lsof given works

I can see a few processes using /data that weren't seen from fuser

I will try again in the next change window and report my progress

THanks!