linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Cannot activate LVs in VG xxx while PVs appear on duplicate devices.
@ 2018-06-09 16:41 Wolfgang Denk
  2018-06-09 17:22 ` Xen
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Denk @ 2018-06-09 16:41 UTC (permalink / raw)
  To: linux-lvm

oHi,

...and sorry if this has been discussed before; I was not able to
find a searchable archive of this list, and google did not help
either...

After upgrading a system from Fedora 27 to Fedroa 28 it fails to boot
because it cannot find the root file system. The root file system is
in a logical volume; the respective physical volume is a mdadm RAID1
array. The reason for the failure is that the volume group has not
been activated, and trying to do so manually fails as well:

# cat /proc/mdstat
Personalities : [raid10] [raid1] [raid6] [raid5] [raid4]
md0 : active raid6 sdk[10] sdh[13] sdg[11] sdi[8] sdl[14] sdm[15] sde[12]
sdj[9]
      11720301024 blocks super 1.2 level 6, 16k chunk, algorithm 2 [8/8]
[UUUUUUUU]

md1 : active raid1 sda3[1] sdb3[0]
      484118656 blocks [2/2] [UU]

md2 : active raid1 sda1[1] sdb1[0]
      255936 blocks [2/2] [UU]

md3 : active raid10 sdd1[1] sdc1[0]
      234878976 blocks 512K chunks 2 far-copies [2/2] [UU]
      bitmap: 0/2 pages [0KB], 65536KB chunk

unused devices: <none>

# lvm vgchange -ay
  WARNING: PV ljJ72U-Nfie-xcXH-cObX-Sh2W-vDLZ-aR05lx on /dev/sda3 was already
found on /dev/md1.
  WARNING: PV ljJ72U-Nfie-xcXH-cObX-Sh2W-vDLZ-aR05lx on /dev/sdb3 was already
found on /dev/md1.
  WARNING: PV ljJ72U-Nfie-xcXH-cObX-Sh2W-vDLZ-aR05lx prefers device /dev/md1
because device size is correct.
  WARNING: PV ljJ72U-Nfie-xcXH-cObX-Sh2W-vDLZ-aR05lx prefers device /dev/md1
because device size is correct.
  Cannot activate LVs in VG atlas1 while PVs appear on duplicate devices.
  Cannot activate LVs in VG atlas1 while PVs appear on duplicate devices.
  Cannot activate LVs in VG atlas1 while PVs appear on duplicate devices.
  Cannot activate LVs in VG atlas1 while PVs appear on duplicate devices.
  0 logical volume(s) in volume group "atlas1" now active
  6 logical volume(s) in volume group "atlas0" now active


When booting the same system (and the same root file system) suing
the previous (Fedora 27) kernel and ramdisk, it works fine.

I wonder if this is a generic LVM issue or a Fedora specific
problem;  given that Fedora 27 has lvm2-2.02.175-1.fc27.x86_64
while Fedora 28 has lvm2-2.02.177-4.fc28.x86_64, which are
essentially the same upstream version, I tend to believe this is a
Fedora thing?

For more information see also [1]

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1589444


Any help how to fix/avoid this problem would be highly appreciated.


Thanks in advance.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Shakespeare's Law of Prototyping: (Hamlet III, iv, 156-160)
        O, throw away the worser part of it,
        And live the purer with the other half.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-09 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-09 16:41 [linux-lvm] Cannot activate LVs in VG xxx while PVs appear on duplicate devices Wolfgang Denk
2018-06-09 17:22 ` Xen

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).