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

Bug#703661: marked as done (installation-reports: Unable to complete partitioning with RAID + LVM + encryption after forgetting a partition)



Your message dated Tue, 5 Jul 2016 16:41:20 +0200
with message-id <20160705164120.3de1d79b@a68n.lokal>
and subject line done
has caused the Debian Bug report #703661,
regarding installation-reports: Unable to complete partitioning with RAID + LVM + encryption after forgetting a partition
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
703661: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703661
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: installation-reports
Version: Debian 6.0.7 netboot gtk

Steps:

1. Install a new system with two blank SATA drives.
2. On the Partition disks screen, choose Manual partitioning.
3. Create a new partition on each disk and use it as a physical volume
for RAID.
4. Create a RAID1 using both physical volumes.
5. Create a new partition on the RAID to use for LVM.
6. Configure LVM with a new volume group and two volumes. Use the first
for a small boot volume. Use the rest of the available space for the second.
7. Configure a filesystem for /boot on the small volume.
8. Configure the large volume as a physical volume for encryption.
9. Go into "Configure encrypted volumes" and setup the encrypted volume
with standard options (in my case, 256-bit aes and custom passphrase).
10. Create a partition on the new encrypted volume, filling all
available space, mounted as /.
11. Select "Finish partitioning and write changes to disk"
12. The installer will complain that you forgot to create a swap
partition and suggest you go back and add one.
13. Since all available space has been used, no new partitions can be
created. The root partition can't be deleted - after selecting "Do not
use this volume" then "Finish partitioning and write changes to disk,"
the changes will not be written because "No root file system is defined."

The option to delete the encrypted volume does not appear anywhere.

The LVM volume group containing the encrypted volume cannot be deleted
or modified because it is "in use as physical volume for encrypted
volume root_vg-root_lv_crypt."

Choosing guided partitioning does not actually write any changes to disk.

Backing out to the detect disks step and trying to start over leaves
things in the same situation.

I was only able to complete the partitioning and installation as desired
by dropping to the ash shell and deleting the partition tables with fdisk.

-- 
David Grant
Systems Administrator
Electronic Frontier Foundation
https://eff.org/join

--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I cannot guarantee, that the installer is completely fool-proof these days either, but
since your report refers to Debian6, I deliberately close it now.
In fact I experienced similar problems with the current stable version upon it's release:
I had a software RAID1 and LVM on top of it, without any encryption though, and set up
LVM-cache for the filesystem-/.
It worked, but the system was not bootable at the next
restart, it was also kind of difficult to clear up the situation afterwards, I can
confirm a certain lack of flexibility there. 
- From today's perspective I would say, that it is not recommendable to combine
software-RAID and LVM, because you have two different instances of device-mapper running
and working on the same data-set. In your place I would instead learn how to deal with
BTRFS and use BTRFS-RAID plus LVM (plus encryption if you need it).
BTRFS is stable well tested and working nicely.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAld7xx4ACgkQ5+rBHyUt5wst7wCgvuHAPK8zCT1TOEAtNHJuMfrE
jaYAnRjMmdIN4rTTBwWSiApI+uCCmbki
=/6M/
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: