LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Found duplicate PV and Couldn't find device with UUID errors (https://www.linuxquestions.org/questions/linux-hardware-18/found-duplicate-pv-and-couldnt-find-device-with-uuid-errors-4175609693/)

traianstc 07-12-2017 08:47 AM

Found duplicate PV and Couldn't find device with UUID errors
 
Hi,

A long time ago i created an logical volume using this tutorial and it worked perfect until now, on ubuntu desktop.
Now, when i open the server, i have this message before i enter OS:
"Press s to skip mounting or m for manual recovery."
I pressed "s" but logical volume it doesn't work.
Thanks,

Those are my outputs:




Code:

ipurl@ipurl-backup:/$ sudo blkid /dev/sd??
/dev/sda1: UUID="e4Kd0I-JDf3-Iw5l-FCIz-c5Vy-ENeC-kQRoOg" TYPE="LVM2_member"
/dev/sdb1: UUID="jdRagv-xUaQ-Ykn0-kRBX-Mnaw-OAjW-MaiOB8" TYPE="LVM2_member"
/dev/sdc1: UUID="e4Kd0I-JDf3-Iw5l-FCIz-c5Vy-ENeC-kQRoOg" TYPE="LVM2_member"
/dev/sdd1: UUID="jdRagv-xUaQ-Ykn0-kRBX-Mnaw-OAjW-MaiOB8" TYPE="LVM2_member"
/dev/sde1: UUID="6e8f37cb-d95b-454d-99a2-6bd21ab84080" TYPE="ext4"
/dev/sde5: UUID="80149220-a53d-47a7-bf1b-a690f70eef04" TYPE="swap"

Code:

ipurl@ipurl-backup:/$ sudo vgscan
  Reading all physical volumes.  This may take a while...
  Found duplicate PV e4Kd0IJDf3Iw5lFCIzc5VyENeCkQRoOg: using /dev/sdc1 not /dev/sda1
  Found duplicate PV jdRagvxUaQYkn0kRBXMnawOAjWMaiOB8: using /dev/sdd1 not /dev/sdb1
  Couldn't find device with uuid GY5Xou-lo36-5SxS-RBNO-ENIb-4VZK-l5zjam.
  Couldn't find device with uuid CIARJX-rpHf-FjBV-x3BB-60Ra-mceN-LZ6c8j.

Code:

ipurl@ipurl-backup:/$ sudo pvdisplay
[sudo] password for ipurl:
  Found duplicate PV e4Kd0IJDf3Iw5lFCIzc5VyENeCkQRoOg: using /dev/sdc1 not /dev/sda1
  Found duplicate PV jdRagvxUaQYkn0kRBXMnawOAjWMaiOB8: using /dev/sdd1 not /dev/sdb1
  Couldn't find device with uuid GY5Xou-lo36-5SxS-RBNO-ENIb-4VZK-l5zjam.
  Couldn't find device with uuid CIARJX-rpHf-FjBV-x3BB-60Ra-mceN-LZ6c8j.
  --- Physical volume ---
  PV Name              /dev/sdc1
  VG Name              ipurlvg
  PV Size              2,73 TiB / not usable 3,00 MiB
  Allocatable          yes
  PE Size              4,00 MiB
  Total PE              715396
  Free PE              16516
  Allocated PE          698880
  PV UUID              e4Kd0I-JDf3-Iw5l-FCIz-c5Vy-ENeC-kQRoOg
 
  --- Physical volume ---
  PV Name              /dev/sdd1
  VG Name              ipurlvg
  PV Size              2,73 TiB / not usable 3,00 MiB
  Allocatable          yes
  PE Size              4,00 MiB
  Total PE              715396
  Free PE              16516
  Allocated PE          698880
  PV UUID              jdRagv-xUaQ-Ykn0-kRBX-Mnaw-OAjW-MaiOB8
 
  --- Physical volume ---
  PV Name              unknown device
  VG Name              ipurlvg
  PV Size              2,73 TiB / not usable 3,00 MiB
  Allocatable          yes
  PE Size              4,00 MiB
  Total PE              715396
  Free PE              67716
  Allocated PE          647680
  PV UUID              GY5Xou-lo36-5SxS-RBNO-ENIb-4VZK-l5zjam
 
  --- Physical volume ---
  PV Name              unknown device
  VG Name              ipurlvg
  PV Size              2,73 TiB / not usable 3,00 MiB
  Allocatable          yes
  PE Size              4,00 MiB
  Total PE              715396
  Free PE              67716
  Allocated PE          647680
  PV UUID              GY5Xou-lo36-5SxS-RBNO-ENIb-4VZK-l5zjam


MensaWater 07-12-2017 10:42 AM

Did you recently dd one partition to another or maybe are you doing LVM mirroring?

Are the disks presented from a storage array that possibly is giving you 2 paths to each (via SAN or iSCSI maybe)?

You can have multiple disks with the same UUID in situations like that (and in fact except for the dd situation WANT them.)

traianstc 07-13-2017 02:29 AM

No i didn't do anything like that.
I did something stupid though...
The hardware is an hp microserver gen 8.
1 ssd - ubntu desktop os
4 hdd 3tb - volume group

I have another server configured identically to this one and, the hdd's and ssd are configured like this:
[img] https://image.prntscr.com/image/e400...goEEJTUpxg.png [/img]
Sometimes we have electricity blackout and the servers are rebooting. After that hp doesn't retain the array settings, i don't know why.It doesn't happen every time but it's happens and i have to recreate the array with the ssd like in above picture and everthing is fine.

The last time, with the problematic server, by mistake i created an array with the ssd (which is fine) and, another one, with the 4 hdd's (which was not fine) and uuid problem appeard:
Array
https://image.prntscr.com/image/gWoG...qq3SxgGVGA.png
Warning
[img] https://image.prntscr.com/image/pCaQ...Rf6zrVGEeg.png [/img]

Sorry for my english, i hope you understand something and thanks for help.


All times are GMT -5. The time now is 06:18 PM.