Operating System - HP-UX
1834170 Members
2677 Online
110064 Solutions
New Discussion

Re: Function check_and_mount - Cannot mount filesystem

 
SOLVED
Go to solution
WSS
Frequent Advisor

Function check_and_mount - Cannot mount filesystem


Hi All,

For some reason I cannot start a package within service guard, and it's telling me it's because it's trying to mount a filesystem that's already mounted - But the filesystem is certainly not mounted, so why is it saying this???

*Extract from pkg log file*


Feb 8 11:52:20 - Node "ugos388": Mounting /dev/vgclwss/lvwsst01 at /wssprod
vxfs mount: /dev/vgclwss/lvwsst01 is already mounted, /wssprod is busy,
allowable number of mount points exceeded
ERROR: Function check_and_mount
ERROR: Failed to mount /dev/vgclwss/lvwsst01
Feb 8 11:52:20 - Node "ugos388": Deactivating volume group vgclwss
Deactivated volume group in Exclusive Mode.
Volume group "vgclwss" has been successfully changed.

########### Node "ugos388": Package start failed at Wed Feb 8 11:52:20
GMT 2006 ###########

root@ugos388# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 267840 254496 51% /
/dev/vg00/lvol1 311296 219472 91152 71% /stand
/dev/vgapp/lvbackup
10485760 1504815 8419691 15% /wssbackup
/dev/vg00/lvol8 4718592 2611504 2090808 56% /var
/dev/vg00/lvol9 3145728 964504 2044899 32% /var/adm/sw
/dev/vg00/lvol10 1572864 16919 1458770 1% /var/adm/crash
/dev/vg00/lvol7 4866048 2584272 2264008 53% /usr
/dev/vg00/lvol4 1048576 703856 342984 67% /tmp
/dev/vg00/lvol6 4292608 2492592 1786000 58% /opt
/dev/vgapp/lvnsr 524288 207616 296919 41% /opt/networker
/dev/vgapp/lvapp 10485760 6653260 3593018 65% /opt/app
/dev/vg00/lvol5 524288 9344 510992 2% /home
root@ugos388#


any ideas anyone?
Thanks in advance....
7 REPLIES 7
Steven E. Protter
Exalted Contributor
Solution

Re: Function check_and_mount - Cannot mount filesystem

Shalom,

/dev/vgclwss/lvwsst01 is already mounted, /wssprod is busy,
allowable number of mount points exceeded

I would surmise that the folder /wsprod is busy or the activation of volume group /dev/vgclwss failed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Luk Vandenbussche
Honored Contributor

Re: Function check_and_mount - Cannot mount filesystem

Hi,

Probably someone is positioned in the directory /wssprod.

Try to find out who (check the currently login session)

If you cannot find it, then i am afraid you have to reboot the server to clear the mountpoint
Chan 007
Honored Contributor

Re: Function check_and_mount - Cannot mount filesystem

Hi,

While the cluster gone it would not have goes properly, you need to activate the VG

use vgchange -a y -s and try to mount manaully once.

Then once again start the pkg

Chan
Mark Nieuwboer
Esteemed Contributor

Re: Function check_and_mount - Cannot mount filesystem

Hi,

Do you start this package for the first time on the server. If so make sure you have the mount point in place. Futher more do an fuser on the filesytem where it had run.
Second if nothing works.
Tyr to do the following.
vgchange -c n /dev/vgclwss/lvwsst01
vgchange -a y /dev/vgclwss/lvwsst01
mount /dev/vgclwss/lvwsst01 mountpoint.
If you can mount the filesystem then unmount.
vgchange -a n /dev/vgclwss/lvwsst01
vgchange -c y /dev/vgclwss/lvwsst01
vgchange -e y /dev/vgclwss/lvwsst01

After this try to start the package again.

grtz. Mark
WSS
Frequent Advisor

Re: Function check_and_mount - Cannot mount filesystem


The problem is now sorted....

Thanks to Luk who nailed it. Someone was postioned in /wssprod, making it busy, therefore not being able to mount it.

Thanks again for all your answers, and special thanks to Luk.

Regards,
WSS
Frequent Advisor

Re: Function check_and_mount - Cannot mount filesystem


And also many thanks to Steven who gave the same answer.... Thanks alot
WSS
Frequent Advisor

Re: Function check_and_mount - Cannot mount filesystem


Problem solved