OpenVZ Forum


Home » General » Support » Newbie
Newbie [message #28765] Fri, 28 March 2008 08:36 Go to next message
matko is currently offline  matko
Messages: 5
Registered: March 2008
Junior Member
Hello

I've installed and configured Open VZ by the book, I've made 4 containers. I can access them, and everything, they seem empty to me (they have empty folder root,etc,bin...etc), how do I "install" a Linux into a container? or is the container already a virtual Linux machine, if so, how do I configure it (personalize it)?

thanks for the answers,

matko
Re: Newbie [message #28804 is a reply to message #28765] Fri, 28 March 2008 15:40 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Could you please show us the exact commands you've used to create container, access it etc.
Also "vzlist -a" command after you've created container.
Re: Newbie [message #28821 is a reply to message #28765] Sat, 29 March 2008 09:46 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Providing some logs can be really helpful in this case. I.e. the output of

vzlist -a
vzctl exec <CTID> ls /
vzctl exec <CTID> ls /bin

(here <CTID> is the ID of one of your containers).


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Newbie [message #28851 is a reply to message #28765] Mon, 31 March 2008 04:59 Go to previous messageGo to next message
matko is currently offline  matko
Messages: 5
Registered: March 2008
Junior Member
Hello

Thanx for the answers, so here is the vzlist -a:

VEID; NPROCS; STATUS; IP_ADDR; HOSTNAME
101 ; 3 ; running; 199.199.19.1; -
102 ; 3 ; running ; 199.199.19.2 ; -

vzctl exec 101 ls /:
bin
boot
dev
etc
home
lib
media
mnt
opt
proc
root
sbin
selinux
srv
sys
tmp
usr
var

vzctl exec 101 ls /bin:
arch
awk
basename
bash
cat
chgrp
chmod
chown
cp
...etc (shoul I continoue?)

That's it...

thanx, bye

matko
Re: Newbie [message #28903 is a reply to message #28851] Mon, 31 March 2008 19:39 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

In the original post you said
Quote:

they seem empty to me (they have empty folder root,etc,bin...etc)


I have asked you to show the output of ls / and ls /bin to see if there are some files in root and bin. Yes there are files in root and bin as you showed.

Now I do not get it. What is your problem?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Newbie [message #28911 is a reply to message #28765] Tue, 01 April 2008 05:05 Go to previous messageGo to next message
matko is currently offline  matko
Messages: 5
Registered: March 2008
Junior Member
okey, I didn't know it's supose to be this way...

then I don't have a problem...Smile


thanx for the time...

bye, matko
vzyum [message #28918 is a reply to message #28911] Tue, 01 April 2008 10:43 Go to previous message
matko is currently offline  matko
Messages: 5
Registered: March 2008
Junior Member
hello

I do have a problem.Smile I have CentOS 5.1 installed and a virtual machine CentOS 4 minimal.

I can't use the vzyum?

any ideas why? Is it the CentOS 5.1 fault or something wrong with virtual CentOS 4?

thanx, bye, matko
Previous Topic: vzmigrate rsync failure
Next Topic: Disk quota inside ve
Goto Forum:
  


Current Time: Sun Jul 14 06:02:10 GMT 2024

Total time taken to generate the page: 0.02244 seconds