Your message dated Mon, 15 Jul 2013 13:00:07 +0000
with message-id <e1uyinr-0005vd...@franck.debian.org>
and subject line Bug#712049: fixed in lvm2 2.02.98-4
has caused the Debian Bug report #712049,
regarding lvm2: /dev/mapper/vg-lv symlink creation races with fsck, causing 
boot failure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
712049: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712049
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: lvm2
Version: 2.02.98-3
Severity: important

Dear Maintainer,

After a recent upgrade of packages on my server, it sometimes fails to boot.
I cannot see any pattern as to whether it boots or not. It looks very much
like a race condition.

When the machine fails to boot, fsck fails to check one or more of the
filesystem(s) listed in fstab, which are on LVM2 LVs and are named like:
/dev/mapper/$vg-$lv

When this happens I see messages on the console of the form:
/dev/mapper/$vg-$lv: nonexistent device ("nofail" fstab option may be used to
skip this device)

The particular LV that cannot be fsckd changes each failed boot.
To reiterate, sometimes all LVs are fine, there is no problem at all, and boot
proceeds normally.

When fsck fails, I can get an sulogin shell; from there, I can fsck and mount
all LVM2-backed filesystems just fine.
There are no errors on any of the filesystems or block devices involved.

Editing /etc/fstab and adding the 'nofail' option to each LVM2-backed FS
causes these errors to be disregarded at bootup; bootup then proceeds
normally every time.

However I am concerned that this workaround would cause real filesystem errors
discovered at bootup to be ignored, which I regard as dangerous.
Therefore I backed out this change.

Editing /etc/fstab and changing the device names from /dev/mapper/$vg-$lv
to /dev/$vg-$lv seemed to make no difference whatsoever - the seemingly-random
failures occurred as previously.

Editing /etc/fstab and changing the device names from /dev/$vg-$lv to UUID=
form seems to work around the problem - I have had several successful bootups
in a row after this change.
However as the problem is intermittent, I don't 100% trust this workaround.

I have not attempted to use the real device names /dev/dm-$nn in fstab.

I believe that if UUID= works, I must have working LVs, in which case I am
just lacking the symlinks in /dev. So it seems as if udev is slow or bad?

I will add supplementary information shortly.

FYI the following existing bugs appear to be related, but distinct, problems:
#568838 (but is about the LABEL= case, which I am not using)
#715184 (but he seems to lack the LV, whereas I *think* I have an LV but lack 
symlinks)
#397509 (but he, unlike me, has /dev/mapper/$vg-$lv symlinks)

Thank you for taking the time to look at this report!

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

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

Versions of packages lvm2 depends on:
ii  dmsetup                   2:1.02.77-3
ii  initscripts               2.88dsf-41
ii  libc6                     2.17-7
ii  libdevmapper-event1.02.1  2:1.02.77-3
ii  libdevmapper1.02.1        2:1.02.77-3
ii  libreadline5              5.2+dfsg-2
ii  libudev0                  175-7.2
ii  lsb-base                  4.1+Debian12

lvm2 recommends no packages.

lvm2 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: lvm2
Source-Version: 2.02.98-4

