No Local-lvm available while creating new CT

VladVons

Renowned Member
Oct 21, 2016
17
0
66
54
Ukraine
ProxMox 4.3 installed on empty 1TB HDD with 120GB LVM
While creating new CT thereis only 'local' storage.

In system GUI everething is good with local-lvm:
Enabled: YES
Active: YES
Type: LVM-Thin
Content: Disk image, Container
Free Space: 71 G


# fdisk -l
Device Start End Sectors Size Type
/dev/sda1 34 2047 2014 1007K BIOS boot
/dev/sda2 2048 262143 260096 127M EFI System
/dev/sda3 262144 251658240 251396097 119,9G Linux LVM
/dev/sda4 251660288 1953525134 1701864847 811,5G Linux filesystem

# lvs
data pve twi-a-tz-- 71,25g 0,00 0,44
root pve -wi-ao---- 29,75g
swap pve -wi-ao---- 4,00g
 
Hi
Did you add it to Datacenter -> Storage as LVM?
What I normally do is to mount LVM to some directory in linux fs like /srv for example and then in Datacenter -> Storage I add new Directory where directory is a location where I have mounted LVM.
You can setup LVM in GUI as well but as far as I remember you will have to use RAW disk drives for VM's only (not 100% sure here)
 
I installed ProxMox 4.3 from a box. So i have brand new VM with all deafaults.
I cant create any VM in local-lvm storage. It is not in storage list
Problem only with lvm-thin storage.

In Datacenter -> Storage there are two correct records:
ID Type Content Path Enabled
local Directory Container, DImage, ISO /var/lib/vz Yes
local-lvm lvm-thin Container, DImage none Yes
 
Last edited:
So screens....
 

Attachments

  • LVM-Thin-Status.png
    LVM-Thin-Status.png
    128.1 KB · Views: 53
  • NewVM-Storage.png
    NewVM-Storage.png
    142.8 KB · Views: 55
  • Datacenter-Storage-lvm.png
    Datacenter-Storage-lvm.png
    138.7 KB · Views: 53
  • Datacenter-Storage.png
    Datacenter-Storage.png
    125.7 KB · Views: 48
you have to download a template first. as you need a file based storage for this, you have to download the template to "local" storage.

then you can create your first container (using this local template ) and deploy it to lvm-thin.