Your message dated Tue, 21 Aug 2012 10:03:02 +0000
with message-id <[email protected]>
and subject line Bug#685311: fixed in btrfs-tools 0.19+20120328-8
has caused the Debian Bug report #685311,
regarding update udev rule for lvm on mdadm autodetection
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 [email protected]
immediately.)


-- 
685311: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685311
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: btrfs-tools
Version: 0.19+20120328-7
Severity: critical

I've marked this as critical as more people are likely to use btrfs with
wheezy, and it results in filesystems not coming up at boot,
consequently it is a system-wide issue and not just a package issue.  It
does not involve data loss.

Apparently the

  btrfs dev scan

command must be invoked before a btrfs RAID1 filesystem can be mounted.

btrfs-tools has some support for this in /lib/udev/rules.d/60-btrfs.rules

However, in my case, my RAID1 is made up of two LVM logical volumes,

  mkfs.btrfs -m raid1 -d raid1 /dev/mapper/vg00-btrfsvol0_[01]

and the udev script never seems to be called.

When I try to mount the volume after a reboot:

# mount /dev/mapper/vg00-btrfsvol0_0 /mnt/btrfs0
mount: wrong fs type, bad option, bad superblock on
/dev/mapper/vg00-btrfsvol0_0,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

I checked dmesg:

[17216.145092] device fsid c959d4a5-0713-4685-b572-8a679ec37e20 devid 1
transid 34 /dev/mapper/vg00-btrfsvol0_0
[17216.145639] btrfs: disk space caching is enabled
[17216.146987] btrfs: failed to read the system array on dm-100
[17216.147556] btrfs: open_ctree failed

The feedback from the btrfs community is that

a) `btrfs dev scan' should run from an init script

b) may need the "Device mapper uevents" option in the
kernel (CONFIG_DM_UEVENT) to trigger the udev rule when you enable
your VG(s)

http://comments.gmane.org/gmane.comp.file-systems.btrfs/19271

--- End Message ---
--- Begin Message ---
Source: btrfs-tools
Source-Version: 0.19+20120328-8

We believe that the bug you reported is fixed in the latest version of
btrfs-tools, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <[email protected]> (supplier of updated 
btrfs-tools 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 [email protected])


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

Format: 1.8
Date: Tue, 21 Aug 2012 11:49:31 +0200
Source: btrfs-tools
Binary: btrfs-tools btrfs-tools-udeb btrfs-tools-dbg
Architecture: source i386
Version: 0.19+20120328-8
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description: 
 btrfs-tools - Checksumming Copy on Write Filesystem utilities
 btrfs-tools-dbg - Checksumming Copy on Write Filesystem utilities (debug)
 btrfs-tools-udeb - Checksumming Copy on Write Filesystem utilities (udeb) 
(udeb)
Closes: 685311
Changes: 
 btrfs-tools (0.19+20120328-8) unstable; urgency=low
 .
   * Adding udev rule for btrfs on lvm, thanks to Daniel Pocock
     <[email protected]> for testing (Closes: #685311).
   * Adding postrm to rebuild initrd without btrfs on remove.
Checksums-Sha1: 
 ceb08174f0f146e41c072baee901592be3de7b30 1339 btrfs-tools_0.19+20120328-8.dsc
 f8f09658b2f91f5e9ca20b0068b65e3f54cd9c6d 9452 
btrfs-tools_0.19+20120328-8.debian.tar.xz
 425477b395345d6f1c38d9e4fb2dbb7839c028e5 251456 
btrfs-tools_0.19+20120328-8_i386.deb
 3df2ca94bc8c00ba8dad4ef8745f084c58f4d599 108304 
btrfs-tools-udeb_0.19+20120328-8_i386.udeb
 f3d6ee1a84ee0dceddee1a4322316a83755f97e3 3714154 
btrfs-tools-dbg_0.19+20120328-8_i386.deb
Checksums-Sha256: 
 adf41795926f6c7ef4429830b58181002074c0f5ed0c5186118cfa9b51a40834 1339 
btrfs-tools_0.19+20120328-8.dsc
 314044395b765f3c246b65bdd4888b221f2be58607c9d3c0f63acf5fa2089abf 9452 
btrfs-tools_0.19+20120328-8.debian.tar.xz
 d9c40f338a99be6739a7fabc96209744308ed66b09b0ec56ec913a5debcb7d12 251456 
btrfs-tools_0.19+20120328-8_i386.deb
 57a70a0af0ca9b22783a4a6dc4ab88bd8836cfc23b6dcf33d0fc83b4ecee9338 108304 
btrfs-tools-udeb_0.19+20120328-8_i386.udeb
 76cae5a2c1a80331ce3e65099faf879ac784b3061bc655bae97a325da1691bf7 3714154 
btrfs-tools-dbg_0.19+20120328-8_i386.deb
Files: 
 e651d421bcfd773aabce147b10e3e923 1339 admin optional 
btrfs-tools_0.19+20120328-8.dsc
 f8f0f021d4293e5913bf727b37f94ba5 9452 admin optional 
btrfs-tools_0.19+20120328-8.debian.tar.xz
 34ae8e45a058ed943830b7f7f8692d86 251456 admin optional 
btrfs-tools_0.19+20120328-8_i386.deb
 b2ee0e4ec9964d53b6e347364cc01e0a 108304 debian-installer optional 
btrfs-tools-udeb_0.19+20120328-8_i386.udeb
 e1743f7c4858d21f78f9c631d6ab5a8a 3714154 debug extra 
btrfs-tools-dbg_0.19+20120328-8_i386.deb

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

iEYEARECAAYFAlAzWzIACgkQ+C5cwEsrK56wOQCg0jtJ42NPNmxIzAGk2gzeRfZt
dbkAn11P40v2PwapPkATo23/suMjruk3
=p3yQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to