OpenVZ Forum


Home » Mailing lists » Users » ploop
ploop [message #45683] Wed, 28 March 2012 16:01 Go to next message
Mark Olliver is currently offline  Mark Olliver
Messages: 11
Registered: September 2011
Junior Member
From: *parallels.com
Hi,



With ploop is it possible rather than using a file to use and lvm partition
as the backend storage?



Also plop is it possible for the guest to run it's own lvm layer, with kvm
currently you can assign each VE a kvm partition then as it boots up it runs
its own lvm layer where the root partition is stored.



Regards



Mark
Re: ploop [message #45688 is a reply to message #45683] Thu, 29 March 2012 08:52 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

From: *parallels.com
On 03/28/2012 08:01 PM, Mark Olliver wrote:
>
> Hi,
>
> With ploop is it possible rather than using a file to use and lvm
> partition as the backend storage?
>

What for? The whole purpose of ploop is to use a file as a storage.

If your question is can a CT use a dedicated LVM partition then the
answer is yes, and it was quite possible before ploop.

> Also plop is it possible for the guest to run it’s own lvm layer, with
> kvm currently you can assign each VE a kvm partition then as it boots
> up it runs its own lvm layer where the root partition is stored.
>

My rough guess is yes you can (and again, ploop is not about it).

You can give a CT an access to physical disk or disk partition or LVM
volume or volume group using vzctl set --devnodes and then manage it
from the inside. But I haven't tried it, because I don't see any
practical use for it.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: ploop [message #45692 is a reply to message #45688] Thu, 29 March 2012 09:43 Go to previous messageGo to next message
massimiliano.sciabica is currently offline  massimiliano.sciabica
Messages: 11
Registered: March 2012
Junior Member
From: *parallels.com
Hi,
has anyone tryed to compress the file that simulates the VPS hard disk?
If so, what's the comressio achieved?
Thanks


On Thu, 29 Mar 2012 12:52:02 +0400, Kir Kolyshkin wrote:
> On 03/28/2012 08:01 PM, Mark Olliver wrote:
>>
>> Hi,
>>
>> With ploop is it possible rather than using a file to use and lvm
>> partition as the backend storage?
>>
>
> What for? The whole purpose of ploop is to use a file as a storage.
>
> If your question is can a CT use a dedicated LVM partition then the
> answer is yes, and it was quite possible before ploop.
>
>> Also plop is it possible for the guest to run it’s own lvm layer,
>> with kvm currently you can assign each VE a kvm partition then as it
>> boots up it runs its own lvm layer where the root partition is stored.
>>
>
> My rough guess is yes you can (and again, ploop is not about it).
>
> You can give a CT an access to physical disk or disk partition or LVM
> volume or volume group using vzctl set --devnodes and then manage it
> from the inside. But I haven't tried it, because I don't see any
> practical use for it.
>
Re: ploop [message #45693 is a reply to message #45692] Thu, 29 March 2012 09:59 Go to previous message
Kirill Korotaev is currently offline  Kirill Korotaev
Messages: 137
Registered: January 2006
Senior Member
From: *parallels.com
It depends on what content is put inside. If VPS has lot's of images/video files - near 0% compression is possible.
If lots of text or programs - about 50% can be achieved.

Reality is somewhere in the middle typically.


On Mar 29, 2012, at 13:43 , <massimiliano.sciabica@kiiama.com> <massimiliano.sciabica@kiiama.com> wrote:

> Hi,
> has anyone tryed to compress the file that simulates the VPS hard disk?
> If so, what's the comressio achieved?
> Thanks
>
>
> On Thu, 29 Mar 2012 12:52:02 +0400, Kir Kolyshkin wrote:
>> On 03/28/2012 08:01 PM, Mark Olliver wrote:
>>>
>>> Hi,
>>>
>>> With ploop is it possible rather than using a file to use and lvm
>>> partition as the backend storage?
>>>
>>
>> What for? The whole purpose of ploop is to use a file as a storage.
>>
>> If your question is can a CT use a dedicated LVM partition then the
>> answer is yes, and it was quite possible before ploop.
>>
>>> Also plop is it possible for the guest to run it’s own lvm layer,
>>> with kvm currently you can assign each VE a kvm partition then as it
>>> boots up it runs its own lvm layer where the root partition is stored.
>>>
>>
>> My rough guess is yes you can (and again, ploop is not about it).
>>
>> You can give a CT an access to physical disk or disk partition or LVM
>> volume or volume group using vzctl set --devnodes and then manage it
>> from the inside. But I haven't tried it, because I don't see any
>> practical use for it.
>>
Previous Topic: Re: [Announce] Kernel RHEL6 testing 042stab053.4
Next Topic: RE: lvm and openvz
Goto Forum:
  


Current Time: Sat Jul 21 22:39:53 GMT 2018