btrfs raid1 is slow at boot

Bug #817485 reported by turbooster
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
btrfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When running natty from a btrfs raid1 on a notebook (a small mlc ssd and one partition of a normal hdd) the normal boots takes over 1 minute. fsck and ureadahead take most of the time. When both are disabled (setting 0 at the end of the line in fstab and uninstalling ureadahead) the time for boot is 18 seconds. It looks like ureadahead is reading from one disk only - maybe this is another bug.
I consider this a bug because fsck.btrfs shouldn't take more than 20 seconds to basically do nothing. Isn't btrfs supposed to run without fsck anyway?

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: btrfs-tools 0.19+20100601-3ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
Architecture: amd64
Date: Thu Jul 28 09:39:55 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=de:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: btrfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
turbooster (comacritter) wrote :
Revision history for this message
turbooster (comacritter) wrote :

I haven't tried to only disable fsck. Disabling ureadahead still let's fsck take a long time

turbooster (comacritter)
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in btrfs-tools (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.