OpenVZ Forum


Home » General » Support » Debian 9 fresh install of OpenVZ gives errors on creating container
Debian 9 fresh install of OpenVZ gives errors on creating container [message #53534] Mon, 27 May 2019 21:48 Go to next message
Welite is currently offline  Welite
Messages: 6
Registered: March 2016
Junior Member
I have newly installed OpenVZ on my Debian 9 as of this manual: https://wiki.openvz.org/Installation_on_Debian_9


However when I try to create a new container it gives me this error, I have no idea what it means and what could be wrong.



vzctl create 1 --ostemplate debian-8.0-x86_64
--2019-05-27 23:35:49--  http://download.openvz.org/template/precreated/debian-8.0-x86_64.tar.gz
Resolving download.openvz.org (download.openvz.org)... 185.231.241.69
Connecting to download.openvz.org (download.openvz.org)|185.231.241.69|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 211472487 (202M) [application/x-gzip]
Saving to: '/var/lib/vz/template/cache/debian-8.0-x86_64.tar.gz'

debian-8.0-x86_64.t 100%[===================>] 201.68M  15.4MB/s    in 20s

2019-05-27 23:36:10 (10.0 MB/s) - '/var/lib/vz/template/cache/debian-8.0-x86_64.tar.gz' saved [211472487/211472487]

Creating image: /var/lib/vz/private/1.tmp/root.hdd/root.hdd size=2306867K
Creating delta /var/lib/vz/private/1.tmp/root.hdd/root.hdd bs=2048 size=4614144 sectors v2
Storing /var/lib/vz/private/1.tmp/root.hdd/DiskDescriptor.xml
Opening delta /var/lib/vz/private/1.tmp/root.hdd/root.hdd
Adding delta dev=/dev/ploop62515 img=/var/lib/vz/private/1.tmp/root.hdd/root.hdd (rw)
mke2fs 1.43.4 (31-Jan-2017)
Suggestion: Use Linux kernel >= 3.18 for improved stability of the metadata and journal checksum features.
Discarding device blocks: done
Creating filesystem with 576256 4k blocks and 144288 inodes
Filesystem UUID: 6ef4b96d-e218-4e4a-893a-298a52af441c
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

tune2fs 1.43.4 (31-Jan-2017)
Setting maximal mount count to -1
Setting error behavior to 2
Setting interval between checks to 0 seconds
Creating balloon file .balloon-c3a5ae3d-ce7f-43c4-a1ea-c61e2b4504e8
Error in ploop_mount_fs (ploop.c:1326): Can't mount file system dev=/dev/ploop62515p1 target=/var/lib/vz/private/1.tmp/root.hdd/root.hdd.mnt data='(null)': Invalid argument
Unmounting device /dev/ploop62515
Failed to create image: Error in ploop_mount_fs (ploop.c:1326): Can't mount file system dev=/dev/ploop62515p1 target=/var/lib/vz/private/1.tmp/root.hdd/root.hdd.mnt data='(null)': Invalid argument [21]
Creation of container private area failed






Also where can I find precreated template for debian 9 ?



Thanks in advance.
Welite
Re: Debian 9 fresh install of OpenVZ gives errors on creating container [message #53535 is a reply to message #53534] Tue, 28 May 2019 09:19 Go to previous messageGo to next message
Welite is currently offline  Welite
Messages: 6
Registered: March 2016
Junior Member
Solved by changing from ploop so simfs in vz.conf

[Updated on: Tue, 28 May 2019 09:19]

Report message to a moderator

Re: Debian 9 fresh install of OpenVZ gives errors on creating container [message #53647 is a reply to message #53535] Tue, 28 April 2020 14:49 Go to previous message
devnull is currently offline  devnull
Messages: 20
Registered: May 2012
Junior Member
Hi!

In order to use Ploop on Debian 9, you must disable "metadata_csum" option when creating ploop images.

Edit "/etc/mke2fs.conf" and delete "metadata_csum" in EXT4 "features".

Have a nice day.
Previous Topic: Unable to open pty: No such file or directory | Centos 7 VPS cotainers
Next Topic: OpenVZ 7 Precreated OS Template
Goto Forum:
  


Current Time: Sun May 12 04:54:14 GMT 2024

Total time taken to generate the page: 0.01623 seconds