Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This seems to be a semi-common issue asked, but I have not yet found a good solution.

I try the following:

[root@localhost ~]# pvcreate /dev/sdc
Can't open /dev/sdc exclusively. Mounted filesystem?

This forum post shows the user's solution to have been to boot off a different image, modify his LVM groups, and then restart normally.

That is not an option for this particular setting.

Output of multipath -l:

[root@localhost ~]# multipath -l
mpath2 (36006016098122700201a28588e21df11)
[size=200 GB][features="1 queue_if_no_path"][hwhandler="1 emc"]
\_ round-robin 0 [active]
 \_ 0:0:1:0 sdc 8:32 [active]
\_ round-robin 0 [enabled]
 \_ 0:0:0:0 sda 8:0  [active]

mpath3 (36006016098122700ac0475432e9bdf11)
[size=200 GB][features="1 queue_if_no_path"][hwhandler="1 emc"]
\_ round-robin 0 [active]
 \_ 0:0:0:1 sdb 8:16 [active]
\_ round-robin 0 [enabled]
 \_ 0:0:1:1 sdd 8:48 [active]

What do I need to do to get past this issue?

mount | grep sdc return nothing, and lsof | grep sdc shows only multipath looking at it (which makes sense since it's a LUN).

share|improve this question
Are you sure /dev/sdc isn't mounted? – Warner Jul 29 '10 at 19:46
running mount | grep /dev/sdc returns blank. Running lsof | grep sdc shows only multipath to be looking at it. – warren Jul 29 '10 at 20:57
up vote 0 down vote accepted

Follow-up: there were other issues with the extant LVs, which on reboot of the server would not mount, and the contained filesystems were missing.

Not good :-|

..this pvcreate issue has been tabled for the time being, as we look to restore from backup, and then extend the existing LUN rather than add a new one.

Still want to know why the pvcreate was failing, but with other issues at hand, it will have to wait.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.