[linux-lvm] LVM Alignement

Alexander Dalloz ad+lists at uni-x.org
Fri Jul 22 18:26:19 UTC 2011


> Hey all,
>
> i have a question about Lun / Partition alignment.
> If I use LVM in a Linux guest OS on a VMFS Datastore i can align my
> Partitions with mbralign.
> But the tool failes if I will try to use it on a LVM only VDisk. For
> example the second Disk of this guest OS.
>
> Did I need to align the second disk or did LVM take care of alignment ? I
> just mean a single VDisk with a single LVM VG.
>
> Greetings
>
> Lukas Matecki

By default LVM uses an offset of 192k, see:

# vgs -o +pe_start
  VG         #PV #LV #SN Attr   VSize VFree 1st PE
  VolGroup00   1   1   0 wz--n- 8,78G    0  192,00K

Alexander





More information about the linux-lvm mailing list