You are not logged in.

#1 2017-06-15 05:22:26

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

[SOLVED] Btrfs Scanning How do I stop it?

When I boot GRUB is scanning for any btrfs partitions/systems.

I don't have any that I know of.

So how can I tell GRUB so stop scanning it's not needed?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2 2017-06-15 06:15:48

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] Btrfs Scanning How do I stop it?

How do you know it's GRUB?

What *exactly* happens when you boot, please include as much detail as possible.

Offline

#3 2017-06-15 08:08:00

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,709

Re: [SOLVED] Btrfs Scanning How do I stop it?

^^removing btrfs-tools  wink

apt-cache policy btrfs-tools
btrfs-tools:
  Installiert:           (keine)
  Installationskandidat: 4.9.1-1
  Versionstabelle:
     4.9.1-1 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
apt-get remove ...

Offline

#4 2017-06-15 15:53:21

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Btrfs Scanning How do I stop it?

Head_on_a_Stick wrote:

How do you know it's GRUB?

What *exactly* happens when you boot, please include as much detail as possible.

Well, whatever checks the file systems when one boots their machine.

It displays a message saying it is checking for btrfs, then continues checking the mounted partitions. ahhh ... then goes to GRUB for the menu ... so something before grub maybe.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#5 2017-06-15 15:59:15

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Btrfs Scanning How do I stop it?

unklar wrote:

^^removing btrfs-tools  wink

apt-cache policy btrfs-tools
btrfs-tools:
  Installiert:           (keine)
  Installationskandidat: 4.9.1-1
  Versionstabelle:
     4.9.1-1 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
apt-get remove ...

Interesting, no idea why it's here.  Thank you.

 15 Jun 17 @ 12:53:56 ~
   $ sho btrfs-tools
aptitude show filename
Package: btrfs-tools              
State: installed
Automatically installed: no
Version: 3.17-1.1
Priority: optional
Section: admin
Maintainer: Dimitri John Ledkov <xnox@debian.org>
Architecture: amd64
Uncompressed Size: 3,099 k
Depends: e2fslibs (>= 1.42), libblkid1 (>= 2.17.2), libc6 (>= 2.7), libcomerr2 (>= 1.01), liblzo2-2, libuuid1 (>= 2.16), zlib1g (>= 1:1.2.0)
Conflicts: btrfs-tools
Description: Checksumming Copy on Write Filesystem utilities
 Btrfs is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy
 administration. 
 
 This package contains utilities (mkfs, fsck) used to work with btrfs and an utility (btrfs-convert) to make a btrfs filesystem from an ext3.
Homepage: http://btrfs.wiki.kernel.org/

Tags: admin::filesystem, hardware::storage, implemented-in::c, role::program, scope::utility, use::checking

 
 15 Jun 17 @ 12:54:13 ~
   $ saremv btrfs-tools
[sudo] password for sector11: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  btrfs-tools* dkms* libjansson4*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Purg btrfs-tools [3.17-1.1]
Purg dkms [2.2.0.3-2]
Purg libjansson4 [2.7-1+deb8u1]
 
 15 Jun 17 @ 12:55:28 ~
   $ sho dkms
aptitude show filename
Package: dkms                     
State: installed; will be removed because nothing depends on it
Automatically installed: yes
Multi-Arch: foreign
Version: 2.2.0.3-2
Priority: optional
Section: kernel
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Architecture: all
Uncompressed Size: 347 k
Depends: kmod | kldutils, gcc, make | build-essential | dpkg-dev, coreutils (>= 7.4), patch
Recommends: fakeroot, menu | sudo, linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers, linux-image
Provides: dkms
Description: Dynamic Kernel Module Support Framework
 DKMS is a framework designed to allow individual kernel modules to be upgraded without changing the whole kernel. It is also very easy to
 rebuild modules as you upgrade kernels.
Homepage: http://linux.dell.com/dkms

Tags: admin::kernel, devel::buildtools, devel::packaging, implemented-in::shell, interface::commandline, role::program, scope::utility,
      suite::debian, works-with::software:source

 
 15 Jun 17 @ 12:56:03 ~
   $ sho libjansson4
