system fails to boot if btrfs has certain options in /etc/fstab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
btrfs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
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,
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-
ProcVersionSign
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)
This is because the btrfsck tool doesn't support compression. Upon mountall,
fsck from util-linux 2.20.1 nogroanhomer- home exited with signal 6.
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/
Knowing that, I've found the bug #748340; this is a dupe.