Your message dated Wed, 08 Sep 2010 03:58:31 +0000 with message-id <E1OtBnr-0005lw-Ik@ravel.debian.org> and subject line Closing old installation report #496727 has caused the Debian Bug report #496727, regarding partman fails with LVM over dm-crypt over RAID with the lenny beta2 d-i 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.) -- 496727: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496727 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: partman fails with LVM over dm-crypt over RAID with the lenny beta2 d-i
- From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
- Date: Tue, 26 Aug 2008 21:45:33 -0400
- Message-id: <87k5e32ptu.fsf@squeak.fifthhorseman.net>
Package: installation-reports Boot method: netboot Image version: lenny d-i beta2 Date: Tue, 26 Aug 2008 21:22:47 -0400 Machine: monkeyman Processor: Intel(R) Xeon(TM) CPU 3.20GHz Memory: 1G Partitions: 0 shoveler:/# df -Tl Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_shoveler0-root ext3 1032088 75104 904556 8% / /dev/md0 ext3 474348 16593 433263 4% /boot /dev/mapper/vg_shoveler0-usr ext3 5160576 334816 4563616 7% /usr /dev/mapper/vg_shoveler0-var ext3 5160576 292336 4606096 6% /var tmpfs tmpfs 453204 40 453164 1% /dev 0 shoveler:/# cat /proc/partitions major minor #blocks name 8 0 488386584 sda 8 1 489951 sda1 8 2 979965 sda2 8 3 486914085 sda3 8 16 488386584 sdb 8 17 489951 sdb1 8 18 979965 sdb2 8 19 486914085 sdb3 9 0 489856 md0 9 1 486913984 md1 254 0 486912956 dm-0 254 1 979965 dm-1 254 2 979965 dm-2 254 3 1048576 dm-3 254 4 5242880 dm-4 254 5 5242880 dm-5 0 shoveler:/# cat /etc/crypttab sda2_crypt /dev/sda2 /dev/urandom cipher=serpent-xts-plain,size=256,swap sdb2_crypt /dev/sdb2 /dev/urandom cipher=serpent-xts-plain,size=256,swap 0 shoveler:/# cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] md1 : active raid1 sdb3[1] sda3[0] 486913984 blocks [2/2] [UU] [==========>..........] resync = 52.4% (255497664/486913984) finish=44.5min speed=86491K/sec md0 : active raid1 sdb1[1] sda1[0] 489856 blocks [2/2] [UU] unused devices: <none> 0 shoveler:/# lvs File descriptor 3 left open File descriptor 4 left open File descriptor 5 left open File descriptor 6 left open LV VG Attr LSize Origin Snap% Move Log Copy% Convert root vg_shoveler0 -wi-ao 1.00G usr vg_shoveler0 -wi-ao 5.00G var vg_shoveler0 -wi-ao 5.00G 0 shoveler:/# pvs File descriptor 3 left open File descriptor 4 left open File descriptor 5 left open File descriptor 6 left open PV VG Fmt Attr PSize PFree /dev/dm-0 vg_shoveler0 lvm2 a- 464.36G 453.36G 0 shoveler:/# cat /proc/swaps Filename Type Size Used Priority /dev/mapper/sda2_crypt partition 979956 0 -1 /dev/mapper/sdb2_crypt partition 979956 0 -2 0 shoveler:/# Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Initial boot: [O] Detect network card: [O] Configure network: [O] Detect CD: [ ] Load installer modules: [O] Detect hard drives: [O] Partition hard drives: [E] Install base system: [O] Clock/timezone setup: [O] User/password setup: [O] Install tasks: [O] Install boot loader: [O] Overall install: [O] Comments/Problems: The partitioner seems to have a problem when placing LVM PVs on top of encrypted volumes on top of RAID devices. I saw no mention of this in the errata (http://www.debian.org/devel/debian-installer/errata), but i haven't tested it against a daily build yet either. In this example, there is a 2-component RAID1 mirror /dev/md1 from /dev/sda3 and /dev/sdb3. /dev/mapper/md1_crypt is created by layering an encrypted volume over /dev/md1, and configured via partman. At this point, i was returned to the main partman screen, but if i select the md1_crypt device to try to make it an LVM2 physical volume, partman instead offers to put a partition table on the device, which doesn't make any sense. Perhaps dm-crypt over RAID devices are somehow not being flagged as "loop" or something? Partman seems to work as i expect it to if it's just dm-crypt over a raw device. I was able to work around this by getting as far as the above, opening a shell in a separate session, doing pvcreate, vgcreate, and lvcreate From the separate shell, and then restarting partman via "Go Back" and "Partition Disks". At that point, partman recognized the LVM pieces and let me work with them as i intended. FWIW, this arrangment (LVM over dm-crypt over RAID) seems like a reasonable common one, so it should be easy to configure from d-i. Thanks for making a very useful installer! Regards, --dkg PS Reports that seem related: http://bugs.debian.org/435834 http://bugs.debian.org/303914 (supposed to be fixed years ago!)Attachment: pgpA0ZGCBGKbi.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 496727-done@bugs.debian.org
- Subject: Closing old installation report #496727
- From: Christian Perrier <bubulle@debian.org>
- Date: Wed, 08 Sep 2010 03:58:31 +0000
- Message-id: <E1OtBnr-0005lw-Ik@ravel.debian.org>
We are closing this installation report for one of the following reasons: - it was reported with a pre-lenny version of Debian Installer. - indications in the installation report give the feeling that the reported problem waslying in another software, unrelated to D-I, which we can't easily identify. - indications in the installation report suggest that it may have been fixed in a more recent version of a D-I component - it was successful and we forgot closing it..:-) - it has no information we consider useful The D-I team is currently in the process of cleaning out the old spool of installation reports that haven't bene processed yet. In case you think that the problem you reported has chances to be still present, please reiterate your installation test with a more recent image of D-I, if you're in position of doing this. You'll find daily builds at http://www.debian.org/devel/debian-installer. We recommend you choose the netboot image, in the "daily builds section", then choose to install "squeeze" when prompted. If some problems are found, please report them with a new bug sent against installation-reports. Many thanks for your understanding and your help improving Debian, past and present.
--- End Message ---