OpenVZ Forum


Home » Mailing lists » Users » adventures with layout=ploop
Re: adventures with layout=ploop [message #45619 is a reply to message #45615] Thu, 22 March 2012 19:26 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On 03/22/2012 09:42 PM, jjs - mainphrame wrote:
> My test platform is centos-6.2 32 bit. I had successfully created
> ploop-based containers when testing the ploop and vzctl from git last
> week. Today I installed the released ploop and vzctl rpms to test further.

Which kernel it is?

Anything in dmesg output?

>
> When I issue a command to create a ploop-based container, vzctl is
> unable to complete the operation, exiting with errors:
>
> [root@mrmber ~]# vzctl create 777 --layout=ploop --config=vswap-256m
> --ostemplate=debian-5.0-x86
> Unable to get full ostemplate name for debian-5.0-x86
> Creating image: /vz/private/777.tmp/root.hdd/root.hdd size=2306867K
> Creating delta /vz/private/777.tmp/root.hdd/root.hdd bs=2048
> size=4613734 sectors
> Storing /vz/private/777.tmp/root.hdd/DiskDescriptor.xml
> Adding delta dev=/dev/ploop0 img=/vz/private/777.tmp/root.hdd/root.hdd
> (rw)
> PLOOP_IOC_ADD_DELTA /vz/private/777.tmp/root.hdd/root.hdd: Invalid
> argument
> Failed to create image: PLOOP_IOC_ADD_DELTA
> /vz/private/777.tmp/root.hdd/root.hdd: Invalid argument [3]
> Creation of container private area failed
> [root@mrmber ~]#
>
>
> When I issue a command to create a container with the same parameters
> except using layout=simfs instead of ploop, vzctl succeeds:
>
> [root@mrmber ~]# vzctl create 777 --layout=simfs --config=vswap-256m
> --ostemplate=debian-5.0-x86
> Unable to get full ostemplate name for debian-5.0-x86
> Creating container private area (debian-5.0-x86)
> Performing postcreate actions
> CT configuration saved to /etc/vz/conf/777.conf
> Container private area was created
> [root@mrmber ~]#
>
> Where should I be looking to solve this mystery?
>
> Regards,
>
> Joe
>


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Processes in D state when vzctl chkpnt suspend
Next Topic: Problems encountered increasing CT diskspace with layout=ploop
Goto Forum:
  


Current Time: Tue Jul 16 15:51:05 GMT 2024

Total time taken to generate the page: 0.02879 seconds