aptitude show filename
Package: libjansson4              
State: installed; will be removed because nothing depends on it
Automatically installed: yes
Multi-Arch: same
Version: 2.7-1+deb8u1
Priority: optional
Section: libs
Maintainer: Alessandro Ghedini <ghedo@debian.org>
Architecture: amd64
Uncompressed Size: 110 k
Depends: libc6 (>= 2.14)
PreDepends: multiarch-support
Breaks: libjansson4 (!= 2.7-1+deb8u1)
Replaces: libjansson4 (< 2.7-1+deb8u1)
Description: C library for encoding, decoding and manipulating JSON data
 Jansson is a C library for encoding, decoding and manipulating JSON data. 
 
 It features: 
 * Simple and intuitive API and data model 
 * Comprehensive documentation 
 * No dependencies on other libraries 
 * Full Unicode support (UTF-8) 
 * Extensive test suite
Homepage: http://www.digip.org/jansson/

Tags: role::shared-lib

 
 15 Jun 17 @ 12:56:31 ~
   $ aremv btrfs-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  btrfs-tools* dkms* libjansson4*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 3,555 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 145321 files and directories currently installed.)
Removing btrfs-tools (3.17-1.1) ...
update-initramfs: deferring update (trigger activated)
Purging configuration files for btrfs-tools (3.17-1.1) ...
Removing dkms (2.2.0.3-2) ...
Purging configuration files for dkms (2.2.0.3-2) ...
Removing libjansson4:amd64 (2.7-1+deb8u1) ...
Purging configuration files for libjansson4:amd64 (2.7-1+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for initramfs-tools (0.120+deb8u3) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Processing triggers for libc-bin (2.19-18+deb8u9) ...
 
 15 Jun 17 @ 12:57:12 ~
   $ 

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2017-06-15 17:50:22

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,673

Re: [SOLVED] Btrfs Scanning How do I stop it?

Interesting, no idea why it's here.

Probably part of the default install. Applications like gparted need the btrfs-tools (xfs-tools etc ...) to create a btrfs file system when you patition the disk so it needs to be in the live system; or to create a btrfs file system post-install.

Last edited by PackRat (2017-06-15 17:51:56)


You must unlearn what you have learned.
    -- yoda

Offline

#7 2017-06-15 17:55:18

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Btrfs Scanning How do I stop it?

^ except:

Package: btrfs-tools
State: installed
Automatically installed: no

so it looks like I installed it but I don't recall doing so and I use: "--no-recommends"

No problem it's gone  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#8 2017-06-17 01:36:50

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,666
Website

Re: [SOLVED] Btrfs Scanning How do I stop it?

PackRat wrote:

Probably part of the default install.

Correct. smile

Packages installed with the system will not be marked "automatically installed" unless they were brought in by a dependency.

Last edited by johnraff (2017-06-17 01:38:00)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#9 2017-06-17 02:04:56

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Btrfs Scanning How do I stop it?

johnraff wrote:

Correct. smile

Packages installed with the system will not be marked "automatically installed" unless they were brought in by a dependency.

Now that I did not know.  Time to look for it in the list.
It must be something added with the BL-D ISO than.  Any idea what brought it in?

EDIT:  Never mind #14 on the list.

Last edited by Sector11 (2017-06-17 02:07:40)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#10 2017-06-17 03:19:21

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,666
Website

Re: [SOLVED] Btrfs Scanning How do I stop it?

I don't think it's any big deal really. It does a quick check and adds a line to the boot messages, but how many milliseconds does it add to the boot time? Did you notice any difference after removing it?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2017-06-17 03:47:47

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Btrfs Scanning How do I stop it?

This was one of a few problems I am was having ... I'm eliminating things not needed, not wanted.

Even so, it was certainly not long, but why have it in the first place if I don't need it, same goes for all things; wireless and intel - no need: remove them.  It only appeared with this install.

BIOS now set to fast boot, I basically see nothing: Push the Power button, 2-3, Username - Password, enter.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#12 2017-06-17 10:45:53

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] Btrfs Scanning How do I stop it?

You can disable the unit file whilst keeping the package installed.

Use this command to show all of the unit files being launched by systemd:

systemd-analyze blame

Then find all the .services (or .sockets) that you don't want and use:

sudo systemctl disable foo.service # replace "foo" with the name of the .service

One of the irritating things about Debian is it's propensity to automatically enable .services upon installation, some may like this but I don't.

Offline

#13 2017-06-17 13:56:24

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Btrfs Scanning How do I stop it?

Intertesting, I'll open a new thread later because I have some questions.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB