# How much storage does KVM disaster recovery really need?

The most common DR sizing mistake is budgeting "one more copy of production". A real DR estate needs a live replica, a journal for point in time recovery, space to test recovery without disruption, and often a long term archive. Each grows with a different driver, so size them separately.

## The four buckets

| Bucket | Scales with |
|---|---|
| 1. Full replica | Primary used capacity |
| 2. Retention journal | Daily change rate × retention days |
| 3. Test space | VMs you test at the same time |
| 4. Long term archive | Unique change per month × months kept |

Add about 1% for metadata, bitmaps and filesystem overhead.

## 1. Full replica

A complete copy at the recovery site, kept current by changed block replication. Size it on **used** capacity, not provisioned: thin volumes only consume what they hold.

`replica ≈ used capacity × 1.0`

## 2. Retention journal

To recover to "yesterday at 2pm" rather than just the latest state, you keep changed blocks for a window. Its size depends on change rate and days kept, not total capacity.

`journal ≈ used capacity × daily change rate × retention days`

Example: 10 TB × 3%/day × 7 days ≈ 2.1 TB (about 0.21×).

### Bandwidth comes from the same number

If daily change were spread evenly over 24 hours:

`minimum Mbps ≈ daily change GB × 8000 ÷ 86,400`

10 TB × 3% = 300 GB/day → about 28 Mbps. Writes cluster in business hours, so allow headroom for peaks.

## 3. Test space

Non disruptive testing boots VMs in an isolated network while replication keeps running. Those test VMs need somewhere to write, and the method decides how much:

* **Snapshot based (LVM thin, ZFS, Ceph RBD):** only what the test writes, typically a few percent of the tested VMs.
* **Full test copy per VM:** roughly the tested VMs' size again (about 1.05×).

Don't size for testing every VM at once. It's the fastest way to overbuy.

## 4. Long term archive

With deduplication, the archive is one full copy plus each month's **unique** change, not a full copy per month:

`monthly unique = used capacity × (1 − (1 − daily rate)^30)`

Blocks that get rewritten repeatedly count once, so this is well below "rate × 30 days". Real results depend heavily on dedup and compression, so measure on your own data.

## Sanity check

| Setup | Total vs primary used capacity |
|---|---|
| No archive | about 2.5× or less |
| With archive | about 3.5× or less |

Worked example: 10 TB primary, 3%/day, 7 day journal, testing half the estate at once with full test copies:

| Bucket | Size |
|---|---|
| Replica | 10 TB |
| Journal | 2.1 TB |
| Test space | 5.3 TB |
| Overhead (1%) | 0.2 TB |
| **Total** | **≈ 17.6 TB (1.8×)** |

Well over the guide? Revisit retention days, archive months and how many VMs you test at once. Well under 2×? Check you haven't forgotten test space: it's the bucket most often missed.

If you want to play with the numbers, there's a free calculator at https://kvmdr.ai/storage-calculator.html
