[Bug 876192] New: lvcreate fails to create logical volume, reports "Incorrect metadata area header checksum"; same VG/LVs on different OS has no problem
https://bugzilla.novell.com/show_bug.cgi?id=876192 https://bugzilla.novell.com/show_bug.cgi?id=876192#c0 Summary: lvcreate fails to create logical volume, reports "Incorrect metadata area header checksum"; same VG/LVs on different OS has no problem Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: grantksupport@operamail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 when booted to Opensuse 13.1 rpm -qa | egrep "kernel-desktop-3|lvm2" kernel-desktop-3.14.2-1.1.g1474ea5.x86_64 lvm2-2.02.98-0.28.18.1.x86_64 if I scan & try to create a new logical volume in available space in an existing volume group, it FAILS with an error about "Incorrect metadata area header checksum" lvscan -v File descriptor 5 (/run/systemd/sessions/1.ref) leaked on lvscan invocation. Parent PID 6312: bash connect() failed on local socket: No such file or directory Internal cluster locking initialisation failed. WARNING: Falling back to local file-based locking. Volume Groups with the clustered attribute will be inaccessible. Finding all logical volumes ACTIVE '/dev/VG0/LV_DESK_ROOT' [40.00 GiB] inherit ... lvcreate -L 20G -n LV_DESK_TEST /dev/VG0 File descriptor 5 (/run/systemd/sessions/1.ref) leaked on lvcreate invocation. Parent PID 5955: bash Incorrect metadata area header checksum on /dev/md127 at offset 1069547520 lvcreate --version File descriptor 5 (/run/systemd/sessions/1.ref) leaked on lvcreate invocation. Parent PID 5955: bash LVM version: 2.02.98(2) (2012-10-15) Library version: 1.03.01 (2011-10-15) Driver version: 4.27.0 But, when booted to another OS (systemrecueCD 4.2.0), scanning the same VG/LVs there are no warnings/errors reported, and lvcreate works without any problem uname -a Linux sysresccd 3.10.35-std420-amd64 #2 SMP Wed Apr 2 18:31:51 UTC 2014 x86_64 AMD Phenom(tm) II X4 945 Processor AuthenticAMD GNU/Linux lvscan -v Finding all logical volumes ACTIVE '/dev/VG0/LV_DESK_ROOT' [40.00 GiB] inherit ... lvcreate --version LVM version: 2.02.103(2) (2013-10-04) Library version: 1.02.82 (2013-10-04) Driver version: 4.24.0 lvcreate -L 20G -n LV_DESK_TEST /dev/VG0 Logical volume "LV_DESK_TEST" created lvscan -v Finding all logical volumes ACTIVE '/dev/VG0/LV_DESK_ROOT' [40.00 GiB] inherit ... !!! ACTIVE '/dev/VG0/LV_DESK_TEST' [20.00 GiB] inherit Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c
grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c1
grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c2
--- Comment #2 from grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c3
--- Comment #3 from grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c
grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c4
grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c
grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c
Peter Linnell
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c5
--- Comment #5 from grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c6
--- Comment #6 from grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c
grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c
grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c7
--- Comment #7 from dong mao zhang
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c8
--- Comment #8 from grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c9
--- Comment #9 from dong mao zhang
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c10
--- Comment #10 from grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c11
--- Comment #11 from grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c
grant k
https://bugzilla.novell.com/show_bug.cgi?id=876192
https://bugzilla.novell.com/show_bug.cgi?id=876192#c12
dong mao zhang
are you suggesting that by setting lvmetad = 1, that that'll resolve the original issure here -- that lvm incorrectly reports "Incorrect metadata area header checksum" & prevents PV/VG/LV operations ? Please try to set lvmetad = 0 to try to see if it fix this problem.
lvmetad is used to activate logical volume automatically. If lvmetad is disable, systemd script will still activate the necessary logical volume. So it is OK to set it to 0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=876192
--- Comment #15 from Lidong Zhong
http://bugzilla.novell.com/show_bug.cgi?id=876192
--- Comment #17 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=876192
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=876192
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=876192
--- Comment #18 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com