Since I thought boot is failing because btrfs needs to scan for devices before it can mount a multiple devices, I added the following line to boot.localfs:
/sbin/btrfs device scan
But the boot process still halts.
Then I noticed that the boot is actually interrupted by the following error:
FATAL: Module btrfs not found.
But the module is obviously there and lsmod confirms it along with the fact that I can boot successfully after running
btrfs device scan
Does anyone have any ideas? I can’t be the only person trying BTRFS raid setup.
I am running opensuse 12.1 with all updates - using XEN and 10 VMs and EXT4 filesystems only. Since 3 weeks system halts or crashes unexpected by accident. I definitely have no btrfs. But console screen shows:
FATAL: Module btrfs not found.
Trying manual resume from …
So I followed the hints from above, adding acpi=off and loading btrfs, ok, it boots slowly
I didnt find any hint in the logs
but now I am frightening by acident crashes at any time day and night.
what happend with that dammned btrfs driver, which I do not use and do not need ?
I did read, that the btrfs driver is unstable and other distributiions dod cancel that project, but I dont use it - or do I ?
I think here’s the instruction which causes the error:
**$ cat /tmp/boot/81-btrfs.sh**
#!/bin/bash -e
#%stage: filesystem
#%if: -x /sbin/btrfs
#%programs: /sbin/btrfs /sbin/btrfs-zero-log /sbin/btrfs-convert /sbin/btrfs-select-super /sbin/btrfs-image /sbin/btrfstune /sbin/btrfs-restore /sbin/btrfs-find-root /sbin/btrfsck /sbin/mkfs.btrfs /sbin/btrfs-dump-super /sbin/btrfs-debug-tree
**modprobe btrfs**
if -x /sbin/btrfs ]; then
/sbin/btrfs dev scan >& /dev/null
fi
This script is executed before 83-mount.sh. Thus the driver can not be loaded from the root file system. It has to be in the initial ramdisk, but it is not.
On 08/30/2012 12:06 PM, daq wrote:
>
> rdeipw2;2482609 Wrote:
>> I am running opensuse 12.1 with all updates - using XEN and 10 VMs and
>> EXT4 filesystems only. Since 3 weeks system halts or crashes unexpected
>> by accident. I definitely have no btrfs. But console screen shows:
>> FATAL: Module btrfs not found.
>>
>
> Why would it complain about BTRFS module if it wasn’t needed? Are you
> sure you’re not using it? Paste your /etc/fstab here.
The reason it needs it is likely because it is in MODULES_LOADED_ON_BOOT. That
forces it to load even if there are no btrfs file systems; however, the error
can be ignored.