system fails to boot if btrfs has certain options in /etc/fstab

Bug #1001076 reported by Stefan Lasiewski
This bug affects 1 person
Affects Status Importance Assigned to Milestone
btrfs-tools (Ubuntu)

Bug Description

I have btrfs running on second harddrive (Not the root partition). I use 'compress=lzo' and I have set 'pass' to '2' so that the OS will check the volume at boot time.

    # <file system> <mount point> <type> <options> <dump> <pass>
    UUID="abcdefg" /btrfs btrfs defaults,compress=lzo 0 2

I am unsure if 'compress=lzo' has anything to do with this error.

However, if I do this then Ubuntu fails to boot. The error presented on the screen is:

    "Serious errors were found while checking the disk drive for[/btrfs].
    "Press I to ignore, S to skip mounting, or M for manual recovery."

The workaround is to edit /etc/fstab and set 'pass' to '0', which disables the fsck.

(Assigning to btrfs-tools initially. Not sure if that is the correct package.)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: btrfs-tools 0.19+20100601-3ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Thu May 17 20:57:07 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
SourcePackage: btrfs-tools
UpgradeStatus: Upgraded to precise on 2012-05-01 (16 days ago)

Revision history for this message
Stefan Lasiewski (stefanlasiewski) wrote :
Revision history for this message
Ryan Tasson (qfl47eh-ryan) wrote :

This is because the btrfsck tool doesn't support compression. Upon mountall,

fsck from util-linux 2.20.1
couldn't open because of unsupported option features (8).
fsck.btrfs: disk-io.c:679: open_ctree_fd: Assertion `!(1)' failed.
fsck: Warning... fsck.btrfs for device /dev/mapper/nogroanhomer-home exited with signal 6.

Knowing that, I've found the bug #748340; this is a dupe.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers