[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#275586: marked as done (partman-lvm: /dev/md/* software RAID partitions should be able to be marked as LVM PV's)



Your message dated Sat, 16 Oct 2004 23:03:20 -0400
with message-id <20041017030320.GA20330@kitenet.net>
and subject line FWD: Fixed in NMU of partman-lvm 27
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; 9 Oct 2004 00:02:57 +0000
>From owen@zoro.gotdns.org Fri Oct 08 17:02:57 2004
Return-path: <owen@zoro.gotdns.org>
Received: from dsl-80-46-89-82.access.uk.tiscali.com (zoro.gotdns.org) [80.46.89.82] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CG4hM-0001oF-00; Fri, 08 Oct 2004 17:02:56 -0700
Received: from owen by zoro.gotdns.org with local (Exim 4.34)
	id 1CG4hL-00089k-83; Sat, 09 Oct 2004 01:02:55 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Alex Owen <owen@cus.org.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: partman-lvm: /dev/md/* software RAID partitions should be able to be marked
 as LVM PV's
X-Mailer: reportbug 2.63
Date: Sat, 09 Oct 2004 01:02:55 +0100
Message-Id: <[🔎] E1CG4hL-00089k-83@zoro.gotdns.org>
Sender: Alex Owen <owen@zoro.gotdns.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25
X-Spam-Level: 

Package: partman-lvm
Severity: wishlist

Hi,
Here are a few code fragments that allow the software RAID /dev/md/
partitions to be marked up as LVM PV's

patch fragments generated from
debian-installer/packages/partman/partman-lvm/

Index: choose_method/lvm/choices
===================================================================
--- choose_method/lvm/choices   (revision 22848)
+++ choose_method/lvm/choices   (working copy)
@@ -8,6 +8,9 @@
 cd $dev

  lvm=no
  +if cat $dev/model | grep "Software RAID device" >/dev/null  ; then
  +    lvm=yes
  +fi
   open_dialog VALID_FLAGS $id
    while { read_line flag; [ "$flag" ]; }; do
         if [ "$flag" = lvm ]; then
Index: init.d/lvm
===================================================================
--- init.d/lvm  (revision 22848)
+++ init.d/lvm  (working copy)
@@ -32,6 +32,9 @@

     for id in $partitions; do
             lvm=no
	     +       if pvdisplay $(cat $dev/device) >/dev/null 2>&1 ;
	     then
	     +           lvm=yes
	     +       fi
	             open_dialog GET_FLAGS $id
		             while { read_line flag; [ "$flag" ]; }; do
			                 if [ "$flag" = lvm ]; then
					 


This solves "half the battle" of LVM on Software RAID
bug #245704 tracks the other "half" of the problem(making lvmcfg read
the lvm "markers" we allow to be set here).

Alex Owen


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (400, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-k7
Locale: LANG=C, LC_CTYPE=C

---------------------------------------
Received: (at 275586-done) by bugs.debian.org; 17 Oct 2004 03:05:19 +0000
>From joey@kitenet.net Sat Oct 16 20:05:19 2004
Return-path: <joey@kitenet.net>
Received: from kitenet.net [64.62.161.42] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CJ1MF-00076s-00; Sat, 16 Oct 2004 20:05:19 -0700
Received: from dragon.kitenet.net (unknown [66.168.94.144])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
	by kitenet.net (Postfix) with ESMTP id 2172E17F42;
	Sun, 17 Oct 2004 03:01:55 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
	id 639F76E111; Sat, 16 Oct 2004 23:03:21 -0400 (EDT)
Date: Sat, 16 Oct 2004 23:03:20 -0400
From: Joey Hess <joeyh@debian.org>
To: 265252-done@bugs.debian.org, 265868-done@bugs.debian.org,
	270424-done@bugs.debian.org, 275586-done@bugs.debian.org
Subject: FWD: Fixed in NMU of partman-lvm 27
Message-ID: <20041017030320.GA20330@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 275586-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,VALID_BTS_CONTROL 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 4


--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

----- Forwarded message from Joey Hess <joeyh@debian.org> -----

=46rom: Joey Hess <joeyh@debian.org>
Date: Sat, 16 Oct 2004 21:17:04 -0400
To: control@bugs.debian.org
Cc: Joey Hess <joeyh@debian.org>,
	Debian Install System Team <debian-boot@lists.debian.org>
Subject: Fixed in NMU of partman-lvm 27

tag 265252 + fixed
tag 265868 + fixed
tag 270424 + fixed
tag 275586 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload.  The .changes file follows.

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

Format: 1.7
Date: Sat, 16 Oct 2004 21:04:02 -0400
Source: partman-lvm
Binary: partman-lvm
Architecture: source all
Version: 27
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description:=20
 partman-lvm - Add to partman support for LVM (udeb)
Closes: 265252 265868 270424 275586
Changes:=20
 partman-lvm (27) unstable; urgency=3Dlow
 .
   * Joey Hess
     - Pass "partman" option to lvmcfg so it knows it is running under
       partman and can use partman to find devices for lvm (including raid
       devices).
     - Don't stop parted_server until lvmcfg has run since lvmcfg now uses
       it.
     - Add special case into choose_method/lvm/choices to allow raid device=
s to
       be used for lvm, despite not having lvm listed in VALID_FLAGS.
       Closes: #275586, #265252, #265868, #270424
     - In init.d/lvm, mark devices that pvdisplay shows as being used for
       lvm as having the lvm flag set. This is a workaround to make raid
       devices that are used as lvm continue to show as such when the
       partitioner restarts after lvmcfg.
     - Thanks to Alex Owen for his help.
   * Updated translations:
     - Bulgarian (bg.po) by Ognyan Kulev
     - Greek (el.po) by Greek Translation Team
     - French (fr.po) by French Team
Files:=20
 8b617dbb34b1e12d6e4f0bdf21e471f9 626 debian-installer standard partman-lvm=
_27.dsc
 011e80ed9e68e4dd7e55244cb8ac82ed 30643 debian-installer standard partman-l=
vm_27.tar.gz
 720736ef55cffae9fe98169a6cd09e20 17652 debian-installer standard partman-l=
vm_27_all.udeb
package-type: udeb

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

iD8DBQFBccXc2tp5zXiKP0wRAp5KAKDUTDXedPG4HINbT/EsJ0oGwWzUGwCgwcU7
9MgsYosBZJPak+787HvwPqc=3D
=3Dd7IT
-----END PGP SIGNATURE-----


----- End forwarded message -----

--=20
see shy jo

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

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

iD8DBQFBceD4d8HHehbQuO8RAuPIAKDqHnAwQVACTd6+3dvjkKaVylT0cACgwHhg
W16CJ+GzO7raJW+q/zQ/+dk=
=4k/j
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--



Reply to: