[PVE-User] 1.9 to 2.0 with customized LVM

Diego Barrera diegonebarrera at yahoo.it
Fri Apr 27 18:33:45 CEST 2012


I only changed from the initial setup LVM and the current configuration 
is as follows:

# pvdisplay
   --- Physical volume ---
   PV Name               /dev/sdb1
   VG Name               pve1
   PV Size               836,62 GB / not usable 623,50 KB
   Allocatable           yes
   PE Size (KByte)       4096
   Total PE              214175
   Free PE               2719
   Allocated PE          211456
   PV UUID               Eb5qXK-wN6A-3uKM-Po6f-rrRq-ylT0-Slx12H

   --- Physical volume ---
   PV Name               /dev/sda2
   VG Name               pve
   PV Size               67,25 GB / not usable 2,41 MB
   Allocatable           yes (but full)
   PE Size (KByte)       4096
   Total PE              17215
   Free PE               0
   Allocated PE          17215
   PV UUID               A9Vcid-sQnT-YFtW-WDiy-obUd-n9nr-MqsKDf

# vgdisplay
   --- Volume group ---
   VG Name               pve1
   System ID
   Format                lvm2
   Metadata Areas        1
   Metadata Sequence No  3153
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                1
   Open LV               1
   Max PV                0
   Cur PV                1
   Act PV                1
   VG Size               836,62 GB
   PE Size               4,00 MB
   Total PE              214175
   Alloc PE / Size       211456 / 826,00 GB
   Free  PE / Size       2719 / 10,62 GB
   VG UUID               UKAl3j-sAlJ-tLdB-crdc-zTNK-cA8I-7e6Pdk

   --- Volume group ---
   VG Name               pve
   System ID
   Format                lvm2
   Metadata Areas        1
   Metadata Sequence No  17
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                2
   Open LV               2
   Max PV                0
   Cur PV                1
   Act PV                1
   VG Size               67,25 GB
   PE Size               4,00 MB
   Total PE              17215
   Alloc PE / Size       17215 / 67,25 GB
   Free  PE / Size       0 / 0
   VG UUID               Wjv2TO-hzxh-TdTe-fUQT-rOeA-7G4i-kGCduh

# lvdisplay
   --- Logical volume ---
   LV Name                /dev/pve1/data
   VG Name                pve1
   LV UUID                k38dmL-RVRZ-soyO-zkUZ-JZTO-3Olh-iKnreB
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                826,00 GB
   Current LE             211456
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           254:2

   --- Logical volume ---
   LV Name                /dev/pve/swap
   VG Name                pve
   LV UUID                dykOdl-8UEM-cpUD-08Bs-8kfp-9JhI-C1WG4T
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                7,00 GB
   Current LE             1792
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           254:0

   --- Logical volume ---
   LV Name                /dev/pve/root
   VG Name                pve
   LV UUID                HqQNSb-al23-EDQX-qU4J-firw-3AkF-yXp3es
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                60,25 GB
   Current LE             15423
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           254:1


To migrate from 1.9 to 2.0 or 2.1, can I use the script or is it better 
to use a new installation.
Many thanks
diego



More information about the pve-user mailing list