We believe that the bug you reported is fixed in the latest version of
lvm2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 712...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <wa...@debian.org> (supplier of updated lvm2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 14 Jul 2013 16:37:56 +0200
Source: lvm2
Binary: lvm2 lvm2-udeb clvm libdevmapper-dev libdevmapper1.02.1 
libdevmapper1.02.1-udeb dmsetup dmsetup-udeb libdevmapper-event1.02.1 dmeventd 
liblvm2app2.2 liblvm2cmd2.02 liblvm2-dev
Architecture: source amd64
Version: 2.02.98-4
Distribution: unstable
Urgency: low
Maintainer: Debian LVM Team <pkg-lvm-maintain...@lists.alioth.debian.org>
Changed-By: Bastian Blank <wa...@debian.org>
Description: 
 clvm       - Cluster LVM Daemon for lvm2
 dmeventd   - Linux Kernel Device Mapper event daemon
 dmsetup    - Linux Kernel Device Mapper userspace library
 dmsetup-udeb - Linux Kernel Device Mapper userspace library (udeb)
 libdevmapper-dev - Linux Kernel Device Mapper header files
 libdevmapper-event1.02.1 - Linux Kernel Device Mapper event support library
 libdevmapper1.02.1 - Linux Kernel Device Mapper userspace library
 libdevmapper1.02.1-udeb - Linux Kernel Device Mapper userspace library (udeb)
 liblvm2-dev - LVM2 libraries - development files
 liblvm2app2.2 - LVM2 application library
 liblvm2cmd2.02 - LVM2 command library
 lvm2       - Linux Logical Volume Manager
 lvm2-udeb  - Linux Logical Volume Manager (udeb)
Closes: 712049
Changes: 
 lvm2 (2.02.98-4) unstable; urgency=low
 .
   * Drop still broken udev stuff. (closes: #712049)
   * Make thin support usable:
     - Suggest thin-privisioning-tools.
     - Set correct location for thin_check binary.
Checksums-Sha1: 
 5779303c72b7030171bec2cd6e814844acd48bc5 2029 lvm2_2.02.98-4.dsc
 1475661f4dec4f324d733c47cfe3769834bb91b0 34994 lvm2_2.02.98-4.debian.tar.gz
 e5b87ac36d207dca8701a0d82e29c529a3aa22ef 133212 
libdevmapper1.02.1_1.02.77-4_amd64.deb
 d9d974490083f5b5f25a8a25b4a3db76e69082cd 73534 
libdevmapper1.02.1-udeb_1.02.77-4_amd64.udeb
 2a243828951c01dc71146d62dfb1ba99ad2198cc 33592 
libdevmapper-event1.02.1_1.02.77-4_amd64.deb
 d6dcf2c39ace999b7ff88ecc3436bda4ee830475 45426 
libdevmapper-dev_1.02.77-4_amd64.deb
 748f60b8f70fa9c94b8c8c07089c0c9905ddd979 69058 dmsetup_1.02.77-4_amd64.deb
 e96b7496f453fe33a68c06d7ff2581d75391f823 21794 
dmsetup-udeb_1.02.77-4_amd64.udeb
 47b6eea73923fe97f7976a4d2ca437836bbfcb50 354844 
liblvm2app2.2_2.02.98-4_amd64.deb
 65618a5b216e96af489696bb474e6091224434d5 466420 
liblvm2cmd2.02_2.02.98-4_amd64.deb
 b7404025b8191b7c5fdcb06ed6cc83e46bdb8e05 76656 liblvm2-dev_2.02.98-4_amd64.deb
 6f48bf46daf5109d34af05050fc0d894b3c03292 50834 dmeventd_1.02.77-4_amd64.deb
 371ed38df86d79d96c46c4bdf531558fa5372f5c 605762 lvm2_2.02.98-4_amd64.deb
 1abf4dba50568345ffcccf9bb574df2d18d53d49 303536 lvm2-udeb_2.02.98-4_amd64.udeb
 bcb70cc2e6b336f94e89441adeae6c430414d677 379058 clvm_2.02.98-4_amd64.deb
Checksums-Sha256: 
 7fde905486945b3703e36fe29ccbc858d68109437625a78868074d6731d225da 2029 
lvm2_2.02.98-4.dsc
 8e6ca2bb9b36bc86cae6ffd4343c9f113e0e5c84e9a0eaa37664e0b0c29807da 34994 
lvm2_2.02.98-4.debian.tar.gz
 21e25087479ac5b9ddb18bb12e39c166de5f1aecbf3828c19bdd679da3dcee3b 133212 
libdevmapper1.02.1_1.02.77-4_amd64.deb
 ecb97c3041122f4ce4a9b68cce6fd5ab5b2a25ed9abb79e7bb018cc535255ac3 73534 
libdevmapper1.02.1-udeb_1.02.77-4_amd64.udeb
 69286a3f030bfd822c94bd424f4260301dd4e7a5a80f4cba4f4e46d4fcb21436 33592 
libdevmapper-event1.02.1_1.02.77-4_amd64.deb
 06fa8a28551935d599a664114a81b2ee6004551353c09d3724499c2161d331ac 45426 
libdevmapper-dev_1.02.77-4_amd64.deb
 33f45aff87a3615d0e65d9371001f25defa4f12a24ba686952aee971a7a7963e 69058 
dmsetup_1.02.77-4_amd64.deb
 003567561e810021b606a8f13cb8eabedb77bc715f8c23bea03f2f392b7a32bc 21794 
dmsetup-udeb_1.02.77-4_amd64.udeb
 52dff742e4cc23ea490038e2ea375da923e9569e06b48cd71934192a8bd4b698 354844 
liblvm2app2.2_2.02.98-4_amd64.deb
 4576dd26d3af9d8d516c9bf722a0eef0c2169acc8ab6194d47ebc1a2709a47e2 466420 
liblvm2cmd2.02_2.02.98-4_amd64.deb
 79f28b1547d44603dc1d84a739ad44bf029d0444a900e784ca1435fc0988864c 76656 
liblvm2-dev_2.02.98-4_amd64.deb
 68cfaa5f7256184c132bb3bed8c2bb5447ff73199781c3b2c623665a054fffd0 50834 
dmeventd_1.02.77-4_amd64.deb
 599b63ae9513f2fb5a77e827a707ecdbebe27f08f36ca12f488befb9cce1d584 605762 
lvm2_2.02.98-4_amd64.deb
 b5f60de07b294265334561e1f70efdcd7d8e53d1134e9f88668a239f11be8f58 303536 
lvm2-udeb_2.02.98-4_amd64.udeb
 fbd38f023c021fd342c0651a94f3439fa66d2db7e6c78698e2baf073b90084ea 379058 
clvm_2.02.98-4_amd64.deb
Files: 
 ad44b17cd46647720978331aea1a7f40 2029 admin optional lvm2_2.02.98-4.dsc
 a6e83268da31f1a4a7bade0c415bd084 34994 admin optional 
lvm2_2.02.98-4.debian.tar.gz
 5b963cfb830655a77146ecd87b164ebb 133212 libs optional 
libdevmapper1.02.1_1.02.77-4_amd64.deb
 1084c1ac74537f109d3502d262a3aba5 73534 debian-installer optional 
libdevmapper1.02.1-udeb_1.02.77-4_amd64.udeb
 5cf7b3d4f329c1d62f3946fb3a6ce754 33592 libs optional 
libdevmapper-event1.02.1_1.02.77-4_amd64.deb
 04526fec1ba115ab9889bf4f8d43165e 45426 libdevel optional 
libdevmapper-dev_1.02.77-4_amd64.deb
 0f7ede86ad022f0d12077c83fa270163 69058 admin optional 
dmsetup_1.02.77-4_amd64.deb
 a09f78955604f18e77a6fdbb4f217b4a 21794 debian-installer optional 
dmsetup-udeb_1.02.77-4_amd64.udeb
 11f9e91e0878fad48fc4f000bdc130ef 354844 libs optional 
liblvm2app2.2_2.02.98-4_amd64.deb
 fbfe9139f474d3b58a8d97bad1d3d11b 466420 libs optional 
liblvm2cmd2.02_2.02.98-4_amd64.deb
 c309aa50a7825289d15b1e377418ae06 76656 libdevel optional 
liblvm2-dev_2.02.98-4_amd64.deb
 413c0c90306948a39c11327990337e73 50834 admin optional 
dmeventd_1.02.77-4_amd64.deb
 0303570c6ac58b5543d095154ce4d322 605762 admin optional lvm2_2.02.98-4_amd64.deb
 ed16a5c008c136043f65296a5b7a0126 303536 debian-installer optional 
lvm2-udeb_2.02.98-4_amd64.udeb
 02ed17c1d7334b6739878aa8afc09d62 379058 admin extra clvm_2.02.98-4_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlHivzoACgkQLkAIIn9ODhG6tgCfYrl9kY06vS+HfYLSSUxmaaPX
u2IAnAuVDFBCabkftRnP6+Han/K6oBEc
=WTJk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to