Package: e2fsprogs
Version: 1.38+1.39-WIP-2006.03.29-2.1
Severity: important


I have created a small crypt filesystem with this commands:

  # load modules
  modprobe loop
  modprobe dm_mod
  modprobe dm_crypt

  # create virtual disk
  dd if=/dev/zero of=./secret.img bs=150000k count=1

  # loopback
  losetup /dev/loop0 ./secret.img

  # this ask for pass twice
  cryptsetup -c aes -y create secret /dev/loop0

  # Then format as ext3
  mkfs.ext3 /dev/mapper/secret

Output error for mkfs.ext3 (with LC_ALL=C):

  mke2fs 1.39-WIP (29-Mar-2006)
  Filesystem label=
  OS type: Linux
  Block size=1024 (log=0)
  Fragment size=1024 (log=0)
  37544 inodes, 150000 blocks
  7500 blocks (5.00%) reserved for the super user
  First data block=1
  19 block groups
  8192 blocks per group, 8192 fragments per group
  1976 inodes per group
  Superblock backups stored on blocks:
          8193, 24577, 40961, 57345, 73729

  Writing inode tables: done
  Creating journal (4096 blocks): mkfs.ext3: Device or resource busy
          while trying to create journal


If I format with ext2 or vfat works right.
I have probed first to format as ext2 and then add journal like this

 mkfs.ext2 /dev/mapper/secret
 tune2fs -j /dev/mapper/secret

and works sucessfully.

I suppose this is a bug of mkfs.ext3 binary, with old versions
of e2fsprogs my script works ok.

If I try to mount mkfs.ext3 device:
  mount -t ext3 /dev/mapper/secret /mnt/secret

dmesg said:
  VFS: Can't find ext3 filesystem on dev dm-0.



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages e2fsprogs depends on:
ii  e2fslibs    1.38+1.39-WIP-2006.03.29-2.1 ext2 filesystem libraries
ii  libblkid1   1.38+1.39-WIP-2006.03.29-2.1 block device id library
ii  libc6       2.3.6-5                      GNU C Library: Shared libraries an
ii  libcomerr2  1.38+1.39-WIP-2006.03.29-2.1 common error description library
ii  libdevmappe 2:1.02.03-1                  The Linux Kernel Device Mapper use
ii  libselinux1 1.30-1                       SELinux shared libraries
ii  libsepol1   1.12-1                       Security Enhanced Linux policy lib
ii  libss2      1.38+1.39-WIP-2006.03.29-2.1 command-line interface parsing lib
ii  libuuid1    1.38+1.39-WIP-2006.03.29-2.1 universally unique id library

e2fsprogs recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to