Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Bare metal considerations

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
johngalt
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 09, 2004 4:34 pm
Location: 3rd Rock
Contact:
Contact johngalt
Website

Bare metal considerations

  • Quote

Post by johngalt » Wed Mar 25, 2026 9:42 pm

Hi, everyone.

[Background]
I've been a long time dabbler with Gentoo whilst I kept Winders around on all of my desktops for a variety of reasons, usually installing Gentoo in either VMs or else on separate drives and manually controlling the boot drive for my system via BIOS / UEFI.

This year marks a change for me in that the rig I spec'd and built in 2020 in anticipation for Winders11, and used successfully for this entire time, until last month. Finally fed up with the idiosyncrasies of Micro$oft, and my trials and tribulations with trying to fix this or that broken thing, coupled with the fact that my current job now (for well over 2 years) is 99% web based and is not tied to any single OS ecosystem at all, made me realize it was finally time to break from this addiction to M$.

That being said, I have a few questions, some being just a sanity check, and some being more ... esoteric.

First off, my hardware:
  • MSI MEG X570 Godlike mobo
  • Ryzen 9 3950X
  • 128 GB RAM
  • RTX 3080 Ti
  • 3x Samsung 980 Pro 2 TB NVMe drives
More detailed specs can be viewed @ https://valid.x86.fr/20gzlc

Now, I've been playing around with a few distros for various reasons over the last couple of weeks because I needed some things up and available to me ASAP, but I do very little coding in my role, and outside of work I *do* game, a lot, mostly Android and Steam. I'm not thrilled with the idea of Bazzite being a locked down system (though you can enable root), Nobara seems OK, CachyOS seems limited, and, anyway, I've always had a soft sport for Gentoo over the decades.

I've done an intense amount of reading, considering, and fact-checking on various things regarding a bare metal install on this machine, and I've decided that I want to make use of all 3 NVMe drives as well as the RAM and make this a machine that I can build out the way that I want. What I *don't* want is keeping hte drives independent, with dedicated partitions, and neither do I want to use LVM - been there, done that in the past, just not my cup of tee.

I'm looking at btrfs instead, for a few reasons, including it's ability to pool drives, use subvolumes (and nested subvolumes), and more, as well as maybe throw in some tmpfs magic for compiling, and generally set up install so I have the 5+ TB of space readily available to me through the magic (or shenanigans, depending upon how you view it) of btrfs. All three drives were purchased and installed at the same time, replacing 3x Sabrent Rocket4 drives of half the capacity, which now are accessible via a USB3 Hub to the system with backups and everything I could ever need if I ever *have* to have Winders installed again.

However, therein lies my dilemma. I know that I can stripe across all three after creating my obligatory ESP, swap, and boot (? I didn't think this was necessary, but I saw at least one person doing it in the forums) partitions, but as I want to game, and reading so much material that btrfs is not necessarily recommended for large game files, among other tons of tidbits of info, here come the questions.

[Questions]
1) Should I use all 3 drives under one fs, or should I split at least one out as a dedicated gaming part using e.g. ext4 as its fs?

2) Should I use tmpfs for compiling? Background: one of my drives has 7% life expectancy used (formerly the main OS drive for Winders, as it got reinstalled many, many times over these few short years), whereas the other 2 are both at 3%. All of this is still within acceptable limits, as I bought the drives over 4 years ago now, and even the one with more wear / use should still easily last me another 15 years if I were to actually keep using it that long.

3) Is it worth considering disabling compression on the btrfs pool? I searched far and wide for benchmarks on btrfs with compression disabled, and have not found anything really reliable, but I found plenty of instructions on how to run btrfs without compression (as well as the fact the compression levels run in a range from -15 to 15 for zstd). But I also found seemingly contradictory information that the compression actually helps with the read speed of files (I'm assuming these were from platters and / or really slow SSDs).

4) Assuming I'll be both compiling programs from source as well as installing binaries here and there, is it worth looking at an aggressive set of subvolumes to really section off various locations from each other?

In the meantime I'm going to do a smaller single disk install to make sure I 'can read the handbook correctly' and get a test system up and working.

