[Users] Some basic startup related issues

Arturas Skauronas helpaz at gmail.com
Tue Jun 29 04:49:53 EDT 2010


On Sat, Jun 26, 2010 at 4:02 AM, Nirmal Guhan <vavatutu at gmail.com> wrote:
> Am following http://wiki.openvz.org/Physical_to_container and facing a
> couple of issues. Hope someone can help.
>
> Am running CentOS 5.5 and trying to create a CentOS 5 container.
>
> 1) /proc does not get mounted. I have to manually mount it everytime.
> I have following entries in /etc/fstab
>

I thing that's another issue
from http://wiki.openvz.org/Physical_to_container

/etc/mtab

Link /etc/mtab to /proc/mounts, for df to work properly:

rm -f /vz/private/123/etc/mtab
ln -s /proc/mounts /vz/private/123/etc/mtab


container must be stopped


> none /dev/pts devpts defaults 0 0
> none /proc    proc   defaults 0 0
> none //sys     sysfs  defaults 0 0
> none /dev/shm tmpfs  defaults 0 0
>
> [root at localhost /]# vzctl enter 50
> entered into CT 50
> Unable to get tty name: Bad file descriptor
>                                           -bash-3.2# mount
> warning: can't open /etc/mtab: No such file or directory
> --bash-3.2# mount -t proc none /proc
> -bash-3.2# mount
> /dev/simfs on / type simfs (rw)
> none on /proc type proc (rw)
> -bash-3.2#
>
>
> 2) Not able to assign IP address to venet0. Here are the lines from
> /etc/vz/conf/50.conf
> IP_ADDRESS="10.33.11.55"
> BROADCAST="255.255.255.255"
> NETMASK="255.255.255.192"
>
> I have set onboot=NO in vz/private/50/etc/sysconfig/network-scripts/ifcfg-eth0


delete file vz/private/50/etc/sysconfig/network-scripts/ifcfg-eth0
and please post all 50.conf file


>
> --Nirmal
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>



More information about the Users mailing list