Announcement

Collapse
No announcement yet.

30 s boot stall "Scanning for Btrfs filesystems"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    30 s boot stall "Scanning for Btrfs filesystems"

    The NVMe SSD in my desktop died a few days ago, while it was in use (as the sender of a send/receive incremental backup). It was only a few years old. It is completely lifeless.

    Using an old (2015) SATA SSD, I restored from a backup, and with some adjustments to /etc/fstab and a few subvolume creations (for .cache and snapper snapshots) Kubuntu 26.04 is running, albeit more slowly.

    But during the boot, before plasma starts there is a step that stalls for about 30 s:
    Code:
    Scanning for Btrfs filesystems
    registered /dev/sdc1
    registered /dev/sdb6
    registered /dev/sda2
    (Those devices are those with btrfs on them, the last being the drive being booted.)

    Can anyone explain this step? Removing the failed drive had no effect. Another install, a vanilla Kubuntu 26.04, on the same SSD does not have the problem.
    Regards, John Little

    #2
    what does
    Code:
    sudo btrfs filesystem show
    show ?
    also
    Code:
    systemd-analyze blame
    and
    Code:
    systemd-analyze critical-chain
    ?
    ʟɨռʊӼ ʄօʀ ʟɨʄɛ

    Comment


      #3
      Try rebuilding your initramfs, if you haven't already.

      Also wondering if your swap was on the failed drive.
      Last edited by oshunluvr; Jul 06, 2026, 07:55 AM.

      Please Read Me

      Comment


        #4
        Thank you.
        Originally posted by die.boer View Post
        what does
        Code:
        sudo btrfs filesystem show
        show ?
        It shows the three btrfs that are present.
        also
        Code:
        systemd-analyze blame
        That doesn't show the 30 s delay. The top item is 3.738s NetworkManager-wait-online.service
        and
        Code:
        systemd-analyze critical-chain
        Again, does not show the 30 s delay. It would appear that the stall happens before systemd starts.
        Regards, John Little

        Comment


          #5
          Thank you.
          Originally posted by oshunluvr View Post
          Try rebuilding your initramfs, if you haven't already.
          That fixed it (sudo update-initramfs -u). A step to be added when restoring from backup.

          Also wondering if your swap was on the failed drive.
          It was indeed, but commenting that out was part of patching up /etc/fstab.
          Regards, John Little

          Comment


          • oshunluvr
            oshunluvr commented
            Editing a comment
            Great! I love the easy ones.

        Users Viewing This Topic

        Collapse

        There are 0 users viewing this topic.

        Working...
        X