Re: Error in umount an ignite logical volume (1350 Views)
Reply
Advisor
Krishna Kumar Swarnkar
Posts: 19
Registered: ‎01-25-2011
Message 1 of 16 (1,376 Views)
Accepted 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.


Acclaimed Contributor
Dennis Handly
Posts: 25,290
Registered: ‎03-06-2006
Message 2 of 16 (1,372 Views)

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?

Advisor
Krishna Kumar Swarnkar
Posts: 19
Registered: ‎01-25-2011
Message 3 of 16 (1,370 Views)

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

Acclaimed Contributor
Dennis Handly
Posts: 25,290
Registered: ‎03-06-2006
Message 4 of 16 (1,364 Views)

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?

 

Advisor
Krishna Kumar Swarnkar
Posts: 19
Registered: ‎01-25-2011
Message 5 of 16 (1,361 Views)

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 .

Acclaimed Contributor
Dennis Handly
Posts: 25,290
Registered: ‎03-06-2006
Message 6 of 16 (1,350 Views)

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?

Advisor
Krishna Kumar Swarnkar
Posts: 19
Registered: ‎01-25-2011
Message 7 of 16 (1,347 Views)

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

Advisor
Krishna Kumar Swarnkar
Posts: 19
Registered: ‎01-25-2011
Message 8 of 16 (1,345 Views)

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

Acclaimed Contributor
Dennis Handly
Posts: 25,290
Registered: ‎03-06-2006
Message 9 of 16 (1,344 Views)

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.)

Acclaimed Contributor
Dennis Handly
Posts: 25,290
Registered: ‎03-06-2006
Message 10 of 16 (1,340 Views)

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

Advisor
Krishna Kumar Swarnkar
Posts: 19
Registered: ‎01-25-2011
Message 11 of 16 (1,339 Views)

Re: Error in umount an ignite logical volume

Tried but bot getting  unmounted

 

root @ TEST: />bdf /var/opt/ignite/recovery
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg01/lvol7    31457280   24793 29467963    0% /var/opt/ignite/recovery
root @ TEST: />umount -f /dev/vg01/lvol7
usage: umount [-V] [-v] { special | directory }
       umount [-F FStype] [-v] -a
umount: return error 1.

Acclaimed Contributor
Dennis Handly
Posts: 25,290
Registered: ‎03-06-2006
Message 12 of 16 (1,330 Views)

Re: Error in umount an ignite logical volume

>/dev/vg01/lvol7    31457280   24793 29467963    0% /var/opt/ignite/recovery
root @ TEST: />umount -f /dev/vg01/lvol7

 

Not sure why that failed.  Try: umount -f /var/opt/ignite/recovery

Advisor
Krishna Kumar Swarnkar
Posts: 19
Registered: ‎01-25-2011
Message 13 of 16 (1,329 Views)

Re: Error in umount an ignite logical volume

Still not getting umount....same error is displayed

 

root @ TEST: />umount -f /var/opt/ignite/recovery
usage: umount [-V] [-v] { special | directory }
       umount [-F FStype] [-v] -a
umount: return error 1.

Acclaimed Contributor
Dennis Handly
Posts: 25,290
Registered: ‎03-06-2006
Message 14 of 16 (1,322 Views)

Re: Error in umount an ignite logical volume

I'm not sure why -f isn't working.  You could try installing the recommended umount patch: PHCO_39674

Advisor
Krishna Kumar Swarnkar
Posts: 19
Registered: ‎01-25-2011
Message 15 of 16 (1,295 Views)

Re: Error in umount an ignite logical volume

 

thanks dennis not able to resolve that issue ...

 

finally i rebootedand issue is resolved ..

 

Regards

Krishna

Advisor
Vivekanandan Somanathan
Posts: 22
Registered: ‎11-18-2004
Message 16 of 16 (830 Views)

Re: Error in umount an ignite logical volume

Hi,

 

Please unshare all the FS listed in /etc/dfstab related to ignite and try umount, it should work !

 

Thanks,

Vivek S

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.