this post was submitted on 20 Oct 2025
39 points (97.6% liked)

Linux

14040 readers
225 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

What things do you know that would be really good to do with freshly installed system? Or things that you wish had done earlier?

you are viewing a single comment's thread
view the rest of the comments
[–] sga@piefed.social 4 points 1 month ago

if you have btrfs as the filesystem, try filesystem compression. if you have stuff which can benefit from compression, it can reduce disk usage significantly.

if you format a new partition, add compression as a mount flag (zstd, level 3).

if you already have a system without compression, do something like

sudo btrfs filesystem defragment -r -v -czstd "path_to_file_or_folder"  

do check properly in btrfs docs (this command is not that unsafe, but any file system operation has some inherent risk, so please do it carefully).

you trade disk read speeds and slight cpu usage (less than 1-2%), but if you do not have something that io speed dependent, it is great. (imagine things like game folders, or root /usr dir which has packages)