Any thoughts, suggestions, and even criticisms are welcome. Thanks.
desultory wrote:If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.
Amen.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2184
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Wed Mar 25, 2026 11:37 pm

I am curious why not LVM? IMHO give you lots of flexibility you are looking for, i.e. you can always decide later on how to allocate storage and no need to make decision up front.

Unless you want to use ZFS, mixing LVM with XFS/EXT4/... should will do a good job.

And if you do LVM now your experiment Gentoo build up can continue improve until you reach your goal. No need to scratch from beginning again.
Top
johngalt
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 09, 2004 4:34 pm
Location: 3rd Rock
Contact:
Contact johngalt
Website

  • Quote

Post by johngalt » Thu Mar 26, 2026 12:07 am

Mainly because of a (single) bad experience on my part doing something similar on a much older machine in the past.

I admit it was pure user error, but all the same, the propensity for such a mistake lingers.

But btrfs also allows me to expand as needed and in a much, much simpler manner. I can add subvolumes at basically any time, without a lot of configuration.
desultory wrote:If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.
Amen.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2184
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Thu Mar 26, 2026 12:46 am

Thanks for confirm. I don't mean to push LVM. just my experience with it are good. but would like learn more if there could be something I don't know about.

I don't know if BTRFS support liner concatenate disks but I heard it is not very good on doing RAID5.

if BTRFS can dynamically add disk and remove disk on the fly then it is as good as LVM with Filesystem.
Top
johngalt
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 09, 2004 4:34 pm
Location: 3rd Rock
Contact:
Contact johngalt
Website

  • Quote

Post by johngalt » Thu Mar 26, 2026 2:10 am

It can.

https://btrfs.readthedocs.io/en/latest/ ... management
BTRFS filesystem can be created on top of single or multiple block devices. Devices can be then added, removed or replaced on demand. Data and metadata are organized in allocation profiles with various redundancy policies. There’s some similarity with traditional RAID levels, but this could be confusing to users familiar with the traditional meaning. Due to the similarity, the RAID terminology is widely used in the documentation. See mkfs.btrfs(8) for more details and the exact profile capabilities and constraints.
The rest of that page walks through what I'm gonna try right now - install Gentoo to a single NVMe using btrfs for / and then try adding one of the other 2 NVMe drives and see how well it progresses.

From there, I'm sure I can devise other test scenarios and figure out how I want to map this out - but the simplicity of this setup is making me literally itchy to give it s shot and see what happens lol.

I should also clarify that adding the devices in the manner I want to use them is simply gonna be a RAID 0 style striping but concatenating the total storage space, near as far as I can tell. No redundancy, but between CoW and setting up subvolumes so I can make direct backups at any given moment, I *think* I should be fine.

Even if it ends up failing, I'll have learned something, and in the meantime, I'm being more productive with my time. My backup device for work is a small laptop I've thrown ChromeOS (Flex) on so I'm never really not available for work.
desultory wrote:If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.
Amen.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Mar 26, 2026 11:26 am

johngalt,

I think all the btrfs gives you is hidden complexity.
It's going to hide the raid/lvm from you but the functionality will still be there somewhere.

It appears that your previous error was not reading and acting on my signature :)
btrfs won't save you.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
johngalt
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 09, 2004 4:34 pm
Location: 3rd Rock
Contact:
Contact johngalt
Website

  • Quote

Post by johngalt » Thu Mar 26, 2026 3:49 pm

That may be the case. But I know and have used LVM, whereas I don't know and have not used btrfs.

Plus, I like to learn new things :)

I'm not looking for btrfs to 'save me', I'm looking to use a tool to accomplish what I need with minimal fuss and a lot of user configurability.

Also, re: yer sig - I also have the previous NVMe gen 4 drives I built the machine with, 3x Sabrent Rocket 4.0 (1 TB) drives in enclosures and attached via USB3. My backups will be plentiful lol.
desultory wrote:If you want to retain credibility as a functional adult; when you are told that you are acting boorishly, the correct response is to consider that possibility and act accordingly to correct that behavior.
Amen.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic