Hi,
I have been using Proxmox 4 for a while now. An environment consisting of a Proxmox cluster with additional local disks in LVM (I know it's not Ceph). I reinstalled my machines with Proxmox 5.1.36 in the same way and the snapshot does not work anymore. According to the documentation and several posts, it is necessary to use LVM-Thin. I saw that many people had the same question as me and none had a complete answer. Would anyone be nice enough to indicate how to proceed (I do not want to extend the existing partition). I did several searches on Google and nothing works.
For Proxmox 4, I used this method:
1. Create an LVM partition on the hard disk.
cfdisk /dev/sda
Type: Linux LVM (8e)
2. Create the virtual partition in LVM.
pvcreate /dev/sda1
3. Creating the Volume Group.
vgcreate ssd250 /dev/sda1
4. Add the new disk in ProxMox.
Datacenter / Storage / Add / LVM
ID: ssd250
Base storage: Existing volume groups
Volume group: ssd250
Content: Disk image, Container
Nodes: px<00>
Enable: X
On Proxmox 5.1.36, I try (also) this method but ProxMox 5 do not see the Thin Pool.
pvcreate /dev/sda1
vgcreate ssd250 /dev/sda1
lvcreate --thin -L200G --chunksize 1M --poolmetadatasize 10G /dev/ssd250/ssd250_thinpool
lvcreate --thinpool /dev/ssd250/ssd250_thinpool -n test_lv -V100G
mkfs.ext4 /dev/ssd250/test_lv (I try with and without this line)
Datacenter / Storage / Add / LVM
No Thin Pool available...
How can I do with Proxmox 5 and have access to the snapshot with additional disk in LVM?
Thank for helping me...and the other one who have the same problem!
Herjy
I have been using Proxmox 4 for a while now. An environment consisting of a Proxmox cluster with additional local disks in LVM (I know it's not Ceph). I reinstalled my machines with Proxmox 5.1.36 in the same way and the snapshot does not work anymore. According to the documentation and several posts, it is necessary to use LVM-Thin. I saw that many people had the same question as me and none had a complete answer. Would anyone be nice enough to indicate how to proceed (I do not want to extend the existing partition). I did several searches on Google and nothing works.
For Proxmox 4, I used this method:
1. Create an LVM partition on the hard disk.
cfdisk /dev/sda
Type: Linux LVM (8e)
2. Create the virtual partition in LVM.
pvcreate /dev/sda1
3. Creating the Volume Group.
vgcreate ssd250 /dev/sda1
4. Add the new disk in ProxMox.
Datacenter / Storage / Add / LVM
ID: ssd250
Base storage: Existing volume groups
Volume group: ssd250
Content: Disk image, Container
Nodes: px<00>
Enable: X
On Proxmox 5.1.36, I try (also) this method but ProxMox 5 do not see the Thin Pool.
pvcreate /dev/sda1
vgcreate ssd250 /dev/sda1
lvcreate --thin -L200G --chunksize 1M --poolmetadatasize 10G /dev/ssd250/ssd250_thinpool
lvcreate --thinpool /dev/ssd250/ssd250_thinpool -n test_lv -V100G
mkfs.ext4 /dev/ssd250/test_lv (I try with and without this line)
Datacenter / Storage / Add / LVM
No Thin Pool available...
How can I do with Proxmox 5 and have access to the snapshot with additional disk in LVM?
Thank for helping me...and the other one who have the same problem!
Herjy