Chapter 2. LVM-VDO requirements


VDO on LVM has specific placement and system resource requirements.

2.1. VDO memory requirements

RAM requirements for VDO volumes include memory allocation for the VDO module and the Universal Deduplication Service (UDS) to optimize storage efficiency.

Each VDO volume has two distinct memory requirements:

The VDO module

VDO requires a fixed 38 MB of RAM and several variable amounts:

  • 1.15 MB of RAM for each 1 MB of configured block map cache size. The block map cache requires a minimum of 150 MB of RAM.
  • 1.6 MB of RAM for each 1 TB of logical space.
  • 268 MB of RAM for each 1 TB of physical storage managed by the volume.
The UDS index

The Universal Deduplication Service (UDS) requires a minimum of 250 MB of RAM, which is also the default amount that deduplication uses. You can configure the value when formatting a VDO volume because the value affects the amount of storage that the index needs.

The memory required for the UDS index is determined by the index type and the required size of the deduplication window. The deduplication window is the amount of previously written data that VDO can check for matching blocks.

Expand
Index typeDeduplication window

Dense

1 TB per 1 GB of RAM

Sparse

10 TB per 1 GB of RAM

Note

Minimal disk usage for a VDO volume using default 2 GB slab size and 0.25 dense index settings requires approximately 4.7 GB. This provides slightly less than 2 GB of physical data to write at 0% deduplication or compression.

Here, the minimal disk usage is the sum of the default slab size and dense index.

UDS sparse and dense index types differ in memory usage, deduplication window coverage, and physical space requirements, affecting optimal workload selection strategies.

The UDS Sparse Indexing feature relies on the temporal locality of data. It attempts to retain only the most relevant index entries in memory. With the sparse index, UDS can maintain a deduplication window ten times larger than the dense index while using the same memory size. The sparse index requires ten times more physical space for metadata.

Although the sparse index provides the greatest coverage, the dense index provides more deduplication advice. For most workloads, given the same memory size, the difference in deduplication rates between dense and sparse indexes is negligible.

2.3. VDO storage space requirements

You can configure a VDO volume to use up to 256 TB of physical storage. Only a certain part of the physical storage is usable to store data.

VDO requires storage for two types of VDO metadata and for the UDS index. Use the following calculations to determine the usable size of a VDO-managed volume:

  • The first type of VDO metadata uses approximately 1 MB for each 4 GB of physical storage. It also uses an additional 1 MB per slab.
  • The second type of VDO metadata consumes approximately 1.25 MB for each 1 GB of logical storage. This is rounded up to the nearest slab.
  • The amount of storage required for the UDS index depends on the type of index. It also depends on the amount of RAM allocated to the index. For each 1 GB of RAM, a dense UDS index uses 17 GB of storage. A sparse UDS index uses 170 GB of storage.

2.4. Examples of VDO requirements by physical size

VDO system requirements vary by physical volume size and deployment type. Specific RAM and disk usage examples cover primary storage and backup storage scenarios.

The following tables provide approximate system requirements of VDO based on the physical size of the underlying volume. Each table lists requirements appropriate to the intended deployment, such as primary storage or backup storage.

The exact numbers depend on your configuration of the VDO volume.

Primary storage deployment

In the primary storage case, the UDS index is between 0.01% to 25% the size of the physical size.

Expand
Table 2.1. Examples of storage and memory configurations for primary storage
Physical sizeRAM usage: UDSRAM usage: VDODisk usageIndex type

1 TB

250 MB

472 MB

2.5 GB

Dense

10 TB

1 GB

3 GB

10 GB

Dense

250 MB

22 GB

Sparse

50 TB

1 GB

14 GB

85 GB

Sparse

100 TB

3 GB

27 GB

255 GB

Sparse

256 TB

5 GB

69 GB

425 GB

Sparse

Backup storage deployment

In the backup storage case, the deduplication window must be larger than the backup set. If you expect the backup set or the physical size to grow in the future, factor this into the index size.

Expand
Table 2.2. Examples of storage and memory configurations for backup storage
Deduplication windowRAM usage: VDODisk usageIndex type

1 TB

250 MB

2.5 GB

Dense

10 TB

2 GB

21 GB

Dense

50 TB

2 GB

170 GB

Sparse

100 TB

4 GB

340 GB

Sparse

256 TB

8 GB

700 GB

Sparse

2.5. Placement of LVM-VDO in the storage stack

You must place certain storage layers under a VDO logical volume and others on top of it.

You can place thick-provisioned layers on top of VDO, but you cannot rely on the guarantees of thick provisioning in that case. As the VDO layer is thin-provisioned, the effects of thin provisioning apply to all layers. If you do not monitor the VDO volume, you might run out of physical space on thick-provisioned volumes on top of VDO.

As the supported placement of the following layers is under VDO, do not place them on top of VDO:

  • DM Multipath
  • DM Crypt
  • Software RAID (LVM or MD RAID)

The following configurations are not supported:

  • VDO on top of a loopback device
  • Encrypted volumes on top of VDO
  • Partitions on a VDO volume
  • RAID, such as LVM RAID, MD RAID, or any other type, on top of a VDO volume
  • Deploying Ceph Storage on LVM-VDO

2.6. LVM-VDO deployment scenarios

Virtual Data Optimizer (VDO) can be deployed on Logical Volume Manager (LVM) in various scenarios to provide deduplicated storage solutions. These scenarios include Kernel-based Virtual Machine (KVM), file systems, Internet Small Computer Systems Interface (iSCSI) targets, and encryption configurations.

You can deploy VDO on LVM (LVM-VDO) in a variety of ways to provide deduplicated storage for:

  • block access
  • file access
  • local storage
  • remote storage

LVM-VDO exposes its deduplicated storage as a regular logical volume (LV). You can use it with standard file systems, iSCSI, File Context (FC) target drivers, or unified storage.

KVM

You can deploy LVM-VDO on a KVM server configured with Direct Attached Storage.

Figure 2.1. LVM-VDO deployment with KVM

LVM-VDO deployment with KVM
File systems

You can create file systems on top of a VDO logical volume (LV) and expose them to Network File Services (NFS) or Common Internet File System (CIFS) users. You can use an NFS server or Samba for this purpose.

Figure 2.2. LVM-VDO deployment with Network-Attached Storage (NAS)

LVM-VDO deployment with NAS
iSCSI target

You can export the entirety of the VDO LV as an iSCSI target to remote iSCSI initiators.

Figure 2.3. LVM-VDO deployment with block storage target

LVM-VDO deployment with block storage target
Encryption

Device Mapper (DM) mechanisms such as DM Crypt are compatible with VDO. Encrypting VDO LV volumes helps ensure data security, and any file systems above the VDO LV are still deduplicated.

Important

Applying the encryption layer above the VDO LV results in little if any data deduplication. Encryption makes duplicate blocks different before VDO can deduplicate them.

Always place the encryption layer below the VDO LV.

Figure 2.4. LVM-VDO deployment with encryption

LVM-VDO deployment with encryption
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top