linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Egbert van.der Zande" <egbert.van.der.zande@oracle.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM: pvcreate fails with: Cant' open exclusively
Date: Fri, 12 May 2006 13:40:04 +0200	[thread overview]
Message-ID: <44647414.2010509@oracle.com> (raw)

Hi experts,

I have a Linux system that has 4 x 300G disks (dev/hd[efgh]). All four 
have a 20G raw device on partition 1 that is used by Oracle ASM. I 
wanted to assign the remaining diskspace to a logical volume. This was 
successful for /dev/hd[efg]2 but on /dev/hdh2 I get:

pvcreate /dev/hdh2
"Cant' open exclusively, Mounted filesystem?"

I'm in single user mode, as far as I can see /dev/hdh2 is not mounted 
(service rawdevices stop; so /dev/hdh1 is not used either)
fuser /dev/hdh2 does not reveal anything

Tried pvcreate --debug /dev/hdh2 but no additional info is given. I 
first thought it was the ASM / LVM combination but the other 3 disks 
work fine.

Then I removed all partitions and tried to do a
pvcreate /dev/hdh, same error (did a dd if=/dev/zero of=/dev/hdh bs=512 
count=1 to wipe out)
Also wiped out the entire disk.

Finally I created a partition and did a mkfs -ext3 /dev/hdh1, works fine

But LVM simply refuses!?

Any thoughts? Is there a way to get debug info?

LVM 2.02.01, driver 4.5.0
Redhat EL AS V4 U3 2.6.9-34 EL

                 reply	other threads:[~2006-05-12 11:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44647414.2010509@oracle.com \
    --to=egbert.van.der.zande@oracle.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).