vz in kvm - restart kvm , vz stays running.

RobFantini

Famous Member
May 24, 2012
2,042
107
133
Boston,Mass
I'm test running vz within a kvm.

I had ssh'ed into the vz from off site.

later I stopped the kvm, added memory , then started the kvm.

the ssh session never stopped working.

the vz shows 12 days up time, the kvm 7 minutes:

Code:
kvm-for-vz1  ~ # vzlist
      CTID      NPROC STATUS    IP_ADDR         HOSTNAME
      4777         19 running   10.1.10.28      -

entered into CT 4777

vz-in-kvm1  / # w
 21:31:31 up 12 days, 23:07,  0 users,  load average: 0.00, 0.01, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
vz-in-kvm1  / # logout
exited from CT 4777

kvm-for-vz1  ~ # w
 21:31:41 up 7 min,  1 user,  load average: 0.03, 0.05, 0.01
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    172.30.24.9      21:30    0.00s  0.09s  0.00s w

the vz uses a ' ploop ' filesystem.

is that normal behavior?