ext4 files system -> why is Btrfs loaded?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
Altoid
Level 1
Level 1
Posts: 33
Joined: Fri Nov 27, 2015 12:11 pm

ext4 files system -> why is Btrfs loaded?

Post by Altoid » Tue Jul 12, 2016 11:37 am

Hello:

While looking at my dmesg output after a new 'from scratch' Mint 18 64bit installation, I came across something that caught my attention:

Code: Select all

[   13.726892] Btrfs loaded


Seeing that all my linux drives are formatted to ext4 with nothing using the Btrfs, I don't understand the reason behind this.

Q1:
Is it necessary for Mint 18 to work properly?
Q2: Why?
Q3:
If not, can the loading of Btrfs be deactivated? (if only for neatness' sake).

Thanks in advance,

A.

EDIT:
Neglected to copy the previous instances in dmesg.
raid6 and xor modules (btrfs dependedncies) are also loaded.

Code: Select all

[   13.292031] raid6: sse2x1   gen()  4951 MB/s
[   13.360012] raid6: sse2x1   xor()  4761 MB/s
[   13.428010] raid6: sse2x2   gen()  5643 MB/s
[   13.496010] raid6: sse2x2   xor()  5820 MB/s
[   13.564009] raid6: sse2x4   gen()  8278 MB/s
[   13.632008] raid6: sse2x4   xor()  6494 MB/s
[   13.632010] raid6: using algorithm sse2x4 gen() 8278 MB/s
[   13.632011] raid6: .... xor() 6494 MB/s, rmw enabled
[   13.632012] raid6: using ssse3x2 recovery algorithm
[   13.633228] xor: measuring software checksum speed
[   13.672008]    prefetch64-sse: 11664.000 MB/sec
[   13.712007]    generic_sse: 10332.000 MB/sec
[   13.712009] xor: using function: prefetch64-sse (11664.000 MB/sec)
I have four separate disks but stil, I'm not using raid in my rig either.

TIA.

A.

User avatar
Flemur
Level 17
Level 17
Posts: 7330
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: ext4 files system -> why is Btrfs loaded?

Post by Flemur » Tue Jul 12, 2016 1:17 pm

Code: Select all

$ dmesg | grep -i btrf
[    5.721524] Btrfs loaded
$ dpkg -l *btrf*
...
ii  btrfs-tools    4.4-1        amd64        ...

$ sudo apt-get purge btrfs-tools
...

$ dmesg | grep -i raid
[    5.284008] raid6: sse2x1   gen()  4487 MB/s
...
$ dpkg -l *raid*
...
ii  dmraid                1.0.0.rc16-4.2u amd64        ...
un  libdmraid1.0.0.rc15   <none>          <none>     ...
ii  libdmraid1.0.0.rc16   1.0.0.rc16-4.2u amd64    ...

$ sudo apt-get purge dmraid libdmraid1.0.0.rc16 
...
$
Reboot OK.

Code: Select all

$ dmesg | grep -i btrf
$
$ dmesg | grep -i raid
$  
Edit:
why is Btrfs loaded?
My guess is it's in case a btrfs partition get mounted, via USB or whatever.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Altoid
Level 1
Level 1
Posts: 33
Joined: Fri Nov 27, 2015 12:11 pm

Re: ext4 files system -> why is Btrfs loaded?

Post by Altoid » Tue Jul 12, 2016 1:44 pm

Hello:
Thank you so much for the prompt reply.
Flemur wrote:

Code: Select all

$ dmesg | grep -i btrf
[    5.721524] Btrfs loaded
$ dpkg -l *btrf*
...
ii  btrfs-tools    4.4-1        amd64        ...
$ sudo apt-get purge btrfs-tools
...
$ dmesg | grep -i raid
[    5.284008] raid6: sse2x1   gen()  4487 MB/s
...
$ dpkg -l *raid*
...
ii  dmraid                1.0.0.rc16-4.2u amd64        ...
un  libdmraid1.0.0.rc15   <none>          <none>     ...
ii  libdmraid1.0.0.rc16   1.0.0.rc16-4.2u amd64    ...
$ sudo apt-get purge dmraid libdmraid1.0.0.rc16 
...
$
Reboot OK.

Code: Select all

$ dmesg | grep -i btrf
$
$ dmesg | grep -i raid
$  
Thanks.
Will do that today.

Edit:
why is Btrfs loaded?
Flemur wrote: My guess is it's in case a btrfs partition get mounted, via USB or whatever.
I see ...

I guess I should do the same thing with this one:

Code: Select all

[   16.333639] systemd[1]: Started Braille Device Support.
I'll also check and see what else systemd is loading at startup without my needing it ...
I think I'm starting to get a slight MS-Windows deja vu sensation.

Cheers,

A.

User avatar
Flemur
Level 17
Level 17
Posts: 7330
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: ext4 files system -> why is Btrfs loaded?

Post by Flemur » Tue Jul 12, 2016 2:35 pm

Code: Select all

I guess I should do the same thing with this one:
Code: Select all
[   16.333639] systemd[1]: Started Braille Device Support.
That's another thing I remove - it's easiest in synaptic because the "braille" packages aren't named *braille* (at least some are "brlxxxx"). But a synaptic search for "braille" will show them.
I'll also check and see what else systemd is loading at startup without my needing it ...
Unless you're very low on disk space, it's usually safer to just prevent something from starting than removing it. IIRC there were several "mintXXX" (mintupload, etc) things that didn't seem to do anything; just disabled, not removed.

A couple of other things I fiddle with are (that I happen to remember):
mdm -> lxdm (mdm has WAY too much eye-candy that I don't care about).
Remove noto font and all fonts for foreign languages.
Disable "apt" automatic check for updates.

BUT: it won't make much real difference to remove or disable most things, and you're liable to break things: I bet you don't notice any difference after removing btrf stuff. I do it mostly as a perverse hobby, I guess, though my Mint installs end up be about as small (memory) and fast-booting as Arch or bare-bones Debian.

The supposedly lightweight "BunsenLabs Hydrogen" boots marginally faster (17 vs 22 sec) but uses over 2X more memory than my Mint18 with fluxbox. Using fluxbox vs apparently every other desktop is the main difference, I think.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Altoid
Level 1
Level 1
Posts: 33
Joined: Fri Nov 27, 2015 12:11 pm

Re: ext4 files system -> why is Btrfs loaded?

Post by Altoid » Tue Jul 12, 2016 3:09 pm

Hello:
Flemur wrote:

Code: Select all

I guess I should do the same thing with this one:
Code: Select all
[   16.333639] systemd[1]: Started Braille Device Support.
That's another thing I remove - it's easiest in synaptic ...
Yes, synaptic gets a lot of stuff out without using CLI.
Flemur wrote: ... usually safer to just prevent something from starting than removing it.
IIRC there were several "mintXXX" (mintupload, etc) things that didn't seem to do anything; just disabled, not removed.
Indeed, that's what I meant to say.
Analog to setting services to 'automatic', 'manual' or 'disabled' in XP.
I got used to doing that in all my years with MS systems.
Never thought I would have to do it in Linux too.
Flemur wrote: A couple of other things I fiddle with are (that I happen to remember):
mdm -> lxdm (mdm has WAY too much eye-candy that I don't care about).
Remove noto font and all fonts for foreign languages.
Disable "apt" automatic check for updates.
I removed all non-western fonts.
But I have 8Gb RAM at hand.
Flemur wrote: ... won't make much real difference to remove or disable most things ...
Don't know yet, will see later today at home.

What I want, first of all, is a lean system with no unnecessary stuff loading at start-up.
Then I'll see if has made any difference with some memory conflicts I see in dmesg (probably not).
Flemur wrote: I do it mostly as a perverse hobby ...
... my Mint installs end up be about as small (memory) and fast-booting as Arch or bare-bones Debian.
That's more or less my idea of what to achieve.
Started doing ths type of stuff with DOS 5.0, long ago.

Thanks a lot for your input.
Cheers,
A.

EDIT:
Forgot to ask ...

Would you know why synaptic lists libunity-protocol-private0 as installed? (along with other unity/libunity associated files)
One thing I utterly disliked about Ubuntu was Unity so I decided to use Mint after #! (loved it) went south.
Why are these files installed (and updated by synaptic) in Mint?

TIA.

User avatar
Flemur
Level 17
Level 17
Posts: 7330
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: ext4 files system -> why is Btrfs loaded?

Post by Flemur » Tue Jul 12, 2016 6:39 pm

I have these:

Code: Select all

ii  libunity-protocol-private0
ii  libunity-scopes-json-def-des 7.1.4+16.04.2016070 
ii  libunity9:amd64  
when I mark them "uninstall" in synaptic, it wants to remove:

Code: Select all

brasero, 
brasero-cdrkit, 
libbrasero-blah, 
pidgin, 
pidgin-blah, 
thunderbird-gnome-support
I never use any of those, so removing them too - if any problems, I'll post here.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Altoid
Level 1
Level 1
Posts: 33
Joined: Fri Nov 27, 2015 12:11 pm

Re: ext4 files system -> why is Btrfs loaded?

Post by Altoid » Tue Jul 12, 2016 9:43 pm

Hello:
Flemur wrote:I have these:

Code: Select all

ii  libunity-protocol-private0
ii  libunity-scopes-json-def-des 7.1.4+16.04.2016070 
ii  libunity9:amd64
I have the same files installed.
Flemur wrote: when I mark them "uninstall" in synaptic, it wants to remove:

Code: Select all

brasero, 
brasero-cdrkit, 
libbrasero-blah, 
pidgin, 
pidgin-blah, 
thunderbird-gnome-support
In my case only brasero-cdrkit and libbrasero-media3-1.
I have already uninstalled thunderbird and pidgin.

The existence of probaby accounts for brasero still wanting to update.
Don't know why pidgin insists also.

I'll do away with the libunitys also.

Post back if you get something going south.
I'll do likewise.

Thanks so much for your input.

Cheers,

A.
Last edited by Altoid on Wed Jul 13, 2016 8:17 am, edited 1 time in total.

User avatar
don250r
Level 3
Level 3
Posts: 143
Joined: Thu Feb 11, 2016 2:41 pm

Re: ext4 files system -> why is Btrfs loaded?

Post by don250r » Wed Jul 13, 2016 1:12 am

Heres some other startup services you can disable

https://www.linux.com/learn/cleaning-yo ... up-process
Mint 18 Cinnamon, 4.6.3 kernel
Intel i5-2500k@4.8GHz
16 Gb DDR3
Nvidia GTX670

Altoid
Level 1
Level 1
Posts: 33
Joined: Fri Nov 27, 2015 12:11 pm

Re: ext4 files system -> why is Btrfs loaded?

Post by Altoid » Wed Jul 13, 2016 8:18 am

Hello:
don250r wrote:Heres some other startup services you can disable
https://www.linux.com/learn/cleaning-yo ... up-process
Thanks, had seen that one the other day.

Very useful.

Cheers,

A.

Post Reply

Return to “Installation & Boot”