Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

3.7. mapping modes (linear/striped)

The administrator can choose between a couple of general strategies for mapping logical extents onto physical extents:

  1. Linear mapping will assign a range of PE's to an area of an LV in order eg., LE 1 - 99 map to PV1 and LE 100 - 347 map onto PV2.

  2. Striped mapping will interleave the chunks of the logical extents across a number of physical volumes eg.,
    
1st chunk of LE[1] -> PV1[1],
    2nd chunk of LE[1] -> PV2[1],
    3rd chunk of LE[1] -> PV3[1],
    4th chunk of LE[1] -> PV1[2],
                
    and so on. In certain situations this strategy can improve the performance of the logical volume.

    WarningLVM 1 Caveat
     

    LVs created using striping cannot be extended past the PVs they were originally created on in LVM 1.

    In LVM 2, striped LVs can be extended by concatenating another set of devices onto the end of the first set. So you can get into a situation where your LV is a 2 stripe set concatenated with a linear set concatenated with a 4 stripe set. Are you confused yet?

 
 
  Published under the terms of the GNU General Public License Design by Interspire