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 Desktop 10
Situation
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 lvm1, the maximum possible size of an LVM Logical Volume depends on the extent size used. The formula is:
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):
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
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com