OpenVZ Forum


Home » General » Discussions » Gentoo template creation - stat(/vz/root/1001): No such file or directory (Following WIKI page encountered error starting container.)
Gentoo template creation - stat(/vz/root/1001): No such file or directory [message #48745] Tue, 13 November 2012 23:37
jhicksrpv is currently offline  jhicksrpv
Messages: 2
Registered: November 2012
Junior Member
I was following the directions found here: wiki.openvz.org/Gentoo_template_creation and ran into a problem when I reached this step: wiki.openvz.org/Gentoo_template_creation#Test

[root@felina ~]# vzctl start 1001
Starting container ...
stat(/vz/root/1001): No such file or directory
stat(/vz/root/1001): No such file or directory
realpath(/vz/root/1001) failed: No such file or directory
Can't umount /vz/root/1001: No such file or directory
stat(/vz/root/1001): No such file or directory
unable to change dir to /vz/root/1001: No such file or directory
Not enough resources to start environment
Container start failed (try to check kernel messages, e.g. "dmesg | tail")
stat(/vz/root/1001): No such file or directory
stat(/vz/root/1001): No such file or directory
realpath(/vz/root/1001) failed: No such file or directory
Can't umount /vz/root/1001: No such file or directory

The host node is running Centos with this kernel:

Linux felina.rpvnetwork 2.6.32-042stab061.2 #1 SMP Fri Aug 24 09:07:21 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux

[root@felina ~]# cat /etc/vz/conf/1001.conf
KMEMSIZE="14372700:14790164"
LOCKEDPAGES="2048"
PRIVVMPAGES="65536:69632"
SHMPAGES="21504"
NUMPROC="240"
PHYSPAGES="0:unlimited"
VMGUARPAGES="33792:unlimited"
OOMGUARPAGES="26112:unlimited"
NUMTCPSOCK="360"
NUMFLOCK="188:206"
NUMPTY="16"
NUMSIGINFO="256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144"
NUMOTHERSOCK="360"
NUMFILE="9312"
DCACHESIZE="3409920:3624960"
NUMIPTENT="128"
AVNUMPROC="180"
CPUUNITS="1000"
ORIGIN_SAMPLE="basic"
#DISKSPACE="2097152:2306867"
#DISKINODES="200000:220000"
DISK_QUOTA="no"
QUOTATIME="0"
OSTEMPLATE="gentoo"

I checked /vz/root/ and there was no 1001 directory. I rechecked the instructions and don't think I missed anything. Is the /vz/root/1001 directory supposed to be created automatically or do I need to create it somehow? What did I miss?
Previous Topic: is there anything like xvp for openvz?
Next Topic: Minimal binary template
Goto Forum:
  


Current Time: Wed Aug 07 09:24:37 GMT 2024

Total time taken to generate the page: 0.02981 seconds