My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

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


Novell SUSE Linux Enterprise Server 9
Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Desktop 10
Novell SUSE Linux Personal 9.2
Novell SUSE Linux Personal 9.1
Novell SUSE Linux Professional 9.1
Novell SUSE Linux Professional 9.2
OpenSUSE (up to 10.2 at time of writing)
LVM 2
LVM 1

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 NetIQ/Novell/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-06
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Desktop
      SUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center