← Back to team overview

kernel-packages team mailing list archive

[Bug 1460447] Re: Boot slow, "scanning for btrfs filesystems" takes 100 seconds

 

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1460447

Title:
  Boot slow, "scanning for btrfs filesystems" takes 100 seconds

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I installed 14.10 and used btrfs for /home.  Later, I did a clean install of 15.04, using the same /home partition.
  Ever since then, boots have been agonizingly slow; all the delay appears to be while the message
  "scanning for btrfs filesystems" is diplayed early in boot.

  The system is an i7 with one disk:

  root@i7:~# fdisk /dev/sda
  Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  Units: sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 4096 bytes
  I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  Disklabel type: dos
  Disk identifier: 0x00007f84

  Device     Boot     Start        End    Sectors   Size Id Type
  /dev/sda1  *         2048  117186559  117184512  55.9G 83 Linux
  /dev/sda2       117186560  234373119  117186560  55.9G 83 Linux
  /dev/sda3       234375166 1953523711 1719148546 819.8G  5 Extended
  /dev/sda5       234375168  273434623   39059456  18.6G 82 Linux swap / Solaris
  /dev/sda6       273436672 1953523711 1680087040 801.1G 83 Linux

  root@i7:~# df -T | grep sd
  /dev/sda2      ext4      57542652  10103624  44492980  19% /
  /dev/sda6      btrfs    840043520 172076728 665321064  21% /home

  I'll attach a bootchart, but I suspect the btrfs delay happens before
  the bootchart starts?

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-16-generic 3.19.0-16.16
  ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
  Uname: Linux 3.19.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  dank       2176 F.... pulseaudio
   /dev/snd/controlC0:  dank       2176 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Sun May 31 08:53:37 2015
  HibernationDevice: RESUME=UUID=417f2bba-dea3-496b-ad18-702d4dc6f223
  InstallationDate: Installed on 2015-05-16 (14 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
   
   lxcbr0    no wireless extensions.
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-16-generic root=UUID=270a0d36-9ed9-4e58-b909-175db447838d ro quiet splash init=/lib/systemd/systemd-bootchart
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-16-generic N/A
   linux-backports-modules-3.19.0-16-generic  N/A
   linux-firmware                             1.143
  RfKill:
   
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/16/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P2.50
  dmi.board.name: X58 Extreme
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP2.50:bd08/16/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnX58Extreme:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1460447/+subscriptions


References