LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-21-2013, 02:53 AM   #1
mitter1989
Member
 
Registered: Sep 2013
Posts: 47

Rep: Reputation: Disabled
Question mount: /dev/mapper/mpath1p1 already mounted or /emc_lun busy


Hi folks,

Need your help :


I am trying to mount/unmount EMC LUN but I am not able to achieve this, please see commands below which I had used :

OS : CentOS.


[root@xs ~]# mount /dev/mapper/mpath1p1 /emc_lun
mount: /dev/mapper/mpath1p1 already mounted or /emc_lun busy
[root@xs ~]#
[root@xs ~]#
[root@xs ~]# umount /dev/mapper/mpath1p1
umount: /dev/mapper/mpath1p1: not mounted
[root@xs ~]# umount /emc_lun
umount: /emc_lun: not mounted
[root@xs#
 
Old 12-26-2013, 11:32 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Are you doing this with Linux multipath or with EMC's powerpath?

Does "/sbin/powermt display dev=all" show you anything? If so powerpath is running.

Does "multipath -l -v2" show you anything for this? That would be the Linux native multipathing.

You can not run both powerpath and native multipathing on the same server. (Or at least when we tried it this caused servers to panic a couple of years back.)

You might want to just run "mount" to see what is mounted then check to see if anything you see mounted is a symbolic link to the device or mount point you're trying.

Running "fdisk -l" to see all disks, vgs, etc... might help you see if perhaps something else is using the device.
 
Old 12-27-2013, 04:33 AM   #3
mitter1989
Member
 
Registered: Sep 2013
Posts: 47

Original Poster
Rep: Reputation: Disabled
Thanks MW...!!!


4TB LUN has shared from EMC storage. I have to mount this on CentOS and I am using multipath not powerpath.

Earlier it was working fine, suddenly it went to read only mode only then I run this command :

# umount -l /emc_lun

with this command device got unmounted but after that I was not able to mount/unmount it back however it got resolved by rebooting server.
 
Old 12-27-2013, 09:47 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Glad you got it solved.

You might want to investigate the drive now that it is mounted and working so that you know more details of it. That is to say save your multipath output so you know the underlying /dev/sd* components in it and also verify nothing else is using any part of it (i.e. the /dev/mpath device, the /dev/mapper or any of the /dev/sd* component devices) in something like metadisk or LVM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does system always prompts that /dev/sda1 is already mounted or mount point busy chinabenjamin66 Linux - Newbie 5 09-30-2012 10:19 PM
The file system /dev/mapper/mail-root, mounted on /, has no space left farooklk Linux - Server 10 08-11-2011 12:16 PM
[SOLVED] device-mapper? special device does not exist, already mounted or busy ezekieldas Linux - Software 1 05-23-2011 09:59 PM
/dev/shm not mounted /dev busy compgenius999 Linux - Newbie 1 03-03-2010 11:12 AM
/dev/hda4 already mounted or z busy tunasashimi Ubuntu 13 09-06-2005 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration