Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Fedora Linux System Administration

You're reading from   Fedora Linux System Administration Install, manage, and secure your Fedora Linux environments

Arrow left icon
Product type Paperback
Published in Nov 2023
Publisher Packt
ISBN-13 9781804618400
Length 560 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Alex Callejas Alex Callejas
Author Profile Icon Alex Callejas
Alex Callejas
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1:The Fedora Project
2. Chapter 1: Linux and Open Source Projects FREE CHAPTER 3. Part 2:Workstation Configuration
4. Chapter 2: Best Practices for Installation 5. Chapter 3: Tuning the Desktop Environment 6. Chapter 4: Optimizing Storage Usage 7. Chapter 5: Network and Connectivity 8. Part 3:Productivity Tools
9. Chapter 6: Sandbox Applications 10. Chapter 7: Text Editors 11. Chapter 8: LibreOffice Suite 12. Chapter 9: Mail Clients and Browsers 13. Part 4:System Administration Tools
14. Chapter 10: System Administration 15. Chapter 11: Performance Tuning Best Practices 16. Chapter 12: Untangling Security with SELinux 17. Chapter 13: Virtualization and Containers 18. Index 19. Other Books You May Enjoy

Optimizing storage space size

In the previous section, we reviewed some of the features of the Btrfs filesystem. Now it is time to learn how to optimize this used storage space in more detail.

Btrfs reserves some raw storage at its lowest level because the volume needs to contain file data or volume metadata. For that, it allocates pieces of raw storage for use by the filesystem. A piece of storage gets referred to as a chunk. Its main function is to contain file data or volume metadata to replicate on the same volume or another similar device.

Storage space gets allocated to the chunks, and the space is used by the blocks. A chunk with no blocks used is unallocated; a chunk with one or more blocks used is allocated. All chunks can get allocated even if not all the space is used.

Btrfs uses delayed allocation to enable better disk allocation. Btrfs only allocates disk space when the system needs to get rid of dirty pages, so in the end, you get much larger allocations and...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image