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

Bug#502913: debian-installer: mkfs.ext3 fails with raid10+dmcrypt+lvm



Package: debian-installer
Version: Daily build #2 on 2008-10-20
Severity: important

Installing on a dell P3 server with four drives, install fails when
attempting to write lvm filesystem config.

It fails immediately with:

Failed to create a file system
The ext3 file system creation in partition #1 of LVM VG foo, LV home failed

On tty4 I see:

partman: /dev/mapper/foo-home is apparently in use by the system: will not make a filesystem here!

The setup prior to the failure:
 * 2 non-raid bootable 512M partitions (one mounted on /boot, one unused)
 * 2 non-raid 512M partitions (both unused)
 * 4 raid 17G partitions assigned to encrypted volume
 * encrypted volume assign to lvm
 * lvm has logical volumes called: root, swap, tmp, log, var, usr, and home
 * everything but swap is ext3 and given a mount point

On tty2, when I run `ls /dev/mapper` I see each LV has two devices the
extra node ends with "p1".  For example, there is /dev/mapper/foo-home
and /dev/mapper/foo-homep1.  When I run `mkfs.ext3
/dev/mapper/foo-home` it fails with the message above,
"/dev/mapper/foo-home is apparently in use by the system: will not
make a filesystem here!"  OTOH, when I run `mkfs.ext3
/dev/mapper/foo-homep1` it succeeds.  Hmmm.  I haven't met these "p1"
nodes before, so I'm stuck

This failure is reproducible with a cold shutdown and restart.  Last
note, there was a raid10 md device on this system, which I deleted
using partman.  On my last attempt, after a cold restart, partman did
not detect any raid devices.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

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



Reply to: