All of lore.kernel.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Ubunutu scanning for a btrfs fs it will never find
Date: Sun, 17 Nov 2013 20:23:56 +0000 (UTC)	[thread overview]
Message-ID: <pan$78cfa$e66d0bd7$51d5f50d$ea952b6a@cox.net> (raw)
In-Reply-To: 5288B4CF.90703@zignux.com

Antonio Rodulfo posted on Sun, 17 Nov 2013 13:21:35 +0100 as excerpted:

> After upgrading one of my laptops from XUbuntu 12.04 to 12.10, I started
> to see a "Scanning for Btrfs filesystems" message after the initial grub
> menu and before the system issues its startup sequence of messages.

> The system hangs now there for several seconds (15, maybe?) and keeps
> going with no further reference to btrfs.
> 
> I don't have any btrfs in my laptop nor plan to have it.

> I have read I could remove btrfs-tools module from my kernel and / or
> blacklist it in /etc/modprobe.d
> 
> What do you recommend?

I'm not really familiar with xubuntu (or indeed, ubuntu at all), but an 
educated guess based on your description is that 12.10 has a btrfs 
option, possibly even the default, if installed "clean", thus the 
scanning for btrfs (which from your description is coming from the pre-
packaged initramfs/initrd before root is even mounted).

Since you upgraded and apparently kept the existing partitioning and 
filesystems without btrfs, you don't have any btrfs for it to find, so 
all it does is delay your boot.

Yes, it should be possible to turn off that scan, but because it appears 
to be coming from the pre-built initr* that's shipped by the distro with 
the assumption that new installs will likely have btrfs, turning it off 
may be a bit complex, possibly involving an initr* rebuild, tho it's also 
possible the distro has an alternative initr* available without that 
scan, exactly because of situations like yours, and all you need to do is 
install that alternative.

However, that's a distro-specific issue, so chances are you'll need to 
post the question to your distro's lists or forums (unless someone here 
by simple chance happens to have distro-specific knowledge of (x)ubuntu 
and can post an answer).  I don't know whether that'd be xubuntu 
specifically, or the general ubuntu forums/lists, but that's where I'd 
suggest you post the question if nobody chances to have a good answer for 
you here.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


  reply	other threads:[~2013-11-17 20:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-17 12:21 Ubunutu scanning for a btrfs fs it will never find Antonio Rodulfo
2013-11-17 20:23 ` Duncan [this message]
2013-11-17 23:39   ` Chris Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='pan$78cfa$e66d0bd7$51d5f50d$ea952b6a@cox.net' \
    --to=1i5t5.duncan@cox.net \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.