Bug#298890: marked as done (lvm2: Device-mapper lookups no devices)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 12 Mar 2005 06:03:39 -0800

Your message dated Sat, 12 Mar 2005 14:53:12 +0100
with message-id <20050312135312.GC12366@wavehammer.waldi.eu.org>
and subject line Bug#298890: lvm2: Device-mapper lookups no devices
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 10 Mar 2005 14:52:00 +0000
>From matsu@r9.dion.ne.jp Thu Mar 10 06:52:00 2005
Return-path: <matsu@r9.dion.ne.jp>
Received: from nm01mta.dion.ne.jp (nm01omta01f.dion.ne.jp) [] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1D9P15-0000RO-00; Thu, 10 Mar 2005 06:51:59 -0800
Received: from loki.work.isl.doshisha.ac.jp (unknown[])
	by nm01mta.dion.ne.jp;
	Thu, 10 Mar 2005 23:51:57 +0900
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: matsu <matsu@r9.dion.ne.jp>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lvm2: Device-mapper lookups no devices
X-Mailer: reportbug 3.8
Date: Thu, 10 Mar 2005 23:56:56 +0900
Message-ID: <200503101451579328190001MAF9@nm01mta.dion.ne.jp>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: lvm2
Version: 2.00.24-1
Severity: normal

I apt-get upgraded lvm2 from lvm2_2.00.24-1_i386.deb to lvm2_2.01.04-2_i386.deb
and after reboot my system, device-mapper can find no device.
Then I can find no LV at /dev/mapper/ .

I did "dpkg -i lvm2_2.00.24-1_i386.dev",
device-mapper find VG and LV
and I can find /dev/mapper/vg1-lv1.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=ja_JP.ujis, LC_CTYPE=ja_JP.ujis (charmap=EUC-JP)

Versions of packages lvm2 depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdevmapper1.00            2:1.00.19-2  The Linux Kernel Device Mapper use
ii  lvm-common                  1.5.17       The Logical Volume Manager for Lin

-- debconf information:

Received: (at 298890-done) by bugs.debian.org; 12 Mar 2005 13:53:16 +0000
>From waldi@debian.org Sat Mar 12 05:53:16 2005
Return-path: <waldi@debian.org>
Received: from wavehammer.waldi.eu.org [] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DA73L-00031t-00; Sat, 12 Mar 2005 05:53:16 -0800
Received: by wavehammer.waldi.eu.org (Postfix, from userid 1000)
	id 7D8F93C029; Sat, 12 Mar 2005 14:53:12 +0100 (CET)
Date: Sat, 12 Mar 2005 14:53:12 +0100
From: Bastian Blank <waldi@debian.org>
To: Matsu <matsu@r9.dion.ne.jp>
Cc: 298890-done@bugs.debian.org
Subject: Re: Bug#298890: lvm2: Device-mapper lookups no devices
Message-ID: <20050312135312.GC12366@wavehammer.waldi.eu.org>
References: <20050311.075330.59462222.matsu@r9.dion.ne.jp> <1110516840.7845.35.camel@localhost> <20050311081858.GA24027@wavehammer.waldi.eu.org> <20050311.232232.74755670.matsu@r9.dion.ne.jp>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="QRj9sO5tAVLaXnSD"
Content-Disposition: inline
In-Reply-To: <20050311.232232.74755670.matsu@r9.dion.ne.jp>
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 298890-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 11, 2005 at 11:22:32PM +0900, Matsu wrote:
> Perhaps, I created the LV by doing...
> # pvcreate /dev/hdb1;
> # vgcreate vg1 /dev/hdb;
> Is it the cause of the probrem?

You had an partition table on this disk. New versions overwrites this
section to avoid such problems.

> Or when I create LV with lvm2 at the other machine,
> must I do "dd if=3D/dev/zero of=3D/dev/hdb bs=3D512 count=3D1"?

Not if you use the new version of lvm2.

As the problem is solved, I'm closing the bug now.


I'm a soldier, not a diplomat.  I can only tell the truth.
		-- Kirk, "Errand of Mercy", stardate 3198.9

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.4.0 (GNU/Linux)