I've got a situation here where my LVM is showing the following problem:
Found duplicate PV xxxxxxxxxxxxxxxxxxxxxx: using /dev/sdb2 not /dev/sda2
Not sure what causes this and I really don't have a clue as to what the consequences are when seeing this or how to fix it. Google just confuses me with any suggestions.
Can anyone offer any help, please?
Steve Campbell
On 03/24/2011 07:33 AM, Steve Campbell wrote:
I've got a situation here where my LVM is showing the following problem:
Found duplicate PV xxxxxxxxxxxxxxxxxxxxxx: using /dev/sdb2 not /dev/sda2
Not sure what causes this and I really don't have a clue as to what the consequences are when seeing this or how to fix it. Google just confuses me with any suggestions.
Can anyone offer any help, please?
Steve Campbell
What is the setup supposed to be? Have you altered lvm.conf in any way? What does 'pvscan', 'vgscan' and 'lvscan' show? What, if anything, happened before this issue arose?
On Thu, Mar 24, 2011 at 08:02:47AM -0400, Digimer wrote:
On 03/24/2011 07:33 AM, Steve Campbell wrote:
I've got a situation here where my LVM is showing the following problem:
Found duplicate PV xxxxxxxxxxxxxxxxxxxxxx: using /dev/sdb2 not /dev/sda2
Not sure what causes this and I really don't have a clue as to what the consequences are when seeing this or how to fix it. Google just confuses me with any suggestions.
Is this with EMC HBA's? If so, they will show drives for each connection.
The setup is a Raid6 of 5 drives. As best I can understand, this is basically a warning caused by Raid itself duplicating the UUID on all of the drives, as it should. For some reason, though, LVM is now looking at each drive in the container instead of looking at the device the Raid is presenting to LVM.
Haven't changed anything in the conf file, but keep seeing a filter suggestion to resolve the warning. All LVM related commands show the same duplicate error. Don't know what changed that caused this to start happening, and it may have been going on for some time. I just noticed it when I needed to start investigating what might be a failing drive in the container. It only shows up when I issue an LVS type command or reboot. Being Centos, the reboot rarely happens.
Thanks for the reply. I know I'm not offer much help here, so sorry for that.
steve
On 3/24/2011 8:02 AM, Digimer wrote:
On 03/24/2011 07:33 AM, Steve Campbell wrote:
I've got a situation here where my LVM is showing the following problem:
Found duplicate PV xxxxxxxxxxxxxxxxxxxxxx: using /dev/sdb2 not /dev/sda2
Not sure what causes this and I really don't have a clue as to what the consequences are when seeing this or how to fix it. Google just confuses me with any suggestions.
Can anyone offer any help, please?
Steve Campbell
What is the setup supposed to be? Have you altered lvm.conf in any way? What does 'pvscan', 'vgscan' and 'lvscan' show? What, if anything, happened before this issue arose?
On Thu, 2011-03-24 at 10:06 -0400, Steve Campbell wrote:
The setup is a Raid6 of 5 drives. As best I can understand, this is basically a warning caused by Raid itself duplicating the UUID on all of the drives, as it should. For some reason, though, LVM is now looking at each drive in the container instead of looking at the device the Raid is presenting to LVM.
Haven't changed anything in the conf file, but keep seeing a filter suggestion to resolve the warning. All LVM related commands show the same duplicate error. Don't know what changed that caused this to start happening, and it may have been going on for some time. I just noticed it when I needed to start investigating what might be a failing drive in the container. It only shows up when I issue an LVS type command or reboot. Being Centos, the reboot rarely happens.
Thanks for the reply. I know I'm not offer much help here, so sorry for that.
On 3/24/2011 8:02 AM, Digimer wrote:
On 03/24/2011 07:33 AM, Steve Campbell wrote:
I've got a situation here where my LVM is showing the following problem:
Found duplicate PV xxxxxxxxxxxxxxxxxxxxxx: using /dev/sdb2 not /dev/sda2
Normally, you can just change the uuid on the duplicate PV to resolve the issue.
# pvchange -u /dev/sdb2
Not sure that will work in your case.
Steve (a different Steve :-)
On Thu, Mar 24, 2011 at 7:33 AM, Steve Campbell campbell@cnpapers.com wrote:
I've got a situation here where my LVM is showing the following problem:
Found duplicate PV xxxxxxxxxxxxxxxxxxxxxx: using /dev/sdb2 not /dev/sda2
Not sure what causes this and I really don't have a clue as to what the consequences are when seeing this or how to fix it. Google just confuses me with any suggestions.
Were these drives once mirrored?