Debian Bug report logs - #451970
partman-lvm: allow to 'reuse' logical volumes

version graph

Package: partman-lvm; Maintainer for partman-lvm is Debian Install System Team <debian-boot@lists.debian.org>;

Reported by: Yaroslav Halchenko <debian@onerussian.com>

Date: Fri, 16 Nov 2007 17:51:01 UTC

Severity: normal

Fixed in version partman-lvm/56

Done: Frans Pop <fjp@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#451535; Package debian-installer. (full text, mbox, link).


Acknowledgement sent to Yaroslav Halchenko <debian@onerussian.com>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Yaroslav Halchenko <debian@onerussian.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debian-installer: allow to 'reuse' encrypted volumes
Date: Fri, 16 Nov 2007 12:50:05 -0500
Package: debian-installer
Version: 20070308
Severity: normal


I had first installed i386 system with encrypted /home and swap. Then I
decided to install also amd64 build -- reusing both encrypted
partitions. Although I checked out smth like 'delete data' in the
encryption setup menu, which I treated as 'preserve/don"t touch', it
did reinitialize them and I had to recreate filesystems on top.

So I think 'Delete data' must be named 'Wipe out data', and another item
in the menu should be 'Reuse' or 'Keep existing encrypted volume'

Thanks in advance!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (900, 'testing'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#451535; Package debian-installer. (full text, mbox, link).


Acknowledgement sent to 451535@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #10 received at 451535@bugs.debian.org (full text, mbox, reply):

From: Frans Pop <elendil@planet.nl>
To: 451535@bugs.debian.org
Cc: Yaroslav Halchenko <debian@onerussian.com>
Subject: Re: Bug#451535: debian-installer: allow to 'reuse' encrypted volumes
Date: Mon, 19 Nov 2007 13:35:43 +0100
reassign 451535 partman-crypto
severity 451535 wishlist
thanks

On Friday 16 November 2007, Yaroslav Halchenko wrote:
> I had first installed i386 system with encrypted /home and swap. Then I
> decided to install also amd64 build -- reusing both encrypted
> partitions. Although I checked out smth like 'delete data' in the
> encryption setup menu, which I treated as 'preserve/don"t touch', it
> did reinitialize them and I had to recreate filesystems on top.

It is actually possible to reuse existing encrypted LVM volumes by following 
the procedure documented on [1] just before starting the partitioner.

Well, almost.
I did have one strange issue with that procedure though: after crypto and 
LVM had been activated, partman did not recognize the existing file systems 
on the logical volumes even though they could be mounted. And even though 
the partman log _does_ indicate that the partition was recognized.

However, I completely agree that it should be possible to do this in a 
simpler way. Reassigning your suggestion to the appropriate component.

Maybe we should have a general option "Detect existing encrypted and/or 
logical volumes" on the partman main screen.

Cheers,
FJP

[1] http://wiki.debian.org/DebianInstaller/Rescue/Crypto




Bug reassigned from package `debian-installer' to `partman-crypto'. Request was from Frans Pop <elendil@planet.nl> to control@bugs.debian.org. (Mon, 19 Nov 2007 12:51:08 GMT) (full text, mbox, link).


Severity set to `wishlist' from `normal' Request was from Frans Pop <elendil@planet.nl> to control@bugs.debian.org. (Mon, 19 Nov 2007 12:51:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#451535; Package partman-crypto. (full text, mbox, link).


Acknowledgement sent to Frans Pop <elendil@planet.nl>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (full text, mbox, link).


Message #19 received at 451535@bugs.debian.org (full text, mbox, reply):

From: Frans Pop <elendil@planet.nl>
To: 451535@bugs.debian.org
Cc: Yaroslav Halchenko <debian@onerussian.com>
Subject: Re: Bug#451535: debian-installer: allow to 'reuse' encrypted volumes
Date: Mon, 19 Nov 2007 15:59:19 +0100
clone 451535 -1
reassign -1 partman-lvm
severity -1 normal
thanks

On Monday 19 November 2007, Frans Pop wrote:
> I did have one strange issue with that procedure though: after crypto and
> LVM had been activated, partman did not recognize the existing file
> systems on the logical volumes even though they could be mounted. And
> even though the partman log _does_ indicate that the partition was
> recognized.

This seems to be an issue in init.d/50lvm from partman-lvm. That script will 
basically always create a new loop label on a logical volume and create a 
single partition. This is not really necessary if the LV already has a 
partition and prevents existing partitions from being detected.

Cloning to partman-lvm for this issue.




Bug 451535 cloned as bug 451970. Request was from Frans Pop <elendil@planet.nl> to control@bugs.debian.org. (Mon, 19 Nov 2007 15:00:03 GMT) (full text, mbox, link).


Bug reassigned from package `partman-crypto' to `partman-lvm'. Request was from Frans Pop <elendil@planet.nl> to control@bugs.debian.org. (Mon, 19 Nov 2007 15:00:05 GMT) (full text, mbox, link).


Severity set to `normal' from `wishlist' Request was from Frans Pop <elendil@planet.nl> to control@bugs.debian.org. (Mon, 19 Nov 2007 15:00:06 GMT) (full text, mbox, link).


Tags added: pending Request was from Frans Pop <elendil@planet.nl> to control@bugs.debian.org. (Tue, 20 Nov 2007 21:57:12 GMT) (full text, mbox, link).


Changed Bug title to `partman-lvm: allow to 'reuse' logical volumes' from `debian-installer: allow to 'reuse' encrypted volumes'. Request was from Frans Pop <elendil@planet.nl> to control@bugs.debian.org. (Tue, 20 Nov 2007 21:57:13 GMT) (full text, mbox, link).


Reply sent to Frans Pop <fjp@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Yaroslav Halchenko <debian@onerussian.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #34 received at 451970-close@bugs.debian.org (full text, mbox, reply):

From: Frans Pop <fjp@debian.org>
To: 451970-close@bugs.debian.org
Subject: Bug#451970: fixed in partman-lvm 56
Date: Wed, 05 Dec 2007 12:32:08 +0000
Source: partman-lvm
Source-Version: 56

We believe that the bug you reported is fixed in the latest version of
partman-lvm, which is due to be installed in the Debian FTP archive:

partman-lvm_56.dsc
  to pool/main/p/partman-lvm/partman-lvm_56.dsc
partman-lvm_56.tar.gz
  to pool/main/p/partman-lvm/partman-lvm_56.tar.gz
partman-lvm_56_all.udeb
  to pool/main/p/partman-lvm/partman-lvm_56_all.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 451970@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frans Pop <fjp@debian.org> (supplier of updated partman-lvm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


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

Format: 1.7
Date: Wed, 05 Dec 2007 13:21:09 +0100
Source: partman-lvm
Binary: partman-lvm
Architecture: source all
Version: 56
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
Description: 
 partman-lvm - Adds support for LVM to partman (udeb)
Closes: 451970
Changes: 
 partman-lvm (56) unstable; urgency=low
 .
   [ Frans Pop ]
   * Only check partition flags if we've not already determined the device is
     used for LVM.
   * Don't create label and partition for LVM volumes if they already have a
     partition. Needed to allow to use existing file systems on LVM volumes but
     additional changes will be needed for that to be properly supported.
     Closes: #451970.
 .
   [ Max Vozeler ]
   * Replace code to commit partman changes to disk with call to commit_changes
     from partman-base (>= 113) and version the dependency accordingly.
 .
   [ Updated translations ]
   * Belarusian (be.po) by Hleb Rubanau
   * Dzongkha (dz.po) by Jurmey Rabgay
   * Esperanto (eo.po) by Serge Leblanc
   * Korean (ko.po) by Sunjae Park
   * Malayalam (ml.po) by Praveen|പ്രവീണ്‍ A|എ
   * Norwegian Bokmål (nb.po) by Hans Fredrik Nordhaug
   * Polish (pl.po) by Bartosz Fenski
   * Romanian (ro.po) by Eddy Petrișor
   * Slovak (sk.po) by Ivan Masár
Files: 
 970721fa2b7c0d8a078aa48e0c55a1c8 694 debian-installer standard partman-lvm_56.dsc
 8c397137fca1ae6db0f3dd918874e76e 179977 debian-installer standard partman-lvm_56.tar.gz
 3016c391d50af2e2dac64631900832e6 184560 debian-installer standard partman-lvm_56_all.udeb
Package-Type: udeb

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

iD8DBQFHVpitgm/Kwh6ICoQRAq32AKCXdkkC6VHS6pMI2o5s7uEOfD1PhwCgsi1a
GjWXm0qTaWNusoK/g1t4jBU=
=hg8F
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 25 Jan 2008 07:33:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 21:21:25 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.