New on LowEndTalk? Please Register and read our Community Rules.
Virtualizor KVM how to work storage?

in Help
Hello. I am looking for setting up my server at home for visualisation with KVM to run different things and different OS. Before I use Virtualizor with internal 192.168 home network.
Now when adding storage options its always 0% used 0% free size 00 I tried LVM with /dev/vg and /dev/vg-kvm
ID Storage Name Servers UUID Type Path Primary Size Free Oversell Alert Threshold Manage 3 diska localhost 7wo9ewdz1vc7lyni File /kvm Yes 0.00 GB 0.00 GB 0 GB 90.00%
I have partition /kvm and LVM group /dev/
[[email protected] ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 0 1.8T 0 disk ├─sdb1 8:17 0 1004.5K 0 part ├─sdb2 8:18 0 100G 0 part │ └─md2 9:2 0 100G 0 raid1 / ├─sdb3 8:19 0 4G 0 part [SWAP] └─sdb4 8:20 0 1.7T 0 part └─md4 9:4 0 1.7T 0 raid1 └─vg-kvm (dm-0) 253:0 0 1.7T 0 lvm /kvm sda 8:0 0 1.8T 0 disk ├─sda1 8:1 0 1004.5K 0 part ├─sda2 8:2 0 100G 0 part │ └─md2 9:2 0 100G 0 raid1 / ├─sda3 8:3 0 4G 0 part [SWAP] └─sda4 8:4 0 1.7T 0 part └─md4 9:4 0 1.7T 0 raid1 └─vg-kvm (dm-0) 253:0 0 1.7T 0 lvm /kvm [[email protected] ~]# df -h Filesystem Size Used Avail Use% Mounted on rootfs 99G 2.9G 91G 4% / devtmpfs 16G 236K 16G 1% /dev tmpfs 16G 0 16G 0% /dev/shm /dev/md2 99G 2.9G 91G 4% / /dev/mapper/vg-kvm 1.7T 68M 1.7T 1% /kvm
Comments
installed with
What does the output of "vgdisplay" say?
thx
umount /kvm ; fdisk /dev/mapper/vg-kvm
You need to delete /dev/mapper/vg-kvm (/kvm) and remove from the fstab file for future reboots.
You need to provide virtualizor with an empty vg yours being called vg, however It currently has no space as has the vg-kvm using all 1.72TB~