Operating System - HP-UX
1748148 Members
3743 Online
108758 Solutions
New Discussion

Re: Error in umount an ignite logical volume

 
SOLVED
Go to solution

Error in umount an ignite logical volume.......

I had configured an ignite server ....but now iam trying to remove the mount point created for ignite server iam getting the given error.
Please find herewith the logs given as under.
root @ TEST: />uname -a
HP-UX TEST B.11.31 U 9000/800 1202260923 unlimited-user license
root @ TEST: />bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    2097152  345128 1738400   17% /
/dev/vg00/lvol1    1014648   91368  821808   10% /stand
/dev/vg00/lvol8    11010048 1362320 9573464   12% /var
/dev/vg00/lvol7    5242880 2288112 2931752   44% /usr
/dev/vg00/lvol6    3145728 1667400 1468448   53% /tmp
/dev/vg00/oracle   16777216 9931805 6428272   61% /oracle
/dev/vg00/lvol5    6291456 4076944 2197264   65% /opt
/dev/vg00/lvol4    3145728   30688 3095576    1% /home
/dev/vg01/lvol3    23068672 19857181 3010822   87% /drmdbZA
/dev/vg01/lvol6    52428800 44179480 7733783   85% /drmdbUSCA
/dev/vg01/lvol1    68157440 64710356 3231680   95% /drmdbSG
/dev/vg01/lvol2    44040192 39112037 4620194   89% /drmdbHK
/dev/vg01/lvol4    41943040 36207710 5376918   87% /drmdbBH
/dev/vg01/lvol5    31457280 26738985 4423446   86% /drmdbBE
DevFS                    3       3       0  100% /dev/deviceFileSystem
/dev/vg01/lvol7    31457280   24793 29467963    0% /var/opt/ignite/recovery
root @ TEST: />umount /var/opt/ignite/recovery
umount: cannot unmount /dev/vg01/lvol7 : Device busy
umount: return error 1.
root @ TEST: />fuser -cu /var/opt/ignite/recovery
/var/opt/ignite/recovery:
root @ TEST: />whereis lsof
lsof:
root @ TEST: />fuser -kuc /var/opt/ignite/recovery
/var/opt/ignite/recovery:
root @ TEST: />umount /var/opt/ignite/recovery
umount: cannot unmount /dev/vg01/lvol7 : Device busy
umount: return error 1.


15 REPLIES 15
Dennis Handly
Acclaimed Contributor

Re: Error in umount an ignite logical volume

You need to install lsof to find which process has it open.

Are you exporting this filesystem?

Re: Error in umount an ignite logical volume

Okay so can u please share the process to install lsof ....

 

I jus want to remove this file system ..

 

 

Regards

 

Krishna

Dennis Handly
Acclaimed Contributor

Re: Error in umount an ignite logical volume

>please share the process to install lsof

 

Download and us swinstall:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.84/

 

>I just want to remove this file system

 

Are you using share(1m) to export the filesystem?

 

Re: Error in umount an ignite logical volume

I Had installed lsof

 

please find the details of logs....

 

root @ TEST: />whereis lsof
lsof: /usr/local/bin/lsof /usr/local/man/man8/lsof.8
root @ TEST: />/usr/local/bin/lsof /var/opt/ignite/recovery
root @ TEST: />/usr/local/bin/lsof | grep -i /var/opt/ignite/recovery
root @ TEST: />

 

there isnt any process showing which are using by filesystem...

 

Ihadnt export filesystem........and dont know anything about share(1m) ,on the same VG some more filesystem are present .

Dennis Handly
Acclaimed Contributor

Re: Error in umount an ignite logical volume

>/usr/local/bin/lsof /var/opt/ignite/recovery

 

Ok, it doesn't find anything.

 

>I hadn't exported filesystem.

 

Then how were you going to make it an ignite server?

 

>don't know anything about share(1m)

 

What's in /etc/dfs/sharetab?

Re: Error in umount an ignite logical volume

Under sharetab there is an entry given as under

 

root @ TEST: />cat /etc/dfs/sharetab
/var/opt/ignite/clients -       nfs     anon=2

Re: Error in umount an ignite logical volume

Also there is an entry under dfstab file

 

root @ TEST: />cat /etc/dfs/dfstab
#       place share(1M) commands here for automatic execution
#       on entering init state 3.
#
#       share [-F fstype] [ -o options] [-d "<text>"] <pathname>
#       .e.g,
#       share  -F nfs  -o rw=engineering  -d "home dirs"  /home
share -F nfs -o anon=2 /var/opt/ignite/clients

Dennis Handly
Acclaimed Contributor

Re: Error in umount an ignite logical volume

>/var/opt/ignite/clients -       nfs     anon=2

 

What does "bdf /var/opt/ignite/clients" show?

(It's not exactly the filesystem in question, so it could be just /var.)

Dennis Handly
Acclaimed Contributor

Re: Error in umount an ignite logical volume

If you can't figure out who is mounting it, you could try to unmount it with:

umount -f /dev/vg01/lvol7