Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
hypervisor:lvmstart [2012/08/09 14:59]
giancarlo
hypervisor:lvmstart [2012/08/09 15:21]
giancarlo
Line 3: Line 3:
   * OS installation by LVM partitioning:   * OS installation by LVM partitioning:
  
 +<WRAP prewrap center>
 +<code>
 +# fdisk -l /dev/sda
 +...
 +   Device Boot      Start         End      Blocks   Id  System
 +/dev/sda1          2048      499711      248832   83  Linux
 +/dev/sda2          501758   156301311    77899777    5  Extended
 +/dev/sda5          501760   156301311    77899776   8e  Linux LVM
 +
 +# pvdisplay 
 +  --- Physical volume ---
 +  PV Name               /dev/sda5
 +  VG Name               kvm2
 +  PV Size               74.29 GiB / not usable 2.00 MiB
 +  Allocatable           yes 
 +  PE Size               4.00 MiB
 +  Total PE              19018
 +  Free PE               14635
 +  Allocated PE          4383
 +  PV UUID               xxxxx
 +
 +# lvdisplay 
 +  --- Logical volume ---
 +  LV Name                /dev/kvm2/root
 +  VG Name                kvm2
 +  ...
 +  --- Logical volume ---
 +  LV Name                /dev/kvm2/swap_1
 +  VG Name                kvm2
 +  ...
 +
 +</code>
 +</WRAP>
 +
 +  * After install first VM (tubu1) on LVM
 +
 +<WRAP prewrap center>
 +<code>
 +# pvdisplay -m
 +  --- Physical volume ---
 +  PV Name               /dev/sda5
 +  VG Name               kvm2
 +  PV Size               74.29 GiB / not usable 2.00 MiB
 +  ...
 +  --- Physical Segments ---
 +  Physical extent 0 to 1359:
 +    Logical volume /dev/kvm2/root
 +    Logical extents 0 to 1359
 +  Physical extent 1360 to 2382:
 +    Logical volume /dev/kvm2/swap_1
 +    Logical extents 0 to 1022
 +  Physical extent 2383 to 4382:
 +    Logical volume /dev/kvm2/tubu1
 +    Logical extents 0 to 1999
 +  Physical extent 4383 to 19017:
 +    FREE
 +
 +</code>
 +</WRAP>
  
  
 
 
hypervisor/lvmstart.txt ยท Last modified: 2012/08/09 15:25 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki