LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-12-2017, 08:47 AM   #1
traianstc
LQ Newbie
 
Registered: Jul 2017
Posts: 2

Rep: Reputation: Disabled
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
 
Old 07-12-2017, 10:42 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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.)
 
Old 07-13-2017, 02:29 AM   #3
traianstc
LQ Newbie
 
Registered: Jul 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Couldn't find device with uuid R.N.RAM KANNAN Linux - Server 5 04-03-2019 11:25 AM
Couldn't find the device with uuid jungo920 Linux - Server 6 07-23-2015 03:43 AM
Couldn't find device with uuid rookee Linux - Enterprise 4 06-30-2014 08:38 PM
LVM has lost the plot - "Couldn't find device with uuid...." The Fold Slackware 0 10-21-2008 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration