Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521350 - sys-fs/lvm2.2.02.109 - pvdisplay/vgdisplay/lvdisplay: No device found for PV ...
Summary: sys-fs/lvm2.2.02.109 - pvdisplay/vgdisplay/lvdisplay: No device found for PV ...
Status: RESOLVED DUPLICATE of bug 520738
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 09:30 UTC by Marko Weber Bürgermeister
Modified: 2014-08-29 05:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Weber Bürgermeister 2014-08-28 09:30:15 UTC
After upgrading to sys-fs/lvm2-2.02.109......

my lvm partitions was not mounted automatically ..ufff
Ahh, okay i see - i added use_lvmetad =1 to lvm.conf, reboot AHHH
all is fine again.

BUT:

pvdisplay:

# pvdisplay
  No device found for PV tGtthZ-oH7j-V6rc-YP1a-t9aE-4HHF-vrFdAE.

vgdisplay:

# vgdisplay
  No device found for PV tGtthZ-oH7j-V6rc-YP1a-t9aE-4HHF-vrFdAE.
  No volume groups found

lvdisplay

# lvdisplay
  No device found for PV tGtthZ-oH7j-V6rc-YP1a-t9aE-4HHF-vrFdAE.
  No volume groups found


tGtthZ-oH7j-V6rc-YP1a-t9aE-4HHF-vrFdAE is the PhysicalVolume.



when i fire up blkid:


/dev/md3: UUID="tGtthZ-oH7j-V6rc-YP1a-t9aE-4HHF-vrFdAE" TYPE="LVM2_member"


So what?!?!?!
md3 has the right UUID, why is LVM telling it cant find any device?

Is this a bug?
Can i secure create new logical volumes?
Is data lose possible?


my emerge --info:

Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.19-r1, 3.10.53_weber3.10.53 x86_64)
=================================================================                                 
System uname: Linux-3.10.53_weber3.10.53-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.2
KiB Mem:    12280744 total,  10365024 free                                                            
KiB Swap:    2047932 total,   2047932 free                                                            
Timestamp of tree: Sun, 24 Aug 2014 19:45:01 +0000                                                    
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2                                                                 
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo webserver-zbf
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/webserver"
SYNC="rsync://rsync11.de.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv mmx modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="autoindex actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user cache cgi deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif status unique_id vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Marko Weber Bürgermeister 2014-08-28 09:53:14 UTC
on another machine after upgrading lvm2 to 2.02.109:

# pvdisplay
    Logging initialised at Thu Aug 28 11:49:15 2014
    Set umask from 0022 to 0077
    DEGRADED MODE. Incomplete RAID LVs will be processed.
    Scanning for physical volume names
  --- Physical volume ---
  PV Name               /dev/md127
  VG Name               VolGroup01
  PV Size               10,74 TiB / not usable 0
  Allocatable           yes
  PE Size               4,00 MiB
  Total PE              2814369
  Free PE               1741217
  Allocated PE          1073152
  PV UUID               05MzNc-3cNX-PgD1-vAcb-aUSK-xyUL-4VO91B

    Wiping internal VG cache


# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md127 : active raid5 sda6[0] sdb6[1] sdd6[4] sdc6[2]
      11527656960 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]

md1 : active raid1 sdb2[1] sda2[0]
      358336 blocks [2/2] [UU]

md2 : active raid5 sdc3[2] sdb3[1] sdd3[3] sda3[0]
      25164288 blocks level 5, 512k chunk, algorithm 2 [4/4] [UUUU]

md3 : active raid5 sdc4[2] sdb4[1] sdd4[3] sda4[0]
      141556224 blocks level 5, 512k chunk, algorithm 2 [4/4] [UUUU]


so RAID is okay. LVM tells above "incomplete Raid will be processed".
Comment 2 Marko Weber Bürgermeister 2014-08-28 10:29:37 UTC
GUYS!

i really NEED your help now!
on the 3rd machine i CANT mount my lvm´s any more!
Horror!!!!

Why is nobody testing such releases before rolling out as stable?

what is wrong? how can i access my data on these not longer mountable partitions?

