Hi,
this is something I never did before, and need some info/help:
I installed pve 3.0 over a wheezy 7.1, which was partitioned like this:
- a boot partition (~500 MB)
- a swap partition (~5 GB)
- a free partition (~240 GB)
the free partition was added as PV to lvm
tha PV was added to a "pve" VG
two LVs were created on the "pve" VG
- "root" (~8GB)
- "data" (~210GB)
this was before installing pve over debian, so i thought to prepare those two typical pve LVs, to use them after pve install:
i was able to mount /root on pve-root, but since there weas no /var/lib/vz folder, i left pve-data unused
then I installed pve, went smoothly, and now I have:
now of course /var/lib/vz is too small, and wish to mount it on the pve-data LV waiting there:
I have currently no vm/ct created atm, so what is the best procedure? I thought I could simply
- mount pve-data elsewhere,
- move everything from /var/lib/vz there,
- remove /var/lib/vz,
- mount pve-data as /var/lib/vz?
- update fstab/mtab?
Should this work or there's a better way?
Should I have done the whole procedure differently/better, how?
Any suggestions welcome,
Thank you,
Marco
this is something I never did before, and need some info/help:
I installed pve 3.0 over a wheezy 7.1, which was partitioned like this:
- a boot partition (~500 MB)
- a swap partition (~5 GB)
- a free partition (~240 GB)
the free partition was added as PV to lvm
tha PV was added to a "pve" VG
two LVs were created on the "pve" VG
- "root" (~8GB)
- "data" (~210GB)
this was before installing pve over debian, so i thought to prepare those two typical pve LVs, to use them after pve install:
i was able to mount /root on pve-root, but since there weas no /var/lib/vz folder, i left pve-data unused
then I installed pve, went smoothly, and now I have:
Code:
pveversion -v
pve-manager: 3.0-23 (pve-manager/3.0/957f0862)
running kernel: 2.6.32-20-pve
proxmox-ve-2.6.32: 3.0-100
pve-kernel-2.6.32-20-pve: 2.6.32-100
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-4
qemu-server: 3.0-20
pve-firmware: 1.0-22
libpve-common-perl: 3.0-4
libpve-access-control: 3.0-4
libpve-storage-perl: 3.0-8
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-13
ksm-control-daemon: 1.1-1
now of course /var/lib/vz is too small, and wish to mount it on the pve-data LV waiting there:
I have currently no vm/ct created atm, so what is the best procedure? I thought I could simply
- mount pve-data elsewhere,
- move everything from /var/lib/vz there,
- remove /var/lib/vz,
- mount pve-data as /var/lib/vz?
- update fstab/mtab?
Should this work or there's a better way?
Should I have done the whole procedure differently/better, how?
Any suggestions welcome,
Thank you,
Marco
Last edited: