On a default Proxmox 4.2 install, you get two storage containers:
local: size 94.37 GB, content vzdump backup file, iso image, container template
local-lvm: size 900+GB, content disk image, container
If i want to create a virtual machine, it only allows me to install in local, which is very small, therefore pointless.
Shouldn't virtual machines go inside local-lvm? Am i overlooking something?
The machine has 2 hdd sized 1TB each, and the other disk (sdb) wasn't touched. So i looked at http://pve.proxmox.com/wiki/Extending_Local_Container_Storage and i did the following:
Filesystem 1K-blocks Used Available Use% Mounted on
udev 10240 0 10240 0% /dev
tmpfs 1612040 9044 1602996 1% /run
/dev/dm-0 98952796 1969196 91934052 3% /
tmpfs 4030100 43680 3986420 2% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 4030100 0 4030100 0% /sys/fs/cgroup
tmpfs 100 0 100 0% /run/lxcfs/controllers
cgmfs 100 0 100 0% /run/cgmanager/fs
/dev/fuse 30720 16 30704 1% /etc/pve
If i do resize2fs /dev/mapper/pve-data it says invalid super block or something, and if i try to do it with /dev/dm-0 it says it already is updated.
Can this guide get updated?
local: size 94.37 GB, content vzdump backup file, iso image, container template
local-lvm: size 900+GB, content disk image, container
If i want to create a virtual machine, it only allows me to install in local, which is very small, therefore pointless.
Shouldn't virtual machines go inside local-lvm? Am i overlooking something?
The machine has 2 hdd sized 1TB each, and the other disk (sdb) wasn't touched. So i looked at http://pve.proxmox.com/wiki/Extending_Local_Container_Storage and i did the following:
- deleted all partitions on dev/sdb
- created one big partition type 23 linux lvm (NOT type 8e, that doesn't exist)
- pvcreate /dev/sdb1
- vgextend "pve" /dev/sdb1
- lvresize -l 446439 /dev/mapper/pve-data
Filesystem 1K-blocks Used Available Use% Mounted on
udev 10240 0 10240 0% /dev
tmpfs 1612040 9044 1602996 1% /run
/dev/dm-0 98952796 1969196 91934052 3% /
tmpfs 4030100 43680 3986420 2% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 4030100 0 4030100 0% /sys/fs/cgroup
tmpfs 100 0 100 0% /run/lxcfs/controllers
cgmfs 100 0 100 0% /run/cgmanager/fs
/dev/fuse 30720 16 30704 1% /etc/pve
If i do resize2fs /dev/mapper/pve-data it says invalid super block or something, and if i try to do it with /dev/dm-0 it says it already is updated.
Can this guide get updated?