{"id":21926,"date":"2026-11-02T08:00:00","date_gmt":"2026-11-02T07:00:00","guid":{"rendered":"https:\/\/webhosting.de\/?p=21926"},"modified":"2026-10-30T12:49:30","modified_gmt":"2026-10-30T11:49:30","slug":"btrfs-hosting-server-opportunities-and-risks","status":"publish","type":"post","link":"https:\/\/webhosting.de\/en\/btrfs-hosting-server-chancen-risiken\/","title":{"rendered":"Btrfs for Hosting Servers: Opportunities, Risks, and Practical Use Cases"},"content":{"rendered":"<div class=\"wh-article\" data-wh-layout=\"2.1.2\" style=\"width:100%;max-width:820px;margin:0 auto;color:#263b4b;font-family:inherit;font-size:18px;line-height:1.8;text-align:start;overflow-wrap:break-word;box-sizing:border-box\"><p class=\"wh-lead\" style=\"font-size:20px;line-height:1.7;color:#233746;margin:0 0 1.1em\">Btrfs can be a good choice for hosting servers if you use its <strong style=\"font-weight:700;color:inherit\">Snapshots, Checksums, and Subvolumes<\/strong> is specifically designed for web data, uploads, and recovery processes. However, it is not an automatic default choice: Local snapshots do not replace an external backup, redundancy does not protect against every failure, and databases require their own consistency strategy. The key factors are available capacity, regular maintenance, a tested recovery path, and the actual availability of Btrfs support in your distribution.   <\/p>\n<nav class=\"wh-toc\" aria-label=\"Contents of this article\" style=\"display:block;margin:28px 0 38px;padding:22px;border:1px solid #d9e4e8;border-radius:14px;background:#f4f8f8\"><p class=\"wh-toc-title\" style=\"font-size:13px;font-weight:700;letter-spacing:.08em;color:#49656b;margin:0 0 14px\">Go directly to the section<\/p><div class=\"wh-toc-grid\" style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px\"><div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#btrfs-im-hosting-kontext\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Understanding Btrfs in the Context of Web Hosting<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#cow-checksums-und-subvolumes\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Copy-on-Write, Checksums, and Subvolumes<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#snapshots-sind-keine-backups\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Why Snapshots Aren't Backups<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#funktionen-fuer-hosting-workloads\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Btrfs Features for Typical Hosting Workloads<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#layout-fuer-web-und-datenbanken\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Storage Layout for Web Projects and Databases<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#profile-quoten-und-kapazitaet\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Planning Profiles, Quotas, and Capacity<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#wartung-scrub-und-monitoring\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Scrubbing, Monitoring, and Safe Maintenance<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#fehlerfaelle-und-recovery-grenzen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Properly Identify and Address Errors<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#entscheidung-zwischen-btrfs-und-alternativen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Weighing Btrfs Against ext4, XFS, ZFS, and LVM<\/a><\/div>\n<\/div><\/nav><section class=\"wh-section\" aria-labelledby=\"btrfs-im-hosting-kontext\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"btrfs-im-hosting-kontext\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Understanding Btrfs in the Context of Web Hosting<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">On a hosting server, Btrfs can do more than just store files: it combines file system functions with aspects of volume management. This allows you to organize separate data areas, fast local restore points, and built-in integrity checks within a single storage pool. This is particularly useful when web data, uploads, and system data need to be handled differently.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Unlike traditional file systems, Btrfs can manage multiple block devices and store data and metadata in separate block groups. The names <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">single<\/code>, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">DUP<\/code> or <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">RAID1<\/code> These describe Btrfs profiles. They are not necessarily equivalent to hardware RAID or Linux MD RAID configurations with the same names; in particular, the rules for device mapping and copies differ.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For planning purposes, three levels must remain separate. The first includes <strong style=\"font-weight:700;color:inherit\">File System Functions<\/strong> such as copy-on-write, checksums, subvolumes, snapshots, reflinks, and compression. These features change how data is stored, verified, and logically organized in the local Btrfs file system. However, this does not necessarily mean that a second copy will be available in the event of a drive failure.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The second level is the <strong style=\"font-weight:700;color:inherit\">Redundancy<\/strong> in the pool. A suitable Btrfs profile can store data or metadata across multiple devices, thereby providing a basis for error detection and, if necessary, repair. The third level is external backup: a separate copy on another system or storage location with its own access controls and retention policy. None of these levels replaces the others.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For example, a snapshot of a web root helps with a quick rollback after a failed deployment. However, it does not protect an external database or guard against the loss of the server. If customer uploads, web files, and database files are stored in different locations, the backup strategy must also specify which states must be restorable together. Btrfs is therefore an operational decision, not simply a backup option.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"cow-checksums-und-subvolumes\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"cow-checksums-und-subvolumes\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Copy-on-Write, Checksums, and Subvolumes<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">At <strong style=\"font-weight:700;color:inherit\">Copy-on-Write<\/strong> When data is modified, it is not immediately written over the existing block. Btrfs first stores the new version in a different location and then updates the references. This enables snapshots and reflinks, because multiple file views can initially use the same unmodified extents. Only a change triggers a new storage location for the affected content.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">By default, Btrfs calculates checksums for data and metadata. When reading, the file system can compare the read content against the stored checksum and detect silent corruption. However, a checksum can initially detect only one error. Automatic correction requires an additional verifiable second copy, such as one provided by a suitable redundant profile.  <\/p>\n<figure class=\"wp-block-image size-large wh-figure\" aria-describedby=\"wh-caption-detail1\" style=\"display:block;float:none;clear:both;width:100%;max-width:760px;margin:34px auto 40px;border:1px solid #dae5e9;border-radius:14px;overflow:hidden;background:#f5f8fa;box-shadow:0 10px 28px -17px rgba(24,47,60,.28);box-sizing:border-box\"><div class=\"wh-figure-media\" style=\"display:block;background:#eef3f5;line-height:0\"><img loading=\"lazy\" width=\"800\" height=\"534\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-pruefsummen-ssd-kopien-e267232c-detail1-035e3fd1c3-1024x683.webp\" class=\"wp-image-21932\" alt=\"Two SSDs and mounting hardware on a workbench, symbolizing separate storage copies.\" decoding=\"async\" srcset=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-pruefsummen-ssd-kopien-e267232c-detail1-035e3fd1c3-1024x683.webp 1024w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-pruefsummen-ssd-kopien-e267232c-detail1-035e3fd1c3-300x200.webp 300w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-pruefsummen-ssd-kopien-e267232c-detail1-035e3fd1c3-768x512.webp 768w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-pruefsummen-ssd-kopien-e267232c-detail1-035e3fd1c3-18x12.webp 18w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-pruefsummen-ssd-kopien-e267232c-detail1-035e3fd1c3.webp 1536w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" ><\/div><figcaption class=\"wh-caption\" id=\"wh-caption-detail1\" style=\"display:block;margin:0;padding:12px 18px 15px;border-top:1px solid #dce5e9;color:#506575;background:#f5f8fa;font-size:14px;line-height:1.55;text-align:start\">AI-generated illustrative image: Checksums detect errors; Btrfs requires a valid second copy to perform a repair.<\/figcaption><\/figure><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Reflinks use the same copy-on-write mechanism to create space-saving copies within a Btrfs filesystem. This can be useful, for example, for similar release versions or cloned datasets. The actual space used increases as soon as copies are modified. Therefore, an initially low storage footprint should not be interpreted as a permanent capacity guarantee for many parallel development or customer versions.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A <strong style=\"font-weight:700;color:inherit\">Subvolume<\/strong> is a standalone file tree within the same Btrfs file system, not just an ordinary directory. For hosting setups, for example, web roots, customer uploads, and container data can be stored in separate subvolumes. These areas can be mounted separately, captured as snapshots, and\u2014depending on the operational model\u2014assigned quotas.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">This separation requires careful planning of mounts and snapshots. Snapshots are not recursive: If there is a separate subvolume for uploads or container data under a snapped webroot, the snapshot does not automatically include its contents. Therefore, anyone who backs up only the webroot before a deployment must consciously decide whether to back up additional subvolumes separately or to intentionally leave them unchanged.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"snapshots-sind-keine-backups\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"snapshots-sind-keine-backups\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Why Snapshots Aren't Backups<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Snapshots are quick, local restore points for a defined file tree. A read-only snapshot taken before a CMS update can quickly revert files, themes, or configurations to a previous state. This is valuable for controlled changes, but it does not replace a backup that is physically and administratively separate from the production system.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The reason lies in <strong style=\"font-weight:700;color:inherit\">shared extents<\/strong>. Initially, the source subvolume and the snapshot point to the same unmodified data blocks; only subsequent changes are written separately. A local snapshot therefore does not protect against a failure of the entire server, a defect in the storage system, or an error in a shared block.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Even a local restore point does not provide protection against an administrative or security-related incident. Anyone with extensive administrative privileges on the production system can, depending on permissions and operational procedures, also modify or delete the snapshots managed there. This general threat model supports the practice of storing backups on a separate destination with its own access rights and in a separate storage location.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A robust strategy therefore combines local snapshots for short rollbacks with versioned backups on a separate destination. Read-only snapshots can be created using <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">btrfs send<\/code> transferred in full or incrementally based on a shared predecessor snapshot; on the destination, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">btrfs receive<\/code> the data stream. However, the transport path, encryption, access rights, and storage must still be planned outside the scope of these commands.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For applications that use a database, a file-based Webroot snapshot is not sufficient for a full recovery. Changes to the database and files may not be synchronized. A coordinated process is therefore advisable: a snapshot for the file-based components, a backup procedure tailored to the database in use to ensure data consistency, and a documented recovery sequence. Only this combination transforms convenient local functions into a traceable recovery strategy.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"funktionen-fuer-hosting-workloads\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"funktionen-fuer-hosting-workloads\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Btrfs Features for Typical Hosting Workloads<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Btrfs derives its value not from a single option, but from the interplay of data integrity, separate data regions, and recovery procedures. For hosting servers, it is therefore crucial to determine which data needs to be protected, how often it changes, and whether a separate backup destination exists. A media archive has different requirements than a database volume or a short-lived build cache.  <\/p>\n<div class=\"wh-table-scroll\" tabindex=\"0\" role=\"region\" aria-label=\"Btrfs Features in a Hosting Context\" style=\"width:100%;max-width:100%;overflow-x:auto;margin:28px 0;border:1px solid #dce5e9;border-radius:14px;background:#fff;box-shadow:0 10px 28px -16px rgba(24,47,60,.32);box-sizing:border-box\"><table style=\"width:100%;min-width:580px;border-collapse:separate;border-spacing:0;border:0;margin:0;font-size:15px;line-height:1.6;background:#fff\"><caption style=\"padding:20px;text-align:start;font-size:17px;line-height:1.5;font-weight:700;color:#173246;background:#fff\">Btrfs Features in a Hosting Context<\/caption><thead><tr><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Function<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Hosting benefits<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Prerequisite<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Central Limit Theorem<\/th><\/tr><\/thead><tbody><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Checksums<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Detect silent data errors in web data and uploads.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Checksums must be enabled for the relevant data.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Detection will not work without a valid second copy.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Scrub<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">It also systematically checks data that is rarely accessed.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Scheduled maintenance window and evaluation of the results.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">It generates read I\/O; it is not a substitute for a backup.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">RAID1 or RAID1C3<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Provides copies of data and metadata on various devices.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Truly independent devices and compatible profiles.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Does not protect against deletion or compromised accounts.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Subvolumes<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Separate, for example, customer webroots, uploads, and container areas.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">A well-designed mounting and authorization system.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">They do not replace safety isolation between processes.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Snapshots<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Enable a quick return before deployments.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Defined data scope and retention policy.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Do not automatically detect other subvolumes.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">send\/receive<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Transfers read-only snapshots either in full or incrementally.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Common base snapshot for incremental transfer.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">The target, encryption, and restore process must be planned separately.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Compression<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Can save storage space when using appropriate data.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Comparison with the CPU budget and actual data set.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Existing files are not compressed retroactively simply by using the mount option.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">qgroups or squotas<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Support consumption tracking and limits per subvolume.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Checking the status of the kernel, tools, and distribution.<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">qgroups can create additional work when dealing with many snapshots.<\/td><\/tr><\/tbody><\/table><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">They complement each other, especially when it comes to customer data and long-term uploads <strong style=\"font-weight:700;color:inherit\">Checksums<\/strong> and scrubs: During a read operation, Btrfs checks the stored checksum, while a scrub systematically reads data and metadata. With redundant profiles, a scrub can repair a defective copy from a valid copy. Without redundancy, however, a detected error may only be documented.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">To back up large webroots, use read-only snapshots along with <strong style=\"font-weight:700;color:inherit\">send\/receive<\/strong> a useful component. An incremental stream uses a shared snapshot available at both the source and the destination; changes relative to this baseline are then transferred. However, this method does not address access control, encryption, or retention. These requirements are part of the backup strategy and must be handled by the external target system. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Compression and storage quotas require careful consideration. Compression can be useful for text-heavy content or certain uploads, but depending on the data and settings, it can increase computational and metadata processing overhead. qgroups make it possible to track the extents shared by snapshots, but they can put a strain on extent processing when there are many subvolumes and snapshots. A feature should therefore only be used when its operational purpose is clear.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"layout-fuer-web-und-datenbanken\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"layout-fuer-web-und-datenbanken\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Storage Layout for Web Projects and Databases<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A practical layout separates areas based on change profiles and recovery requirements. For example, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">\/srv\/www<\/code> for deployable webroots, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">\/srv\/uploads<\/code> for customer files, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">\/var\/lib\/database<\/code> separate subvolumes for database files and a separate area for container data. A snapshot directory can store read-only snapshots. This allows for more targeted organization of retention, permissions, and backup runs for each data class. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Before deploying to a Webroot, a read-only snapshot can provide a quick file-based fallback. The following command is just an example; mount points, permissions, naming conventions, available capacity, and subsequent deletion must be tailored to your specific environment. <\/p>\n<div class=\"wh-code-window\" data-wh-code style=\"margin:28px 0 34px;border:1px solid #2c4656;border-radius:12px;overflow:hidden;background:#132a3b;box-shadow:0 9px 25px -13px rgba(15,35,55,.2)\"><div class=\"wh-code-toolbar\" style=\"display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;background:#223e50;color:#edf5fa;font-size:13px;line-height:1.5;font-weight:600\"><span>Code<\/span><button type=\"button\" class=\"wh-code-copy\" data-wh-copy hidden style=\"padding:6px 11px;border:1px solid #7893a1;border-radius:6px;background:transparent;color:#fff;font-size:12px;line-height:1.5;font-weight:600;cursor:pointer\">Copy code<\/button><span class=\"wh-copy-status\" aria-live=\"polite\"><\/span><span data-wh-copy-success hidden>Copied<\/span><span data-wh-copy-fallback hidden>Code highlighted\u2014please copy<\/span><\/div><pre class=\"wh-code\" data-no-translation translate=\"no\" style=\"display:block;margin:0;padding:20px;max-width:100%;overflow-x:auto;color:#edf5fa;background:#132a3b;font:14px\/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;direction:ltr;text-align:left\"><code class=\"language-text\" style=\"font:inherit;color:inherit;background:transparent;padding:0;border:0;white-space:inherit\">btrfs subvolume snapshot -r \/srv\/www \/srv\/.snapshots\/www-before-deploy<\/code><\/pre><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The snapshot captures the state of the subvolume in question at the time it was created. It is not a transaction-consistent backup of the entire application: If database files are located in a different subvolume, they are not automatically included. Furthermore, subvolume snapshots are not recursive; any subvolume mounted or created within it must be backed up separately and explicitly accounted for during a rollback. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For relational databases, the backup and restore procedure must be tailored to the specific database in use. A Btrfs snapshot can be part of a coordinated workflow, but it does not automatically replace the database\u2019s own consistency and restart requirements. Therefore, plan web files, database backups, and the restoration sequence as a cohesive process, rather than deriving a general database guarantee from a filesystem snapshot.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Database files that are frequently overwritten deserve their own evaluation because <strong style=\"font-weight:700;color:inherit\">Copy-on-Write<\/strong> fragmentation, metadata processing, and a different latency profile. There are two distinct configuration paths to consider here: The mount option <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">nodatacow<\/code> Applies to newly created files in the file system. Most Btrfs mount options do not apply independently to each subvolume; the options of the first subvolume mounted are generally the ones that take precedence.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For a more narrowly defined area, the <strong style=\"font-weight:700;color:inherit\">NOCOW file attribute<\/strong> can be used, for example, with <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">chattr +C<\/code> is set. It affects new files or newly created extents; existing data is not retroactively overwritten. Both NOCOW and the mount option <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">nodatacow<\/code> exclude copy-on-write, data checksums, and compression for the affected data. In-place updates can also result in partial writes if write operations are interrupted. Therefore, neither approach is a general recommendation for databases; they are only justifiable after evaluating the workload, hardware, and recovery strategy. <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"profile-quoten-und-kapazitaet\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"profile-quoten-und-kapazitaet\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Planning Profiles, Quotas, and Capacity<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Btrfs organizes storage into separate data, metadata, and system block groups. Data contains user content, metadata describes file trees and extents, and system block groups hold internal structures. Therefore, neither the total free capacity nor the output of <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">df<\/code> As a standalone metric: Even when storage is available, a bottleneck can occur in a required block group. Free capacity is required for normal allocations and targeted maintenance activities. <\/p>\n<div class=\"wh-table-scroll\" tabindex=\"0\" role=\"region\" aria-label=\"Selected Btrfs profiles for hosting storage; capacity values are theoretical profile estimates and are not guaranteed for all device sizes or usage scenarios.\" style=\"width:100%;max-width:100%;overflow-x:auto;margin:28px 0;border:1px solid #dce5e9;border-radius:14px;background:#fff;box-shadow:0 10px 28px -16px rgba(24,47,60,.32);box-sizing:border-box\"><table style=\"width:100%;min-width:580px;border-collapse:separate;border-spacing:0;border:0;margin:0;font-size:15px;line-height:1.6;background:#fff\"><caption style=\"padding:20px;text-align:start;font-size:17px;line-height:1.5;font-weight:700;color:#173246;background:#fff\">Selected Btrfs profiles for hosting storage; capacity values are theoretical profile estimates and are not guaranteed for all device sizes or usage scenarios.<\/caption><thead><tr><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Profile<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Minimum number of devices<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Theoretical Capacity Model<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Principle of Redundancy<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Hosting Classification<\/th><\/tr><\/thead><tbody><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">single<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">1<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">approximately total raw capacity<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">no second copy<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">For non-critical data or when external redundancy is available; no protection against device failure.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">DUP<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">1<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">about half the capacity on a single device<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">two logical volumes on the same device<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">It may offer an additional chance for recovery under certain circumstances, but it does not guarantee physically independent copies or device redundancy.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">RAID1<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">2<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">about half the capacity<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">two copies on different devices<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Suitable when integrity checks and fault tolerance are required.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">RAID1C3<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">3<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">about one-third<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">three copies on different devices<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">For greater redundancy when capacity requirements are deliberately accepted.<\/td><\/tr><\/tbody><\/table><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The figures of approximately 50 percent for RAID1 and approximately 33 percent for RAID1C3 describe the respective profile model using devices of the same type that can be configured appropriately. Practically usable capacity may vary depending on device sizes, existing configurations, or unfavorable allocation. Therefore, do not plan based solely on the total capacity; instead, review the intended device layout and set aside reserves for growth and maintenance. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">These profiles are Btrfs profiles and should not be equated with hardware or Linux MD RAID levels of the same name. Different profiles can be selected for data and metadata; metadata, in particular, deserves protection because it describes the file system structure. <strong style=\"font-weight:700;color:inherit\">RAID 5 and RAID 6<\/strong> RAID56 should currently be ruled out for production hosting storage: The upstream status overview, based on the latest released Linux kernel 7.3, classifies RAID56 as unstable and suitable only for testing purposes. The mkfs documentation also warns of known issues and advises against production use. The separate \u201emostly OK\u201c rating for Scrub in conjunction with RAID56 does not change the unstable status of the storage profile itself.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">With three devices, RAID1C3 can be a stable\u2014though storage-intensive\u2014option for maintaining three copies of data. However, it is not a functionally identical replacement for a parity profile: the capacity model, write behavior, and redundancy principle differ. RAID56 should therefore, at most, be the subject of isolated tests or a carefully planned migration away from an existing profile\u2014not the target of a new production hosting configuration.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For client areas, you can <strong style=\"font-weight:700;color:inherit\">qgroups<\/strong> Track and limit consumption per subvolume. Shared extents make this useful, but administratively demanding: Many snapshots increase the complexity of allocation, and the documentation notes additional strain on extent processing as well as potential latencies and balancing overhead. Limits should therefore be combined with realistic snapshot rules, alerts, and capacity reserves. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Before the introduction, the kernel, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">btrfs-progs<\/code> and to check the feature set maintained by the distribution, particularly with regard to quotas and newer alternatives such as squotas. The status information regarding RAID56 refers to the upstream documentation for Linux 7.3 available as of October 22, 2026. It cannot be automatically applied to every distribution kernel; older kernels, backports, and tool versions must be verified based on the specific platform. The article provides guidance on platform selection <a href=\"https:\/\/webhosting.de\/en\/almalinux-or-rocky-linux-as-the-best-choice-for-linux-hosting-servers\/\">Compare AlmaLinux and Rocky Linux for Hosting Servers<\/a>. <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"wartung-scrub-und-monitoring\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"wartung-scrub-und-monitoring\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Scrubbing, Monitoring, and Safe Maintenance<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A regular <strong style=\"font-weight:700;color:inherit\">Scrub<\/strong> It systematically reads data and metadata and verifies their checksums. Unlike the verification performed during normal access, it also checks rarely accessed uploads, archives, or older website files. In redundant Btrfs profiles, a scrub can repair a corrupted copy using a valid replica by default; without a verifiable second copy, it will only detect the error.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Schedule the run as a maintenance task, taking into account the current hosting workload. A scrub generates read I\/O and may therefore be ill-timed if it occurs alongside database load, large backups, or a high volume of concurrent website requests. A fixed schedule, a monitored maintenance window, and a documented evaluation of the results are more reliable than an unplanned run initiated only after a visible problem arises. <\/p>\n<figure class=\"wp-block-image size-large wh-figure\" aria-describedby=\"wh-caption-detail2\" style=\"display:block;float:none;clear:both;width:100%;max-width:760px;margin:34px auto 40px;border:1px solid #dae5e9;border-radius:14px;overflow:hidden;background:#f5f8fa;box-shadow:0 10px 28px -17px rgba(24,47,60,.28);box-sizing:border-box\"><div class=\"wh-figure-media\" style=\"display:block;background:#eef3f5;line-height:0\"><img loading=\"lazy\" width=\"800\" height=\"534\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-scrub-wartung-hosting-e267232c-detail2-41c72b6d97-1024x683.webp\" class=\"wp-image-21933\" alt=\"The administrator is planning to perform storage maintenance on her laptop next to an external SSD enclosure.\" decoding=\"async\" srcset=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-scrub-wartung-hosting-e267232c-detail2-41c72b6d97-1024x683.webp 1024w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-scrub-wartung-hosting-e267232c-detail2-41c72b6d97-300x200.webp 300w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-scrub-wartung-hosting-e267232c-detail2-41c72b6d97-768x512.webp 768w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-scrub-wartung-hosting-e267232c-detail2-41c72b6d97-18x12.webp 18w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/10\/btrfs-scrub-wartung-hosting-e267232c-detail2-41c72b6d97.webp 1536w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" ><\/div><figcaption class=\"wh-caption\" id=\"wh-caption-detail2\" style=\"display:block;margin:0;padding:12px 18px 15px;border-top:1px solid #dce5e9;color:#506575;background:#f5f8fa;font-size:14px;line-height:1.55;text-align:start\">AI-generated stock image: Scrubs and capacity control belong in scheduled maintenance windows, not during acute disruptions.<\/figcaption><\/figure><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Monitoring includes device and read errors, the status of completed scrubs, the utilization of data, metadata, and system block groups, and the growth of snapshots. Snapshots and their source subvolumes can share unmodified extents; therefore, storage is not freed until there are no longer any references to the extents in question. Consequently, a large number of snapshots or those retained for long periods can delay the release of storage and should be monitored using clear retention policies.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The issue of <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">df<\/code> Shows usable space from the perspective of the mounted file system, but does not reliably explain the internal distribution of block groups. <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">btrfs filesystem df<\/code> provides more detailed information, though it requires interpretation. If a pool is responding to limited processing capacity, a full rebalance is not the one-size-fits-all solution: It can take a long time, consume I\/O and CPU resources, and require free space.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A load balance should therefore be based on specific findings\u2014such as an unfavorable distribution following equipment changes\u2014and planned using appropriate filters. Before making any changes, ensure that you have up-to-date external backups, capacity reserves, and a rollback or escalation procedure in place. This ensures that maintenance remains a controlled measure and does not itself become the cause of avoidable load spikes or space issues. <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"fehlerfaelle-und-recovery-grenzen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"fehlerfaelle-und-recovery-grenzen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Properly Identify and Address Errors<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">In the event of I\/O errors, failed scrubs, or unusually low storage space, damage control should take priority over repair attempts. Reduce unnecessary write load, capture kernel and service logs as well as the current file system status, and protect existing independent backups from being overwritten. This information helps determine whether a device issue, a file system anomaly, or an application triggered the incident.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A file system error and the consistent recovery of an application are two different tasks. For example, restoring a Maildir file can recover files, but it does not replace a check of permissions, indexes, and the status of the mail service. For databases, file copies or snapshots taken while write operations are in progress do not automatically guarantee a transaction-consistent state; the procedure specified by the respective database is decisive in this regard.<a href=\"https:\/\/webhosting.de\/en\/why-mail-hosting-is-often-more-vulnerable-web-hosting-infrastructure-security\/\">Special Considerations and Risks in Email Hosting<\/a><\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Warning: <strong style=\"font-weight:700;color:inherit\">btrfs check --repair<\/strong> is not a standard response to error messages. The Btrfs documentation warns that the repair option can exacerbate damage. It should only be used as part of a professionally planned recovery process\u2014after a backup or data recovery measures have been taken\u2014and not as part of an automated operating procedure or an ill-considered support script. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For critical hosting services, define in advance who makes decisions and what the recovery sequence is: stabilize the infrastructure, select a backup point, restore the data, and then perform a technical review of the application. Read-only backup copies and documented access credentials for the target system help limit consequential damage. A successful file system operation alone does not guarantee that customer data is complete or that the service is fully functional.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"entscheidung-zwischen-btrfs-und-alternativen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"entscheidung-zwischen-btrfs-und-alternativen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Weighing Btrfs Against ext4, XFS, ZFS, and LVM<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The choice should be based on recovery objectives, data types, available operational expertise, and the backup strategy\u2014not on a general ranking. Btrfs combines copy-on-write, checksums, subvolumes, snapshots, and replicable read-only snapshots into a single Linux file system. This is particularly useful when these features are actually planned, monitored, and utilized for recovery in day-to-day hosting operations.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For controlled deployments, large media collections, or separate web data, Btrfs can provide fast local checkpoints and incremental transfers. <strong style=\"font-weight:700;color:inherit\">send\/receive<\/strong> However, this is only one component: the target system, storage, access protection, and recovery must be defined separately. When multiple devices are involved, Btrfs profiles constitute a separate redundancy model; they do not replace physically and administratively separate data backups.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If a team does not intend to use Btrfs specifically for these built-in features, a more conservative storage architecture may be more appropriate. Whether ext4 or XFS with supplemental volume management, another copy-on-write solution, or a separate backup design is suitable depends on existing operational routines, support requirements, the compatibility of the hosting service, and the required recovery objectives. Without suitable primary sources for the other technologies, it is not possible to derive a technical ranking from this.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Btrfs requires particularly careful examination when database files have been permanently overwritten. The file-system-wide mount option <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">nodatacow<\/code> is from the <strong style=\"font-weight:700;color:inherit\">NOCOW file attribute<\/strong> to distinguish, for example, from <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">chattr +C<\/code> is set for files or directories. The mount option generally cannot be restricted to individual subvolumes via subvolume mounts, because most Btrfs mount options apply to the entire file system, and the options of the first subvolume mounted take precedence. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Both approaches change the behavior for new files or newly created extents and disable copy-on-write, data checksums, and compression for the affected data. In-place updates can also result in partial writes if a write operation is interrupted. A one-size-fits-all database setting would therefore be inappropriate. The decisive factors are the database type, durability model, storage, and a verifiably practical recovery process. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Warning signs against rushing into deployment include a lack of external backups, very little free capacity, unmonitored snapshots, and a team that doesn't have time for storage maintenance. <strong style=\"font-weight:700;color:inherit\">RAID56<\/strong> is not an option for a new production hosting configuration: The upstream overview available on October 22, 2026, classifies the profile as unstable and suitable only for testing based on Linux 7.3; the mkfs documentation also advises against production use due to known issues. RAID1C3 is a stable alternative for three copies, but due to its different redundancy and capacity model, it is not an equivalent replacement for parity RAID. Additionally, check the kernel and btrfs-progs versions of the distribution actually in use.  <\/p>\n<\/section><section class=\"wh-sources\" style=\"margin:40px 0 0;padding:24px 0 0;border-top:1px solid #dce5e9;color:#596b7b;font-size:14px;line-height:1.65\"><h2 style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Sources and Current State of Knowledge<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Status of the research: <time datetime=\"2026-10-22\">2026-10-22<\/time><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Research status: October 22, 2026. The upstream status overview available on this date is based on the latest released Linux kernel 7.3 and classifies the Btrfs RAID56 profile as unstable. Feature sets, backports, and the behavior of specific systems also depend on the kernel, btrfs-progs, and the respective distribution.<\/p><div class=\"wh-source-urls\"><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/Subvolumes.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/btrfs-man5.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/stable\/mkfs.btrfs.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/stable\/Checksumming.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/btrfs-send.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/btrfs-scrub.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/stable\/btrfs-quota.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/Compression.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/btrfs-filesystem.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/Status.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/Auto-repair.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/btrfs-balance.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/btrfs.readthedocs.io\/en\/latest\/btrfs-check.html<\/span><\/p><\/div><\/section><\/div>","protected":false},"excerpt":{"rendered":"<p>Btrfs combines checksums, snapshots, subvolumes, and replication in a single Linux file system. It is particularly beneficial for hosting when combined with clear capacity planning, monitored maintenance procedures, and a separate backup.<\/p>","protected":false},"author":1,"featured_media":21931,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[676],"tags":[],"class_list":["post-21926","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server_vm"],"acf":[],"_links":{"self":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/21926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/comments?post=21926"}],"version-history":[{"count":5,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/21926\/revisions"}],"predecessor-version":[{"id":21934,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/21926\/revisions\/21934"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media\/21931"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media?parent=21926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/categories?post=21926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/tags?post=21926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}