Re: [Bug 452350] Unknown LVM metadata header

2013-08-28 Thread Dominic Dunlop
Still appearing on 12.04.2 for me.

On 27 Aug, 2013, at 20:32 , Kenneth Wrede kennethwr...@yahoo.com
wrote:

 This bug is solved for me. It dissapeard with an update.
 
 Does someone still have problems?
 
 -- 
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/452350
 
 Title:
  Unknown LVM metadata header
 
 Status in “grub2” package in Ubuntu:
  Confirmed
 Status in “grub2” package in Debian:
  Confirmed
 
 Bug description:
  Binary package hint: grub2
 
  update-grub2 appears to run successfully, but generates a lot of
  error: Unknown LVM metadata header messages in the process. LVM was
  created during install on a clean system (using ubuntu-9.10-beta-
  alternate-i386.iso).
 
  $ sudo update-grub2
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  Generating grub.cfg ...
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  Found linux image: /boot/vmlinuz-2.6.31-14-generic
  Found initrd image: /boot/initrd.img-2.6.31-14-generic
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
  Found linux image: /boot/vmlinuz-2.6.31-11-generic
  Found initrd image: /boot/initrd.img-2.6.31-11-generic
  error: Unknown LVM metadata header
  error: Unknown LVM metadata header
 
  Here's some extra info that may help:
 
  $ mount
  /dev/mapper/root-root on / type ext4 (rw,noatime,errors=remount-ro)
  proc on /proc type proc (rw)
  none on /sys type sysfs (rw,noexec,nosuid,nodev)
  none on /sys/fs/fuse/connections type fusectl (rw)
  none on /sys/kernel/debug type debugfs (rw)
  none on /sys/kernel/security type securityfs (rw)
  udev on /dev type tmpfs (rw,mode=0755)
  none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
  none on /dev/shm type tmpfs (rw,nosuid,nodev)
  none on /var/run type tmpfs (rw,nosuid,mode=0755)
  none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
  none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
  /dev/sda1 on /boot type ext2 (rw,noexec,nosuid,nodev,noatime)
 
  $ ls -la /boot
  total 26783
  drwxr-xr-x  4 root root1024 2009-10-15 11:27 .
  drwxr-xr-x 22 root root4096 2008-11-18 16:28 ..
  -rw-r--r--  1 root root  628340 2009-09-25 05:18 abi-2.6.31-11-generic
  -rw-r--r--  1 root root  629174 2009-10-15 01:09 abi-2.6.31-14-generic
  -rw-r--r--  1 root root  111218 2009-09-25 05:18 config-2.6.31-11-generic
  -rw-r--r--  1 root root  111371 2009-10-15 01:09 config-2.6.31-14-generic
  drwxr-xr-x  2 root root3072 2009-10-15 11:58 grub
  -rw-r--r--  1 root root 7297493 2008-11-17 15:49 initrd.img-2.6.31-11-generic
  -rw-r--r--  1 root root 7283454 2009-10-15 11:27 initrd.img-2.6.31-14-generic
  drwxr-xr-x  2 root root   12288 2008-11-17 15:24 lost+found
  -rw-r--r--  1 root root  128796 2009-09-28 05:17 memtest86+.bin
  -rw-r--r--  1 root root 1657331 2009-09-25 05:18 System.map-2.6.31-11-generic
  -rw-r--r--  1 root root 1664737 2009-10-15 01:09 System.map-2.6.31-14-generic
  -rw-r--r--  1 root root1196 2009-09-25 05:21 vmcoreinfo-2.6.31-11-generic
  -rw-r--r--  1 root root1196 2009-10-15 01:12 vmcoreinfo-2.6.31-14-generic
  -rw-r--r--  1 root root 3873888 2009-09-25 05:18 vmlinuz-2.6.31-11-generic
  -rw-r--r--  1 root root 3890400 2009-10-15 01:09 vmlinuz-2.6.31-14-generic
 
  $ sudo sfdisk -l /dev/sda
 
  Disk /dev/sda: 974 cylinders, 255 heads, 63 sectors/track
  Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
 
 Device Boot Start End   #cyls#blocks   Id  System
  /dev/sda1   *  0+ 30  31-248976   83  Linux
  /dev/sda2 31 973 9437574647+  8e  Linux LVM
  /dev/sda3  0   -   0  00  Empty
  /dev/sda4  0   -   0  00  Empty
 
  ProblemType: Bug
  Architecture: i386
  Date: Thu Oct 15 11:59:41 2009
  DistroRelease: Ubuntu 9.10
  Package: grub-pc 1.97~beta4-1ubuntu1
  ProcEnviron:
   LANG=C
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-14.47-generic
  SourcePackage: grub2
  Uname: Linux 2.6.31-14-generic i686
 
 To manage notifications about this bug go to:
 https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/452350/+subscriptions

