[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] About: rm -f /bin /sh


  • To: XEN-Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Huang Yogi <chi7396@xxxxxxxxxxx>
  • Date: Wed, 26 Jan 2011 20:49:12 +0800
  • Delivery-date: Wed, 26 Jan 2011 04:50:36 -0800
  • Importance: Normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Dear all


After I doing: rm -f /bin /sh ,my pc(Debian) can not work anymore,

I try to do: ln -s /bin/sh /bin/bash, but it doesn't work;


after reboot it shows cannot execute /etc/init.d/rcS ; /etc/init.d/rc...



could you help me how to fix this problem!!


Thank you so much!!!


Best regards,
Yogi Huang



From: chi7396@xxxxxxxxxxx
To: todd.deshane@xxxxxxx
CC: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen
Date: Thu, 23 Dec 2010 13:04:12 +0800

  The lack of memory caused the problem! I try to give more memoy for the target system and the migration success.
  Thanks for your help!!
 
   Best regards,
   Yogi

If that is not the problem, be sure that you have enough resources to
> migrate. For example, you need enough free memory on the target system
> to handle all of the VMs.

> From: todd.deshane@xxxxxxx
> Date: Tue, 21 Dec 2010 22:05:17 -0500
> Subject: Re: [Xen-users] Mutiple virtualmachines Live migration at the same time with Xen
> To: chi7396@xxxxxxxxxxx
> CC: xen-users@xxxxxxxxxxxxxxxxxxx
>
> 2010/12/20 Huang Yogi <chi7396@xxxxxxxxxxx>:
> > Dear all
> >
> > The following process is about trying to do the " live migration at the same
> > time with 5 Virtual machines ", but there is somthing problem with it.
> >
> > Process:
> >
> >               yogi-pc2:  # xm migrate --live vm01 pc2 & xm migrate --live
> > vm02 pc2 & xm migrate --live vm03 pc2 & xm migrate --live vm05 pc2 & xm
> > migrate --live vm06 pc2
> >
> > [1] 29983
> > [2] 29984
> > [3] 29985
> > [4] 29986
> > Error: /usr/lib/xen-3.2-1/bin/xc_save 43 2358 0 0 1 failed
> > Usage: xm migrate <Domain> <Host>
> >
>
> > Migrate a domain to another machine.
> >
> > Options:
> >
> > -h, --help           Print this help.
> > -l, --live      & nbsp;    Use live migration.
> > -p=portnum, --port=portnum
> > &n bsp;                    Use specified port for migration.
> > -r=MBIT, --resource=MBIT
> >                      Set level of resource usage for migration.
> >
>
> Looks like you are getting a usage error.
>
> > yogi-pc2:# jobs
> >
> > [1]   Running                 xm migrate --live vm01 yogi-pc1 &
> > [2]   Running                 xm migrate --live vm02 yogi-pc1 &
> > [3]-  Running                 xm migra te --live vm03 yogi- pc1 &
> > [4]+  Running                 xm migrate --live vm05 yogi-pc1 &
> >
> > yogi-pc2:# ps -aux
> > root     29983  0.3  0.4  11076  6800 pts/0    S    19:34   0:00 python
> > /usr/lib/xen-3.2-1/bin/xm migrate --live vm01 yogi-pc1
> > root     29984  0.3  0.4  11068  6796 pts/0    S    19:34   0:00 python
> > /usr/lib/xen-3.2-1/bin/xm migrate --live vm02 yogi-pc1
> > root     29985  0.3  0.4  11068  6796 pts/0    S    19:34   0:00 python
> > /usr/lib/xen-3.2-1/bin/xm migrate --live vm03 yogi-pc1
> > root     29986  0.3  0.4&nb sp; 11068  6796 pts/0    S    19:34   0:00 python
> > /usr/lib/xen-3.2-1/bin/xm migrate --live vm05 yogi-pc1\
> >
> > Hardware      Intel(R) Core(TM)2 Quad CPU    Q8400  @ 2.66GHz
> >
> >                           # xm list
> >
> > Name                                        ID   Mem VCPUs    &nbs p;
> > State   Time(s)
> > Domain-0                                      0   953     4     r-----
> > 89663.9
> > vm01                                      1332   128     1     -b----
> > 0.0
> > vm02                                      1327   128     1     -b----
> > 0.6
> > vm03                   &n bsp;                  1330   128     1     -b----
> > 0.6
> > vm05                                      1328   128     1     -b----
> > 0.6
> > vm06                                      1329   128     1     -b----
> > 0.6
> > vm07                  ;                     1303   128     1     -b----
> > 39.2
> >
>
> If this is the host that you are migrating from, then you don't have a
> vm04 to migrate
>
> If that is not the problem, be sure that you have enough resources to
> migrate. For example, you need enough free memory on the target system
> to handle all of the VMs.
>
> Hope that helps,
>
> Thanks,
> Todd
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.