Manuel Silva
2010-Dec-21 01:01 UTC
[Xen-users] tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working - OSError: [Errno 2] No such file or directory
Hello, I''m using Xen (installed from source - "hg clone http://xenbits.xen.org/xen-4.0-testing.hg") on Debian Lenny. Dom0 kernel is 2.6.32-bpo.5-xen-686. Until now I have successfully ran the Lucid Ubuntu as domU guest, defining disks as (and also as file:): disk = [''tap2:aio:/home/xen/domains/lucid/disk.img,xvda1,w'', ''tap2:aio:/home/xen/domains/lucid/swap.img,xvda2,w''] However, when I try "disk [''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img,xvda1,w'', ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img,xvda2,w'']" I have no luck. Please, can you tell me what''s wrong? I have spend so many time googling, but no one seems to address this issue. Can someone tell me if this happens when installing xen hypervisor directly from deb packages (version 4.0 for Debian squeeze)? I''ll appreciate your help (I''m really stuck). Thanks in advance. Best regards, Manuel Silva PS.: The error follows: [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:101) XendDomainInfo.create([''vm'', [''name'', ''lucid''], [''memory'', 128], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''vcpus'', 1], [''oos'', 1], [''bootloader'', ''/usr/bin/pygrub''], [''bootloader_args'', ''''], [''image'', [''linux'', [''root'', ''/dev/xvda1 ro''], [''videoram'', 4], [''args'', ''xencons=tty''], [''tsc_mode'', 0], [''nomigrate'', 0]]], [''s3_integrity'', 1], [''device'', [''tap2'', [''uname'', ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img''], [''dev'', ''xvda1''], [''mode'', ''w'']]], [''device'', [''tap2'', [''uname'', ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img''], [''dev'', ''xvda2''], [''mode'', ''w'']]], [''device'', [''vif'']]]) [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain [2010-12-21 00:32:23 2091] DEBUG (balloon:220) Balloon: 132032 KiB free; need 16384; done. [2010-12-21 00:32:23 2091] DEBUG (XendDomain:464) Adding Domain: 5 [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 5 256 *[2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:483) VM start failed* Traceback (most recent call last): File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 469, in start XendTask.log_progress(31, 60, self._initDomain) File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2820, in _initDomain self._configureBootloader() File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 3245, in _configureBootloader mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype !''sync'' and not os.stat(fn).st_rdev OSError: [Errno 2] No such file or directory: ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'' [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=5 [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2416) No device model [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2418) Releasing devices [2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:106) Domain construction failed Traceback (most recent call last): File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 104, in create vm.start() File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 469, in start XendTask.log_progress(31, 60, self._initDomain) File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2820, in _initDomain self._configureBootloader() File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 3245, in _configureBootloader mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype !''sync'' and not os.stat(fn).st_rdev OSError: [Errno 2] No such file or directory: ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'' [2010-12-21 00:32:23 2091] ERROR (xmlrpclib2:178) Internal error handling xend.domain.create Traceback (most recent call last): File "usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch return func(*params) File "usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", line 79, in domain_create info = XendDomain.instance().domain_create(config) File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 982, in domain_create dominfo = XendDomainInfo.create(config) File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 104, in create vm.start() File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 469, in start XendTask.log_progress(31, 60, self._initDomain) File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2820, in _initDomain self._configureBootloader() File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 3245, in _configureBootloader mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype !''sync'' and not os.stat(fn).st_rdev OSError: [Errno 2] No such file or directory: ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2010-Dec-22 03:36 UTC
Re: [Xen-users] tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working - OSError: [Errno 2] No such file or directory
On Mon, Dec 20, 2010 at 8:01 PM, Manuel Silva <manuel79silva@gmail.com> wrote:> Hello, > > I''m using Xen (installed from source - "hg clone > http://xenbits.xen.org/xen-4.0-testing.hg") on Debian Lenny. Dom0 kernel is > 2.6.32-bpo.5-xen-686. > > Until now I have successfully ran the Lucid Ubuntu as domU guest, defining > disks as (and also as file:): > disk = [''tap2:aio:/home/xen/domains/lucid/disk.img,xvda1,w'', > ''tap2:aio:/home/xen/domains/lucid/swap.img,xvda2,w''] > > However, when I try "disk > [''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img,xvda1,w'', > ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img,xvda2,w'']" I > have no luck. > > Please, can you tell me what''s wrong? I have spend so many time googling, > but no one seems to address this issue. > > Can someone tell me if this happens when installing xen hypervisor directly > from deb packages (version 4.0 for Debian squeeze)? > > I''ll appreciate your help (I''m really stuck). > Thanks in advance. > > Best regards, > Manuel Silva > > > PS.: The error follows: > > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:101) > XendDomainInfo.create([''vm'', [''name'', ''lucid''], [''memory'', 128], > [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''vcpus'', 1], > [''oos'', 1], [''bootloader'', ''/usr/bin/pygrub''], [''bootloader_args'', ''''], > [''image'', [''linux'', [''root'', ''/dev/xvda1 ro''], [''videoram'', 4], [''args'', > ''xencons=tty''], [''tsc_mode'', 0], [''nomigrate'', 0]]], [''s3_integrity'', 1], > [''device'', [''tap2'', [''uname'', > ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img''], [''dev'', > ''xvda1''], [''mode'', ''w'']]], [''device'', [''tap2'', [''uname'', > ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img''], [''dev'', > ''xvda2''], [''mode'', ''w'']]], [''device'', [''vif'']]]) > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2508) > XendDomainInfo.constructDomain > [2010-12-21 00:32:23 2091] DEBUG (balloon:220) Balloon: 132032 KiB free; > need 16384; done. > [2010-12-21 00:32:23 2091] DEBUG (XendDomain:464) Adding Domain: 5 > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2818) > XendDomainInfo.initDomain: 5 256 > [2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:483) VM start failed > Traceback (most recent call last): > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 469, in start > XendTask.log_progress(31, 60, self._initDomain) > File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in > log_progress > retval = func(*args, **kwds) > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 2820, in _initDomain > self._configureBootloader() > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 3245, in _configureBootloader > mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype !> ''sync'' and not os.stat(fn).st_rdev > OSError: [Errno 2] No such file or directory: > ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'' > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:3053) > XendDomainInfo.destroy: domid=5 > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2416) No device model > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2418) Releasing devices > [2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:106) Domain construction > failed > Traceback (most recent call last): > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 104, in create > vm.start() > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 469, in start > XendTask.log_progress(31, 60, self._initDomain) > File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in > log_progress > retval = func(*args, **kwds) > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 2820, in _initDomain > self._configureBootloader() > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 3245, in _configureBootloader > mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype !> ''sync'' and not os.stat(fn).st_rdev > OSError: [Errno 2] No such file or directory: > ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'' > [2010-12-21 00:32:23 2091] ERROR (xmlrpclib2:178) Internal error handling > xend.domain.create > Traceback (most recent call last): > File "usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line 131, > in _marshaled_dispatch > response = self._dispatch(method, params) > File "/usr/lib/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch > return func(*params) > File "usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", > line 79, in domain_create > info = XendDomain.instance().domain_create(config) > File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 982, > in domain_create > dominfo = XendDomainInfo.create(config) > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 104, in create > vm.start() > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 469, in start > XendTask.log_progress(31, 60, self._initDomain) > File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in > log_progress > retval = func(*args, **kwds) > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 2820, in _initDomain > self._configureBootloader() > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > 3245, in _configureBootloader > mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype !> ''sync'' and not os.stat(fn).st_rdev > OSError: [Errno 2] No such file or directory: > ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.imgThe problem looks to be related to the fact that backup_ip:9000|aio:/home/xen/domains/lucid/disk.img is not addressable (see the tail of your error message). Can you confirm that you have the remus part working correctly? Hope that helps. Thanks, Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Manuel Silva
2010-Dec-22 18:44 UTC
Re: [Xen-users] tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working - OSError: [Errno 2] No such file or directory
Hello Todd, thank you sou much for your support. In fact, I can run "remus --no-net myvm backvm". However, when I try (without --no-net option) "remus -i 1000 myvm backvm", it returns: Disk is not replicated: tap:aio:/home/xen/domains/lucid/disk.img,xvda1,w Disk is not replicated: tap:aio:/home/xen/domains/lucid/swap.img,xvda2,w modprobe -q sch_queue Traceback (most recent call last): File "/usr/bin/remus", line 210, in <module> run(cfg) File "/usr/bin/remus", line 119, in run bufs.append(BufferedNIC(vif)) File "usr/lib/python2.5/site-packages/xen/remus/device.py", line 284, in __init__ File "usr/lib/python2.5/site-packages/xen/remus/device.py", line 323, in setup xen.remus.device.BufferedNICException: could not load sch_queue module I tried to install sch_queue from "/home/altino/xen-4.0-testing.hg/tools/remus/kmod", but without success. I''m using Debian Lenny 5 and kernel 2.6.32-bpo.5-xen-686 (from apt-get install linux-image-2.6.32-bpo.5-xen-686). Should I try linux-image-1.6.18 from xen (hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg)? Everything seems to work with Xen, except Remus. I simply cannot synchronize VM''s (principal and backup), since I cannot define "tap2:remus:backup_ip:port|aio:path_to_file" (but I can use tap2:aio:path_to_file). Kind regards, Manuel 2010/12/22 Todd Deshane <todd.deshane@xen.org>> On Mon, Dec 20, 2010 at 8:01 PM, Manuel Silva <manuel79silva@gmail.com> > wrote: > > Hello, > > > > I''m using Xen (installed from source - "hg clone > > http://xenbits.xen.org/xen-4.0-testing.hg") on Debian Lenny. Dom0 kernel > is > > 2.6.32-bpo.5-xen-686. > > > > Until now I have successfully ran the Lucid Ubuntu as domU guest, > defining > > disks as (and also as file:): > > disk = [''tap2:aio:/home/xen/domains/lucid/disk.img,xvda1,w'', > > ''tap2:aio:/home/xen/domains/lucid/swap.img,xvda2,w''] > > > > However, when I try "disk > > > [''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img,xvda1,w'', > > > ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img,xvda2,w'']" I > > have no luck. > > > > Please, can you tell me what''s wrong? I have spend so many time googling, > > but no one seems to address this issue. > > > > Can someone tell me if this happens when installing xen hypervisor > directly > > from deb packages (version 4.0 for Debian squeeze)? > > > > I''ll appreciate your help (I''m really stuck). > > Thanks in advance. > > > > Best regards, > > Manuel Silva > > > > > > PS.: The error follows: > > > > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:101) > > XendDomainInfo.create([''vm'', [''name'', ''lucid''], [''memory'', 128], > > [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''vcpus'', 1], > > [''oos'', 1], [''bootloader'', ''/usr/bin/pygrub''], [''bootloader_args'', ''''], > > [''image'', [''linux'', [''root'', ''/dev/xvda1 ro''], [''videoram'', 4], [''args'', > > ''xencons=tty''], [''tsc_mode'', 0], [''nomigrate'', 0]]], [''s3_integrity'', 1], > > [''device'', [''tap2'', [''uname'', > > ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img''], > [''dev'', > > ''xvda1''], [''mode'', ''w'']]], [''device'', [''tap2'', [''uname'', > > ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img''], > [''dev'', > > ''xvda2''], [''mode'', ''w'']]], [''device'', [''vif'']]]) > > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2508) > > XendDomainInfo.constructDomain > > [2010-12-21 00:32:23 2091] DEBUG (balloon:220) Balloon: 132032 KiB free; > > need 16384; done. > > [2010-12-21 00:32:23 2091] DEBUG (XendDomain:464) Adding Domain: 5 > > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2818) > > XendDomainInfo.initDomain: 5 256 > > [2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:483) VM start failed > > Traceback (most recent call last): > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 469, in start > > XendTask.log_progress(31, 60, self._initDomain) > > File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, > in > > log_progress > > retval = func(*args, **kwds) > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 2820, in _initDomain > > self._configureBootloader() > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 3245, in _configureBootloader > > mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype > !> > ''sync'' and not os.stat(fn).st_rdev > > OSError: [Errno 2] No such file or directory: > > ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'' > > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:3053) > > XendDomainInfo.destroy: domid=5 > > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2416) No device model > > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2418) Releasing devices > > [2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:106) Domain construction > > failed > > Traceback (most recent call last): > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 104, in create > > vm.start() > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 469, in start > > XendTask.log_progress(31, 60, self._initDomain) > > File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, > in > > log_progress > > retval = func(*args, **kwds) > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 2820, in _initDomain > > self._configureBootloader() > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 3245, in _configureBootloader > > mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype > !> > ''sync'' and not os.stat(fn).st_rdev > > OSError: [Errno 2] No such file or directory: > > ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'' > > [2010-12-21 00:32:23 2091] ERROR (xmlrpclib2:178) Internal error handling > > xend.domain.create > > Traceback (most recent call last): > > File "usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line > 131, > > in _marshaled_dispatch > > response = self._dispatch(method, params) > > File "/usr/lib/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch > > return func(*params) > > File "usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", > > line 79, in domain_create > > info = XendDomain.instance().domain_create(config) > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line > 982, > > in domain_create > > dominfo = XendDomainInfo.create(config) > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 104, in create > > vm.start() > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 469, in start > > XendTask.log_progress(31, 60, self._initDomain) > > File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, > in > > log_progress > > retval = func(*args, **kwds) > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 2820, in _initDomain > > self._configureBootloader() > > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line > > 3245, in _configureBootloader > > mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype > !> > ''sync'' and not os.stat(fn).st_rdev > > OSError: [Errno 2] No such file or directory: > > ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img > > The problem looks to be related to the fact that > backup_ip:9000|aio:/home/xen/domains/lucid/disk.img is not addressable > (see the tail of your error message). > > Can you confirm that you have the remus part working correctly? > > Hope that helps. > > Thanks, > Todd >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Manuel Silva
2010-Dec-24 12:05 UTC
Re: [Xen-users] tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working - OSError: [Errno 2] No such file or directory
Dear Todd, I have Xen and this features working: - xm migrate --live myvm mybckphost - remus -i 200 myvm mybckphost However, I just simply cannot put remus working in order to synchronize disks. It''s impossible to specify "tap2:remus:backup_ip:port|aio:path_to_file". It keeps giving me the error "*mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and taptype != ''sync'' and not os.stat(fn).st_rdev OSError: [Errno 2] No such file or directory: ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img*" What do you mean with "*backup_ip:9000|aio:/home/xen/domains/lucid/disk.img is not addressable*"? Image file */home/xen/domains/lucid/disk.img* does exists and works when specifying "tap2:aio:/home/xen/domains/lucid/disk.img" (in this case without Remus). Note: I''m using Paravirtualized, not HVM. Really, after googling weeks, I don''t know what else do... Kind regards, Manuel 2010/12/22 Todd Deshane <todd.deshane@xen.org>> > On Mon, Dec 20, 2010 at 8:01 PM, Manuel Silva <manuel79silva@gmail.com> >> wrote: >> > Hello, >> > >> > I''m using Xen (installed from source - "hg clone >> > http://xenbits.xen.org/xen-4.0-testing.hg") on Debian Lenny. Dom0 >> kernel is >> > 2.6.32-bpo.5-xen-686. >> > >> > Until now I have successfully ran the Lucid Ubuntu as domU guest, >> defining >> > disks as (and also as file:): >> > disk = [''tap2:aio:/home/xen/domains/lucid/disk.img,xvda1,w'', >> > ''tap2:aio:/home/xen/domains/lucid/swap.img,xvda2,w''] >> > >> > However, when I try "disk >> > >> [''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img,xvda1,w'', >> > >> ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img,xvda2,w'']" I >> > have no luck. >> > >> > Please, can you tell me what''s wrong? I have spend so many time >> googling, >> > but no one seems to address this issue. >> > >> > Can someone tell me if this happens when installing xen hypervisor >> directly >> > from deb packages (version 4.0 for Debian squeeze)? >> > >> > I''ll appreciate your help (I''m really stuck). >> > Thanks in advance. >> > >> > Best regards, >> > Manuel Silva >> > >> > >> > PS.: The error follows: >> > >> > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:101) >> > XendDomainInfo.create([''vm'', [''name'', ''lucid''], [''memory'', 128], >> > [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''vcpus'', 1], >> > [''oos'', 1], [''bootloader'', ''/usr/bin/pygrub''], [''bootloader_args'', ''''], >> > [''image'', [''linux'', [''root'', ''/dev/xvda1 ro''], [''videoram'', 4], [''args'', >> > ''xencons=tty''], [''tsc_mode'', 0], [''nomigrate'', 0]]], [''s3_integrity'', >> 1], >> > [''device'', [''tap2'', [''uname'', >> > ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img''], >> [''dev'', >> > ''xvda1''], [''mode'', ''w'']]], [''device'', [''tap2'', [''uname'', >> > ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img''], >> [''dev'', >> > ''xvda2''], [''mode'', ''w'']]], [''device'', [''vif'']]]) >> > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2508) >> > XendDomainInfo.constructDomain >> > [2010-12-21 00:32:23 2091] DEBUG (balloon:220) Balloon: 132032 KiB free; >> > need 16384; done. >> > [2010-12-21 00:32:23 2091] DEBUG (XendDomain:464) Adding Domain: 5 >> > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2818) >> > XendDomainInfo.initDomain: 5 256 >> > [2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:483) VM start failed >> > Traceback (most recent call last): >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 469, in start >> > XendTask.log_progress(31, 60, self._initDomain) >> > File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, >> in >> > log_progress >> > retval = func(*args, **kwds) >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 2820, in _initDomain >> > self._configureBootloader() >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 3245, in _configureBootloader >> > mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and >> taptype !>> > ''sync'' and not os.stat(fn).st_rdev >> > OSError: [Errno 2] No such file or directory: >> > ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'' >> > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:3053) >> > XendDomainInfo.destroy: domid=5 >> > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2416) No device model >> > [2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2418) Releasing devices >> > [2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:106) Domain >> construction >> > failed >> > Traceback (most recent call last): >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 104, in create >> > vm.start() >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 469, in start >> > XendTask.log_progress(31, 60, self._initDomain) >> > File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, >> in >> > log_progress >> > retval = func(*args, **kwds) >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 2820, in _initDomain >> > self._configureBootloader() >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 3245, in _configureBootloader >> > mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and >> taptype !>> > ''sync'' and not os.stat(fn).st_rdev >> > OSError: [Errno 2] No such file or directory: >> > ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'' >> > [2010-12-21 00:32:23 2091] ERROR (xmlrpclib2:178) Internal error >> handling >> > xend.domain.create >> > Traceback (most recent call last): >> > File "usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line >> 131, >> > in _marshaled_dispatch >> > response = self._dispatch(method, params) >> > File "/usr/lib/python2.5/SimpleXMLRPCServer.py", line 415, in >> _dispatch >> > return func(*params) >> > File >> "usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", >> > line 79, in domain_create >> > info = XendDomain.instance().domain_create(config) >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line >> 982, >> > in domain_create >> > dominfo = XendDomainInfo.create(config) >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 104, in create >> > vm.start() >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 469, in start >> > XendTask.log_progress(31, 60, self._initDomain) >> > File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, >> in >> > log_progress >> > retval = func(*args, **kwds) >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 2820, in _initDomain >> > self._configureBootloader() >> > File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", >> line >> > 3245, in _configureBootloader >> > mounted = devtype in [''tap'', ''tap2''] and taptype != ''aio'' and >> taptype !>> > ''sync'' and not os.stat(fn).st_rdev >> > OSError: [Errno 2] No such file or directory: >> > ''backup_ip:9000|aio:/home/xen/domains/lucid/disk.img >> >> The problem looks to be related to the fact that >> backup_ip:9000|aio:/home/xen/domains/lucid/disk.img is not addressable >> (see the tail of your error message). >> >> Can you confirm that you have the remus part working correctly? >> >> Hope that helps. >> >> Thanks, >> Todd >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
yunjiedu
2011-Aug-26 02:29 UTC
[Xen-users] Re: tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working - OSError: [Errno 2] No such file or directory
hello Manuel, I met the same problem with you. ''tap2:aio:/home/xen/domains/lucid/disk.img,xvda1,w'' is OK. But when using ''tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img,xvda1,w'' ,have no luck!!And the error message is as same as yours. my system info is as follows: xen version:xen-4.2-unstable dom0 kernel:2.6.40 dom0 OS type: centos-5.5(x86_64) domU type:PV I have googled weeks,but have no constructive results. Have you addressed this problem and how? best regards~ -- View this message in context: http://xen.1045712.n5.nabble.com/tap2-remus-backup-ip-9000-aio-path-to-disk-img-not-working-OSError-Errno-2-No-such-file-or-directory-tp3312775p4736626.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Reasonably Related Threads
- [Q] VmError: Disk isn''t accessible with tap2:tapdisk:vhd
- Cant create new VM: Error -> ERROR (XendDomainInfo:445) VM start failed
- [PATCH][TOOLS] pygrub: cleanup and support for NetBSD
- DomU won''t start on 3.4.2
- How to solve "Error: Boot loader didn't return any data"