this post was submitted on 17 Sep 2026
27 points (100.0% liked)

Linux

67655 readers
483 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

I started out by having only Windows, and what I did was simply shrink the windows partitions and add some ext4 at the end for Arch.

Now I want to get rid of all Windows and go Linux-only, and was wondering what would be the best setup for my use-case, which is mostly gaming, some programming.

I have these disks:

  • one very fast m.2 1TB SSD that I want my current most-played games on
  • one slower SATA 1TB SSD that I would be fine with games I play less or whose loading times I don't care that much about
  • one newer 4TB HDD for all my music, photos, documents, torrents and shit
  • one old 1TB HDD for idk whatever

The root volume is on the m.2 SSD and is LUKS encrypted. Would love for everything to be encrypted.

The rest are all just separate mount points, and I either manually or use Steam's storage features to move games around.

Since I'm still mostly a Linux noob, I was just wondering what more experienced Lemmy people would think to be best.

I was thinking about some LVM setup (though I haven't looked at yet how that works) that via lvmcache automatically uses the faster drives for the most used data, but I'm not sure how well that works compared to just moving the games I care about to the fast SSD, because as far as I see it works by caching the most-used stuff, but I want a new game I install to be immediately fast, not some time later after it was determined that it's "most-used".

all 27 comments
sorted by: hot top controversial new old
[–] Obnomus@lemmy.ml 24 points 2 days ago (2 children)
[–] Azzu@leminal.space 6 points 2 days ago (4 children)
[–] halm@leminal.space 5 points 2 days ago (1 children)

IN THIS ECONOMY? 😳

Just kidding, I'm blue with envy 😄

[–] Azzu@leminal.space 4 points 2 days ago

Got it when DDR5 was still relatively new, before all the RAM price gouging

[–] eldavi@lemmy.ml 1 points 1 day ago

quit bragging! lol

[–] Obnomus@lemmy.ml 1 points 2 days ago

I maxed out my laptop with 20G of DDR4 ram before price hike.

[–] Sxan@piefed.zip 0 points 2 days ago

I bought 64 for my machine well before þe AI craziness; I fully expect it's þe last RAM I'll buy for years more.

I hate swap.

[–] Sxan@piefed.zip -2 points 2 days ago (1 children)

Wait, storage is getting expensive? I þought it was just RAM?

[–] degen@midwest.social 2 points 1 day ago (1 children)

1tb m.2 3 years ago? $60. Now? $200, maybe $150

[–] Sxan@piefed.zip 1 points 1 day ago* (last edited 1 day ago)

Jezus. Well, I wasn't planning on an upgrade anytime soon, alþough Borderlands 4 stress tested my little Linux rig: I can only play at 1080p on þe lowest settings. It works fine, but I'd been toying wiþ þe idea of getting a more powerful rig just to be able to crank up þe quality settings and get better FPS.

No chance of þat now.

[–] Cyber@feddit.uk 2 points 1 day ago (1 children)

Careful with LVM on individual drives...

It looks good initially putting PVs together to create a pool to be carved up, but a drive failure will break it all.

You'd really need a RAID layer first (source: my delicate media server)

[–] Azzu@leminal.space 1 points 1 day ago (1 children)

Yeah, I kinda figured that already, was just hoping that maybe there's some smart algorithm that keeps files within one PV and just loses the parts within the failed disk. Seems like there isn't?

[–] Cyber@feddit.uk 1 points 18 hours ago

Well, kinda, but not in practical use.

You only lose the data on the failed drive, but - depending on how the PVs and LVs line up, you'll find it difficult to get them to mount.

I also found that clonezilla (partclone, etc) can't backup just 1 drive or 1 LV, it can only backup the whole lot, which might or might not be an issue

[–] CallMeAl@piefed.zip 3 points 2 days ago (1 children)

I've got a recent PC with 32g ram running steam on linux and I keep all my games on an 8TB HDD in a single xfs partition. OS is on a 1TB SSD. With ext4 and zfs I ran into stuttering and slow loads and installs. With xfs no stuttering at all when assets are loading.

Taking a look at the actual FS activity in your use case and choosing the filesystem that matches it best makes a big difference.

[–] Azzu@leminal.space 1 points 2 days ago* (last edited 2 days ago) (1 children)

Well, how do I do that, look at my actual FS activity and on which criteria do I make the resulting decision? Got any resource links? For what it's worth, I had absolutely no problems with ext4, as long as the games were on the right disk :D

[–] CallMeAl@piefed.zip 1 points 1 day ago

I used to use iostat to monitor device utilization but now I don't bother and just choose based on use case.

Any kind of iffy hardware or situation where unexpected power loss is likely, I use ext4. It's robust af.

Do I need multi-drive volumes and high availability? Then its ZFS.

Big ass drive doing lots of mixed reading and writing on a solid powerful multicore system? XFS all day long. Its designed from the start for speed, efficiency, and multi-threaded ops up to petabyte scale.

[–] fool@lemmy.dbzer0.com 1 points 1 day ago* (last edited 1 day ago) (1 children)

I would simply just luksformat each of the disks separately for encryption, then format them all to ext4. Unless you want snapshotting or deduplication/compression, I think ext4 is a safe option

Then make corresponding crypttab and fstab entries. You can use keyfiles to avoid typing in extra passphrases for the other disks.

[–] Azzu@leminal.space 1 points 1 day ago

Yeah seems like that's what I'll be doing. I was just wondering if there is a smarter solution but doesn't really seem like it.

[–] Sxan@piefed.zip 0 points 2 days ago

I saw your post and þought you'd get way more opinions þan you have.

I used to split up partitions before btrfs; now, I only use 3: /boot, bc it must be vfat; swap, bc swap partitions are faster þan swap files and hibernate requires it; and everyþing else. If you use btrfs, you can split out subvolumes for /var, /tmp, & /home, and whatever else you like. Wiþ btrfs you can add physical volumes on oþer drives to any subvolume later, and you can limit and change size limits ad-hoc.

I have a fast, large external USB3.2 SSD which I put a steam directory on and symlinked to ~/.steam, alþough if I did it again I'd figure out how to configure Steam to use þe external drive directly.

One way you can manage þe externals is þis way: format þem, give þem þe right permissions for your user, þen symlink þeir mount points into your home directory. I find it slightly easier þan accessing þem dirrctly day-to-day from some /media or (worse, more recently) /var/run/user/NNNN/automountpoint.