HELP!!! PLEASE!!!
Comment 3 Marko Weber Bürgermeister 2014-08-28 10:30:26 UTC
(In reply to Marko Weber Bürgermeister from comment #2)
> GUYS!
> 
> i really NEED your help now!
> on the 3rd machine i CANT mount my lvm´s any more!
> Horror!!!!
> 
> Why is nobody testing such releases before rolling out as stable?
> 
> what is wrong? how can i access my data on these not longer mountable
> partitions?
> 
> HELP!!! PLEASE!!!

Ohh..........
seeems the 8th reboot solved that.   Puuuuh ,-)
Comment 4 Marko Weber Bürgermeister 2014-08-28 10:32:01 UTC
(In reply to Marko Weber Bürgermeister from comment #3)
> (In reply to Marko Weber Bürgermeister from comment #2)
> > GUYS!
> > 
> > i really NEED your help now!
> > on the 3rd machine i CANT mount my lvm´s any more!
> > Horror!!!!
> > 
> > Why is nobody testing such releases before rolling out as stable?
> > 
> > what is wrong? how can i access my data on these not longer mountable
> > partitions?
> > 
> > HELP!!! PLEASE!!!
> 
> Ohh..........
> seeems the 8th reboot solved that.   Puuuuh ,-)

on this 3rd machine the partitions are now back,
BUT look at this:

# pvdisplay                                                                                                        
    Logging initialised at Thu Aug 28 12:31:30 2014                                                                          
    Set umask from 0022 to 0077                                                                                              
    DEGRADED MODE. Incomplete RAID LVs will be processed.                                                                    
    Scanning for physical volume names                                                                                       
    No PV label found on /dev/loop0.                                                                                         
    No PV label found on /dev/sda.                                                                                           
    No PV label found on /dev/md0.
    No PV label found on /dev/VolGroup01/media.
    No PV label found on /dev/loop1.
    No PV label found on /dev/sda1.
    No PV label found on /dev/md1.
    No PV label found on /dev/VolGroup01/wiso.
    No PV label found on /dev/loop2.
    No PV label found on /dev/sda2.
    No PV label found on /dev/md2.
    No PV label found on /dev/VolGroup01/isos.
    No PV label found on /dev/loop3.
    No PV label found on /dev/sda3.
    No PV label found on /dev/root.
    No PV label found on /dev/VolGroup01/backup.
    No PV label found on /dev/loop4.
    No PV label found on /dev/sda4.
    No PV label found on /dev/VolGroup01/var.
    No PV label found on /dev/loop5.
    No PV label found on /dev/sda5.
    No PV label found on /dev/VolGroup01/backupdump.
    No PV label found on /dev/loop6.
    No PV label found on /dev/sda6.
    No PV label found on /dev/VolGroup01/store1.
    No PV label found on /dev/loop7.
    No PV label found on /dev/sdb.
    No PV label found on /dev/sdb1.
    No PV label found on /dev/sdb2.
    No PV label found on /dev/sdb3.
    No PV label found on /dev/sdb4.
    No PV label found on /dev/sdb5.
    No PV label found on /dev/sdb6.
    No PV label found on /dev/sdc.
    No PV label found on /dev/sdc1.
    No PV label found on /dev/sdc2.
    No PV label found on /dev/sdc3.
    No PV label found on /dev/sdc4.
    No PV label found on /dev/sdc5.
    No PV label found on /dev/sdc6.
    No PV label found on /dev/sdd.
    No PV label found on /dev/sdd1.
    No PV label found on /dev/sdd2.
    No PV label found on /dev/sdd3.
    No PV label found on /dev/sdd4.
    No PV label found on /dev/sdd5.
    No PV label found on /dev/sdd6.
  --- Physical volume ---
  PV Name               /dev/md127
  VG Name               VolGroup01
  PV Size               10,74 TiB / not usable 0
  Allocatable           yes
  PE Size               4,00 MiB
  Total PE              2814369
  Free PE               1741217
  Allocated PE          1073152
  PV UUID               05MzNc-3cNX-PgD1-vAcb-aUSK-xyUL-4VO91B

    Wiping internal VG cache
Comment 5 Marko Weber Bürgermeister 2014-08-28 10:57:43 UTC
(In reply to Marko Weber Bürgermeister from comment #4)
> (In reply to Marko Weber Bürgermeister from comment #3)
> > (In reply to Marko Weber Bürgermeister from comment #2)
> > > GUYS!
> > > 
> > > i really NEED your help now!
> > > on the 3rd machine i CANT mount my lvm´s any more!
> > > Horror!!!!
> > > 
> > > Why is nobody testing such releases before rolling out as stable?
> > > 
> > > what is wrong? how can i access my data on these not longer mountable
> > > partitions?
> > > 
> > > HELP!!! PLEASE!!!
> > 
> > Ohh..........
> > seeems the 8th reboot solved that.   Puuuuh ,-)
> 
> on this 3rd machine the partitions are now back,
> BUT look at this:
> 
> # pvdisplay                                                                 
> 
>     Logging initialised at Thu Aug 28 12:31:30 2014                         
> 
>     Set umask from 0022 to 0077                                             
> 
>     DEGRADED MODE. Incomplete RAID LVs will be processed.                   
> 
>     Scanning for physical volume names                                      
> 
>     No PV label found on /dev/loop0.                                        
> 
>     No PV label found on /dev/sda.                                          
> 
>     No PV label found on /dev/md0.
>     No PV label found on /dev/VolGroup01/media.
>     No PV label found on /dev/loop1.
>     No PV label found on /dev/sda1.
>     No PV label found on /dev/md1.
>     No PV label found on /dev/VolGroup01/wiso.
>     No PV label found on /dev/loop2.
>     No PV label found on /dev/sda2.
>     No PV label found on /dev/md2.
>     No PV label found on /dev/VolGroup01/isos.
>     No PV label found on /dev/loop3.
>     No PV label found on /dev/sda3.
>     No PV label found on /dev/root.
>     No PV label found on /dev/VolGroup01/backup.
>     No PV label found on /dev/loop4.
>     No PV label found on /dev/sda4.
>     No PV label found on /dev/VolGroup01/var.
>     No PV label found on /dev/loop5.
>     No PV label found on /dev/sda5.
>     No PV label found on /dev/VolGroup01/backupdump.
>     No PV label found on /dev/loop6.
>     No PV label found on /dev/sda6.
>     No PV label found on /dev/VolGroup01/store1.
>     No PV label found on /dev/loop7.
>     No PV label found on /dev/sdb.
>     No PV label found on /dev/sdb1.
>     No PV label found on /dev/sdb2.
>     No PV label found on /dev/sdb3.
>     No PV label found on /dev/sdb4.
>     No PV label found on /dev/sdb5.
>     No PV label found on /dev/sdb6.
>     No PV label found on /dev/sdc.
>     No PV label found on /dev/sdc1.
>     No PV label found on /dev/sdc2.
>     No PV label found on /dev/sdc3.
>     No PV label found on /dev/sdc4.
>     No PV label found on /dev/sdc5.
>     No PV label found on /dev/sdc6.
>     No PV label found on /dev/sdd.
>     No PV label found on /dev/sdd1.
>     No PV label found on /dev/sdd2.
>     No PV label found on /dev/sdd3.
>     No PV label found on /dev/sdd4.
>     No PV label found on /dev/sdd5.
>     No PV label found on /dev/sdd6.
>   --- Physical volume ---
>   PV Name               /dev/md127
>   VG Name               VolGroup01
>   PV Size               10,74 TiB / not usable 0
>   Allocatable           yes
>   PE Size               4,00 MiB
>   Total PE              2814369
>   Free PE               1741217
>   Allocated PE          1073152
>   PV UUID               05MzNc-3cNX-PgD1-vAcb-aUSK-xyUL-4VO91B
> 
>     Wiping internal VG cache


Maybe this helps other that run into same problems:

After remerging sys-fs/lvm2-2.02.103 all problems solved!
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2014-08-29 05:30:36 UTC
Try 2.02.110
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2014-08-29 05:32:52 UTC

*** This bug has been marked as a duplicate of bug 520738 ***