Operating System - HP-UX
1851258 Members
3470 Online
104057 Solutions
New Discussion

unable to mount on production Urgent !!!!

 
subodhbagade
Regular Advisor

unable to mount on production Urgent !!!!

hi ,

i am getting the following error while mounting the file system

(1)# mount /dev/lathprd/lvol22 /usr/sap
vxfs mount: /dev/lathprd/lvol22 is already mounted, /usr/sap is busy,
or allowable number of mount points exceeded


(2)# fuser -ku
/usr/sap: 20881c(prdadm)

(3)# kill 20881
kill: 20881: The specified process does not exist.
# kill -9 20881c
sh: 20881c: Specify a process identifier or a %job number.




(4) cat /etc/fstab | grep /dev/lathprd/lvol22
/dev/lathprd/lvol22 /usr/sap vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2


please suggest as i am not able to mount /usr/sap due to which no user can able to login SAP and this is Production server.

kindly help.


regards,
subodh


4 REPLIES 4
VK2COT
Honored Contributor

Re: unable to mount on production Urgent !!!!

Hello,

a) Maybe there is some user that cd-ed into
/usr/sap. That is why you can get the
message "is busy". Try to execute the
following:

# fuser -f -uk /usr/sap

b) The other possibility is that you already
mounted another lvol in /usr/sap. That is why
you can get the message "already mounted" or
"maximum mount points exceeded".

Did you check:

# bdf

c) Check the mcontents of /etc/mnttab.
In the worst case, move the file aside
and recreate it.

This should be agood start to help.

Cheers,

VK2COT


VK2COT - Dusan Baljevic
R.K. #
Honored Contributor

Re: unable to mount on production Urgent !!!!

Hi Subodh,

Go to /usr/sap and see if you can find "lost+found" there. If it is there that means something is mounted on this directory.

Another thing is to check through bdf for /dev/lathprd/lvol22 mounted or not, may be it is mounted somewhere else.

>># kill -9 20881c
sh: 20881c: Specify a process identifier or a %job number.

What is 'c' here?

You can also check the status of this process ID in top command.

Regds,
R.K.
Don't fix what ain't broke
Ganesan R
Honored Contributor

Re: unable to mount on production Urgent !!!!

Hi Subodh,

#bdf |grep -i /usr/sap -> check if anything is here or underneath directory.

Also you could try if you suspect any inconsistency with /etc/mnttab

#mv /etc/mnttab /etc/mnttab.old
#mount /usr/sap
#mount -a -> to recreate /etc/mnttab

Best wishes,

Ganesh.
Bart Paulusse
Respected Contributor

Re: unable to mount on production Urgent !!!!

Hi subodh,

ps -ef |grep sap
ps -fu prdadm
-> what does this return?
Any sap processes still active?
saposcol for instance is a process that does not get stopped bij the stopsap command.

Or is user prdadm still logged in (and currently in a directory on /usr/sap/) ?

Another possibility: /dev/lathprd/lvol22 was mounted manualy on another mountpoint, but you should see that in /etc/mnttab as mentioned above.

Regrds,
Bart