Package: lvm2
Version: 2.02.106-2
Severity: serious
File: /etc/init.d/lvm2

I suppose that 
% /sbin/lvm vgchange -aay --sysinit >/dev/null
is not enough, because it doesn't create nodes in my /dev, and it causes
an interrupt while the bootstrap.

This is the reason I've added this line:
% /sbin/lvm vgscan --mknodes >/dev/null
It fixes the problem.

-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 
'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages lvm2 depends on:
ii  dmsetup                   2:1.02.85-2
ii  init-system-helpers       1.20
ii  initscripts               2.88dsf-53.3
ii  libc6                     2.19-7
ii  libdevmapper-event1.02.1  2:1.02.85-2
ii  libdevmapper1.02.1        2:1.02.85-2
ii  libreadline5              5.2+dfsg-2
ii  libudev1                  208-6
ii  lsb-base                  4.1+Debian13

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
pn  thin-provisioning-tools  <none>

-- Configuration Files:
/etc/init.d/lvm2 changed:
SCRIPTNAME=/etc/init.d/lvm2
. /lib/lsb/init-functions
[ -x /sbin/vgchange ] || exit 0
case "$1" in
  start)
        log_action_begin_msg "Setting up LVM Volume Groups"
        /sbin/lvm vgchange -aay --sysinit >/dev/null
        /sbin/lvm vgscan --mknodes >/dev/null
        log_action_end_msg "$?"
        ;;
  stop|restart|force-reload|status)
        ;;
  *)
        echo "Usage: $SCRIPTNAME start" >&2
        exit 3
        ;;
esac


-- no debconf information

Attachment: pgpcbzOVea2S_.pgp
Description: PGP signature

Reply via email to