Bug#705238: lvm2: lvcreate issues error: "not found: device not cleared"

Richard Esplin richard-oss at esplins.org
Thu Apr 11 18:33:33 UTC 2013


Package: lvm2
Version: 2.02.95-4
Severity: serious
Justification: Policy 9.3.3

On a fresh boot from a liveCD, I install lvm2 and start setting up my encrypted hard drive. However, regardless of the name I choose, lvcreate gives the following error:

    /dev/VGNAME/LVNAME: not found: device not cleared
    Aborting. Failed to wipe start of new LV.

At this point the logical volume is in an inconsitent state and to recover I have just removed the entire volume group and started over.

An Internet search shows that I am not the only one with this problem. This discussion on the debian-user list provides the most details:
http://lists.debian.org/debian-user/2012/12/msg00407.html

lvcreate works find if after installing lvm2 I run "service restart udev"

To avoid this problem, the lvm2 install script should be reloading the udev rules if udev is in use.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lvm2 depends on:
ii  dmsetup                   2:1.02.74-4
ii  initscripts               2.88dsf-22
ii  libc6                     2.13-27
ii  libdevmapper-event1.02.1  2:1.02.74-4
ii  libdevmapper1.02.1        2:1.02.74-4
ii  libreadline5              5.2-11
ii  libudev0                  175-3.1
ii  lsb-base                  3.2-28.1

lvm2 recommends no packages.

lvm2 suggests no packages.

-- no debconf information



More information about the pkg-lvm-maintainers mailing list