-- 
Dominic Dunlop
Room C111, Weicker Building
dominic.dun...@uni.lu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/452350

Title:
  Unknown LVM metadata header

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/452350/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 452350] Re: Unknown LVM metadata header

2012-07-25 Thread Dominic Dunlop
I've been bitten too. I have a software RAID 10, /dev/md0, which is made
up of /dev/sd[a-d]2. /dev/md0 is the only physical volume in a volume
group. Looking at the first two sectors of /dev/sd[a-d]2, there are
indeed volume group manager labels, but this is as I would expect:
they're holding data for the first two sectors of /dev/md0  — the md
driver's overhead loses a little space at the end of the volume, but
none at the beginning. If I point pvck at /dev/sd[a-d]2, it correctly
ignores them, as they're part of an md device. I'm not about to zap
these labels, as I think they're valid. Could the problem be that
update-grub (and, incidentally, the boot process, where one can see the
same error message flitting by) is not as smart as mdadm, and is not
ignoring partitions that are claimed by an md device?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/452350

Title:
  Unknown LVM metadata header

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/452350/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 666169] [NEW] MOTD too conservative about showing sysinfo

2010-10-25 Thread Dominic Dunlop
Public bug reported:

Binary package hint: landscape-client

On multi-core machines, the policy of not showing system information on
login if load is 1.0 or greater, as implemented by /usr/share/landscape
/landscape-sysinfo.wrapper, is too conservative. The following patch
suppresses the information only if the load is greater than the number
of cores of the host:

--- landscape-sysinfo.wrapper-before2010-10-25 10:05:26.0 +0200
+++ landscape-sysinfo.wrapper   2010-10-25 10:06:41.0 +0200
@@ -1,5 +1,6 @@
 #!/bin/sh
-if [ $(echo `cut -f1 -d ' ' /proc/loadavg`  1.0 | bc) -eq 1 ]; then
+CORES=$(grep -c '^core id\b' /proc/cpuinfo)
+if [ $(echo `cut -f1 -d ' ' /proc/loadavg`  $CORES.0 | bc) -eq 1 ]; then
 echo
 echo -n   System information as of 
 /bin/date
@@ -7,5 +8,5 @@
 /usr/bin/landscape-sysinfo
 else
 echo
-echo  System information disabled due to load higher than 1
+echo  System information disabled due to load higher than $CORES
 fi

ProblemType: Bug
Architecture: i386
Date: Mon Oct 25 10:07:19 2010
DistroRelease: Ubuntu 9.10
Package: landscape-common 1.5.5.1-0ubuntu0.9.10.0 [modified: 
usr/share/landscape/landscape-sysinfo.wrapper]
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-22.67-generic-pae
SourcePackage: landscape-client
Uname: Linux 2.6.31-22-generic-pae i686

** Affects: landscape-client (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386

-- 
MOTD too conservative about showing sysinfo
https://bugs.launchpad.net/bugs/666169
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 666169] Re: MOTD too conservative about showing sysinfo

2010-10-25 Thread Dominic Dunlop


-- 
MOTD too conservative about showing sysinfo
https://bugs.launchpad.net/bugs/666169
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs