Package: btrfs-tools
Version: 0.19+20100601-3
Severity: normal
I have a BTRFS RAID 1 on LVM on my workstation:
mango:~# btrfs filesystem show
failed to read /dev/sr0
Label: none uuid: 4cd61137-3e72-46a3-a3e2-d4ac00212e36
Total devices 2 FS bytes used 173.30GB
devid 2 size 200.00GB used 178.26GB path /dev/dm-0
devid 1 size 200.00GB used 178.28GB path /dev/dm-1
Btrfs Btrfs v0.19
It works perfectly well since about 9 months already.
But it isn't mounted automatically on startup. In fstab I have:
mango:~# grep btrfs /etc/fstab
/dev/mango1/homelokal1 /home_lokal btrfs defaults 0 0
(other volume is /dev/mango2/homelokal2)
When I try to mount manually BTRFS does not find the devices. I don't
have the exact error message at hand as I mounted it already, but I
can restart and dig it out if need be.
When I do a
btrfs device scan
and then
mount /home_lokal
the kernel mounts the filesystem as expected.
Thus it seems to my that "btrfs device scan" is either not called in
initramfs or called before LVM volumes are built together.
LVM partitions is marked as:
mango:~# fdisk -l 2>/dev/null | grep LVM
/dev/sdb8 36510 109455 585938713+ 8e Linux LVM
/dev/sda8 36510 109455 585938713+ 8e Linux LVM
An Ext4 on LVM and SoftRAID 1 mounts as expected:
mango:~# mount | grep mango
/dev/mapper/mangoraid-homelokal on /home_lokal2 type ext4 (rw,commit=0)
/dev/mapper/mango1-homelokal1 on /home_lokal type btrfs (rw)
If its something that might be fixed already, I can try the experimental
version of btrfs-tools 0.19+20101101-1, but I am a slight bit reluctant.
Well it appears to work on my notebook and I do have backups.
Thanks,
Martin
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (450, 'unstable'), (110, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages btrfs-tools depends on:
ii e2fslibs 1.42~WIP-2011-07-02-1 ext2/ext3/ext4 file system librari
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libcomerr2 1.42~WIP-2011-07-02-1 common error description library
ii libuuid1 2.17.2-9.1 Universally Unique ID library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
btrfs-tools recommends no packages.
btrfs-tools suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]