Skip to contentSkip to conversation

[linux-lvm] [Bug#184653: lvm10: initrd-lvm image can't activate all vomume groups: ERROR 6]

linux-lvm Patrick Caulfield 2 participants 2 messages Mar 19, 2003

lore
Share & tools
lore
#0 lore raw
Signature · 3 lines
-- 

patrick

Package: lvm10
Version: 1:1.0.7-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When booting with a (slightly hand-modified, see #184646) initrd image created with lvmcreate_initrd, lvm can't activate all volume groups. It displays the following, which may contain typos, as I wrote it down from the screen:

vgscan -- found inactive volume group "raid0vg"
vgscan -- found inactive volume group "raid1vg"
vgscan -- ERROR 6 writing volume group backup file /etc/lvmtab.d/raid1vg.tmp in vg_cfgbackup.c [line 271] vgscan -- ERROR: unable to do a backup of volume group "raid1vg"
vgscan -- ERROR "lvm_tab_vg_remove(): unlink" removing volume group "raid1vg" from "/etc/lvmtab" vgscan -- ERROR 6 writing volume group backup file /etc/lvmtab.d/raid1.tmp in vg_cfgbackup.c [line 271] vgscan -- ERROR: unable to do a backup of volume group "raid1"
vgscan -- ERROR "lvm_tab_vg_remove(): unlink" removing volume group "raid1" from "/etc/lvmtab"

This leads to kernel panic, as my root fs is on raid1vg. The old lvm10 from woody activated "raid1" successfully, but not "raid1vg" with an untempered with image.

- -- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux magnolia 2.4.20-noevms #1 Don M���������r 13 14:01:12 CET 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages lvm10 depends on:

ii  debconf                       1.2.20     Debian configuration management sy
ii  file                          3.37-3.1   Determines file type using "magic"
ii  libc6                         2.3.1-3    GNU C Library: Shared libraries an
ii  lvm-common                    1.5.5      The Logical Volume Manager for Lin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+cQ5u4cR0MEP0sUQRAsGnAJ9fOZAwVhs64RzOeuMprwnMy5dZMgCeMj5k U5GQVq6unH0rZwNLu4VobPI=
=z8B5
-----END PGP SIGNATURE-----

#1 lore raw

The size of the initrd is likely too small to take the /etc/lvmtab.d/ files.

Regards,
Heinz -- The LVM Guy --

Quoted 98 lines · Patrick Caulfield
Signature · 97 lines
-- 

patrick


X-Mail-Format-Warning: Bad RFC2822 header formatting in >From patrick  Thu Mar 13 23:45:17 2003
Return-path: <[email protected]>
Envelope-to: patrick@localhost
Delivery-date: Thu, 13 Mar 2003 23:45:17 +0000
Received: from localhost.pjc.net ([127.0.0.1] helo=localhost)
	by arthur.pjc.net with esmtp (Exim 3.36 #1 (Debian))
	id 18tcNx-0001gN-00
	for <patrick@localhost>; Thu, 13 Mar 2003 23:45:17 +0000
Received: from mail.cix.co.uk
	by localhost with POP3 (fetchmail-5.9.11)
	for patrick@localhost (single-drop); Thu, 13 Mar 2003 23:45:17 +0000 (GMT)
Received: from master.debian.org (master.debian.org [65.125.64.135])
	by sulphur.cix.co.uk (8.11.3/CIX/8.11.3) with ESMTP id h2DNcJG15803
	for <[email protected]>; Thu, 13 Mar 2003 23:38:19 GMT
X-Envelope-From: [email protected]
Received: from debbugs by master.debian.org with local (Exim 3.12 1 (Debian))
	id 18tbxc-0006o0-00; Thu, 13 Mar 2003 17:18:04 -0600
X-Loop: [email protected]
Subject: Bug#184653: lvm10: initrd-lvm image can't activate all vomume groups: ERROR 6
Reply-To: Jan Schumacher <[email protected]>, [email protected]
Resent-From: Jan Schumacher <[email protected]>
Original-Sender: Jan Schumacher <[email protected]>
Resent-To: [email protected]
Resent-CC: Patrick Caulfield <[email protected]>,
   [email protected]
Resent-Date: Thu, 13 Mar 2003 23:18:03 GMT
Resent-Message-ID: <[email protected]>
X-Debian-PR-Message: report 184653
X-Debian-PR-Package: lvm10
X-Debian-PR-Keywords: 
Received: via spool by [email protected] id=B.104759678822881
          (code B ref -1); Thu, 13 Mar 2003 23:18:03 GMT
From: Jan Schumacher <[email protected]>
To: Debian Bug Tracking System <[email protected]>
X-Mailer: reportbug 1.50
Date: Fri, 14 Mar 2003 00:04:05 +0100
Message-Id: <[email protected]>
Sender: Jan Schumacher <[email protected]>
Delivered-To: [email protected]
Resent-Sender: Debian BTS <[email protected]>
X-Envelope-To: [email protected]
X-Spam-Status: No, hits=-1.5 required=5.0
	tests=DEBIAN_BTS_BUG,FORGED_RCVD_FOUND,FROM_HAS_MIXED_NUMS,
	      PGP_SIGNATURE,RESENT_TO,SPAM_PHRASE_00_01,X_LOOP
	version=2.43
X-Spam-Level: 

Package: lvm10
Version: 1:1.0.7-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


When booting with a (slightly hand-modified, see #184646) initrd image created with
lvmcreate_initrd, lvm can't activate all volume groups. It displays the following, which
may contain typos, as I wrote it down from the screen:

vgscan -- found inactive volume group "raid0vg"
vgscan -- found inactive volume group "raid1vg"
vgscan -- ERROR 6 writing volume group backup file /etc/lvmtab.d/raid1vg.tmp in vg_cfgbackup.c [line 271]
vgscan -- ERROR: unable to do a backup of volume group "raid1vg"
vgscan -- ERROR "lvm_tab_vg_remove(): unlink" removing volume group "raid1vg" from "/etc/lvmtab"
vgscan -- ERROR 6 writing volume group backup file /etc/lvmtab.d/raid1.tmp in vg_cfgbackup.c [line 271]
vgscan -- ERROR: unable to do a backup of volume group "raid1"
vgscan -- ERROR "lvm_tab_vg_remove(): unlink" removing volume group "raid1" from "/etc/lvmtab"


This leads to kernel panic, as my root fs is on raid1vg. The old lvm10 from woody activated
"raid1" successfully, but not "raid1vg" with an untempered with image.


- -- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux magnolia 2.4.20-noevms #1 Don Mär 13 14:01:12 CET 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages lvm10 depends on:
ii  debconf                       1.2.20     Debian configuration management sy
ii  file                          3.37-3.1   Determines file type using "magic"
ii  libc6                         2.3.1-3    GNU C Library: Shared libraries an
ii  lvm-common                    1.5.5      The Logical Volume Manager for Lin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+cQ5u4cR0MEP0sUQRAsGnAJ9fOZAwVhs64RzOeuMprwnMy5dZMgCeMj5k
U5GQVq6unH0rZwNLu4VobPI=
=z8B5
-----END PGP SIGNATURE-----

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-