LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-18-2013, 11:58 PM   #1
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Rep: Reputation: Disabled
LVM1 and LVM2


What is the maximum PE size you can mention in a Volume Group in LVM1 and LVM2?
 
Old 03-20-2013, 09:17 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
From the CentOS5 vgcreate man page:

Quote:
-s, --physicalextentsize PhysicalExtentSize[kKmMgGtT]
Sets the physical extent size on physical volumes of this volume
group. A size suffix (k for kilobytes up to t for terabytes) is
optional, megabytes is the default if no suffix is present. The
default is 4 MB and it must be at least 1 KB and a power of 2.

Once this value has been set, it is difficult to change it with-
out recreating the volume group which would involve backing up
and restoring data on any logical volumes. However, if no
extents need moving for the new value to apply, it can be
altered using vgchange -s.

If the volume group metadata uses lvm1 format, extents can vary
in size from 8KB to 16GB and there is a limit of 65534 extents
in each logical volume. The default of 4 MB leads to a maximum
logical volume size of around 256GB.

If the volume group metadata uses lvm2 format those restrictions
do not apply, but having a large number of extents will slow
down the tools but have no impact on I/O performance to the log-
ical volume. The smallest PE is 1KB.

The 2.4 kernel has a limitation of 2TB per block device.
Interestingly that detail doesn't appear in the RHEL6 vgcreate man page any longer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting LVM1 to Lvm2 jyotix175 Linux - Server 0 06-07-2007 05:09 AM
LVM2 vs LVM1 on RH EL3 raggmopp1961 Linux - Software 2 09-07-2006 05:37 PM
LVM1 visible with knoppix V3.6 jhnsegers Linux - General 0 12-16-2004 11:07 AM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration