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
From: *metronet.cz
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 message
Welite is currently offline  Welite
Messages: 6
Registered: March 2016
Junior Member
From: *metronet.cz
Solved by changing from ploop so simfs in vz.conf

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

Report message to a moderator

Previous Topic: Update to 7.0.9 release and journalctl verify system freeze
Next Topic: OpenVZ 7 + mdadm slow rebuild
Goto Forum:
  


Current Time: Thu Sep 19 00:47:44 GMT 2019