All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Powers <david@grayskies.net>
To: linux-lvm@sistina.com
Subject: [linux-lvm] duplicate PV error with 2.6.1 and lvm2
Date: Fri Jan 30 11:56:01 2004	[thread overview]
Message-ID: <401A8C6C.3040108@grayskies.net> (raw)

I am attempting to create a simple volume on a soft raid 1 device 
(/dev/md1) on a gentoo linux box running 2.6.1.  The pvcreate seems to 
go fine but when I then attempt to create the volume group I get an odd 
error about duplicate PV's.  It seems as if the code is sometimes 
treating the device as a single device and sometimes seeing the 
underlying disks.  Any help would be appreciated.

disk1 root # cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb1[1] sda1[0]
      244179840 blocks [2/2] [UU]

md0 : active raid1 hdg3[1] hde3[0]
      76035520 blocks [2/2] [UU]

unused devices: <none>
disk1 root # pvcreate /dev/md1
  Physical volume "/dev/md1" successfully created
disk1 root # vgcreate filestore /dev/md1
  Found duplicate PV 5c5olnVSu9cpsAmJ6trmPopx1Hv4ZGv4: using /dev/sdb1 
not /dev/sda1
  Found duplicate PV 5c5olnVSu9cpsAmJ6trmPopx1Hv4ZGv4: using /dev/sdb1 
not /dev/sda1
  Found duplicate PV 5c5olnVSu9cpsAmJ6trmPopx1Hv4ZGv4: using /dev/sdb1 
not /dev/sda1
  Volume group "filestore" successfully created

-David Powers

             reply	other threads:[~2004-01-30 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-30 11:56 David Powers [this message]
2004-01-30 12:08 ` [linux-lvm] duplicate PV error with 2.6.1 and lvm2 Luca Berra
2004-01-31  9:17   ` [linux-lvm] duplicate PV error with 2.6.1 and lvm2 - resolved David Powers

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=401A8C6C.3040108@grayskies.net \
    --to=david@grayskies.net \
    --cc=linux-lvm@sistina.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.