assign storage to openvz container

gmork123

Member
Nov 3, 2009
8
0
21
Hello,

I'm experimenting with proxmox ve but I don't understand how to assign a openvz container to storage.

My local storage is (deliberately) full, so I created & added two LVM groups (one actually has two disks). Their content can be "Virtual disks" (which is default and cannot be changed for LVM it seems)

If I create a new container I get:

unable to create VE 104: command 'vzctl create 104 --ostemplate ubuntu-8.0-standard_8.04-1_i386 --config pve.auto' failed with exit code 48:
Can't create directory /var/lib/vz/private/104.tmp: No space left on device

Which makes sense. How can I create this VE on the new LVM groups? And can a VE grow over two LVM groups?

Is it related to the "Virtual Disks" concept? I cannot find what it is and how it should work.

Thanks. Wessel
 
Check out my thread around here, I ran into the same problem. You can't use OpenVZ on your LVM storage from what I gathered.
 
Hello,

I'm experimenting with proxmox ve but I don't understand how to assign a openvz container to storage.

My local storage is (deliberately) full, so I created & added two LVM groups (one actually has two disks). Their content can be "Virtual disks" (which is default and cannot be changed for LVM it seems)

If I create a new container I get:

unable to create VE 104: command 'vzctl create 104 --ostemplate ubuntu-8.0-standard_8.04-1_i386 --config pve.auto' failed with exit code 48:
Can't create directory /var/lib/vz/private/104.tmp: No space left on device

Which makes sense. How can I create this VE on the new LVM groups? And can a VE grow over two LVM groups?

Is it related to the "Virtual Disks" concept? I cannot find what it is and how it should work.

Thanks. Wessel

openvz can only use one local storage.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!