SUSE Support

Here When You Need Us

What is the maximum size of an LVM Logical Volume?

This document (3311198) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Desktop 10
 

Situation

Need to know maximum size of LVM Volume
Create LVM volume greater than 256 GB
Need to determine how much a Logical Volume can be expanded.
Find out what extent size is used on LVM Volume

Resolution

For LVM volumes created with lvm2, the limit is determined by the kernel limits (and your disk space).
For LVM volumes created with lvm1, the maximum possible size of an LVM Logical Volume depends on the extent size used. The formula is:
65534 * ExtentSize = Maximum Logical Volume Size

The default extent size with SUSE Linux is 4MB. Therefore, the default maximum size is 4MB * 65534 = 256 GB.

The extent size can be from 8 KB to 16 GB, in powers of 2. If the maximum extent size is used, the maximum volume size is roughly 1 petabyte (PB):
65534 * 16GB = 1,048,544 GB

Note that your filesystem will also need to support sizes as large as your volume. The default filesystem for SLES is Reiserfs, which has a maximum of 16 TB.

If you are looking to expand an existing logical volume, use'vgdisplay' to see what extent size is being used.

Additional Information

lvm2 volumes that were converted from lvm1 are under the lvm1 restrictions.

For more information, see the vgcreate man page, 'man 8 vgcreate', and search for "PhysicalExtentSize".

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3311198
  • Creation Date: 22-Sep-2006
  • Modified Date:04-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.