HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

mounting problem

 
himacs
Super Advisor

mounting problem

Hi Admins,
I am trying to mount below LV on /test.But i have ended up with following error.I am sure that lvol11 is not mounted.
mount /dev/vg00/lvol11 /test
vxfs mount: /dev/vg00/lvol11 is already mounted, /test is busy,
allowable number of mount points exceeded

The LV details.
lvdisplay /dev/vg00/lvol11
--- Logical volumes ---
LV Name /dev/vg00/lvol11
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 20480
Current LE 1280
Allocated PE 1280
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default


please help me on this


regards,
himacs


15 REPLIES

Re: mounting problem

what does:

mount -p

say?

HTH

Duncan

HTH

Duncan
Mel Burslan
Honored Contributor

Re: mounting problem

make sure neither you nor anyone else or any other processes are using /test as their current directory. If it still fails, create a temporary directory like /test2 and try mounting it to this directory instead to isolate the problem.
________________________________
UNIX because I majored in cryptology...
himacs
Super Advisor

Re: mounting problem

Hi Duncan,

mount -p
/dev/vg00/lvol3 / vxfs ioerror=nodisable,log,dev=40000003 0 1
/dev/vg00/lvol1 /stand vxfs ioerror=mwdisable,log,nodatainlog,tranflush,dev=40000001 0 0
/dev/vg00/lvol8 /var vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000008 0 0
/dev/vg00/lvol7 /usr vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000007 0 0
/dev/vguat/uat04 /uat04 vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40060004 0 0
/dev/vguat/uat03 /uat03 vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40060003 0 0
/dev/vguat/uat01 /uat01 vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40060001 0 0
/dev/vg00/lvol4 /tmp vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000004 0 0
/dev/vg00/lvol9 /oracle vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40000009 0 0
/dev/vg00/lvol6 /opt vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000006 0 0
/dev/vg00/lvol5 /home vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000005 0 0
/dev/vg03/lvol1 /flexdb02 vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40030001 0 0
/dev/vg02/flexdata /flexdata vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40020002 0 0
/dev/vg02/lvol1 /arch vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40020001 0 0
-hosts /net autofs ignore,indirect,nosuid,soft,nobrowse,dev=1 0 0
/dev/vg00/backup /backup vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=4000000b 0 0
/dev/vg00/backup1 /backup1 vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=4000000c 0 0
/dev/vguat/uat02 /uat02 vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40060002 0 0


There is no entry for lvol11 in mount -p.

whether we have to change any kernel parametrs to increase the allowable mount points.

regards
himacs
Tingli
Esteemed Contributor

Re: mounting problem

Using fuser or lsof to find out whether any user is in /test.
Michal Kapalka (mikap)
Honored Contributor

Re: mounting problem

hi,

fuser should be the best way,

maybe somebody exported the /test folder via NFS.

mikap

himacs
Super Advisor

Re: mounting problem

Hi Tinqli,

Thanx for ur reply.

fuser throws below error.

fuser -cu test
test: fuser: could not find file system mounted at test.

regards,
himacs
Michal Kapalka (mikap)
Honored Contributor

Re: mounting problem

Hi,

fuser -cu /test

mikap
himacs
Super Advisor

Re: mounting problem

Hi mikap,

I have created new dir check as mountpoint.

fuser -cu /check
/check: fuser: could not find file system mounted at /check.
>mount /dev/vg00/lvol12 /check
vxfs mount: /dev/vg00/lvol12 is already mounted, /check is busy,
allowable number of mount points exceeded


regards,
himacs
Michal Kapalka (mikap)
Honored Contributor

Re: mounting problem

Hi himacs,

send me a bdf output.

mikap

Michal Kapalka (mikap)
Honored Contributor

Re: mounting problem

Md. Minhaz Khan
Super Advisor

Re: mounting problem

Dear Himacs,


Run the folllowing command:

#fuser -ku /dev/vg00/lvol11
#mkdir /test_lvol11
#mount /dev/vg00/lvol11 /test_lvol11
#mount -v

Also send me the output:

#ll /dev/*/group
Sajjad Sahir
Honored Contributor

Re: mounting problem

Dear himacs


fuser -ku /test1

umount /test1

mount /dev/vg00/lvol11 /test1


thanks and regards

Sajjad sahir
Rahul Rai_1
Frequent Advisor

Re: mounting problem

Hi himacs,

As I am sure you know this, A file system can't be unmounted if it is currently in use as above mikap said somebody exported the /test folder via NFS, that is a gud pont.

just follow some steps :-

mount -v

fuser /test //To see if /test is used by some users,if yes.

fuser -ku -c /test
umount -F vxfs /test
mount -F vxfs /dev/vg00/lvol11 /test

as per the mentined error by you it seems fs was not unmounted properly, apart from this topic:- plz assigne points to the folks who posted sugestions to you, n I am not talking bout me :) thx,

Regards,
Rahul Rai.
Suraj K Sankari
Honored Contributor

Re: mounting problem

HI,
Keep in mind one thing before doing any fuser or umount, you should be a super user and second you should in / (root) directory
example
#cd /
#fuser -cu /test
#fuser -ku /test
#umount -F vxfs /test
#mount -F vxfs /dev/vg00/lvol11 /test

Suraj
avizen9
Esteemed Contributor

Re: mounting problem

Hello Himacs,
try with fuser to kill users which are currently using /test

is it possible to reboot this system, if yes proceed to reboot it.

if still not resolve then check in /test any other folder is map out with any nfs or local share.

possible to post bdf output, thanks,