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!)
pgpJmmu8Drapb.pgp
Description: PGP signature