Hi I would like to add a second physical disk to my file server. My disk config used to look like this: disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'' ] It works and I can mount my disk as /dev/xvde1 But when I add a second disk like: disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'', ''phy:/dev/sdd,hdc,w'' ] Stuart won''t start. During start up it ends at: XENBUS: Waiting for devices to initialize: 295s... Could you please help me with this problem, I''m stuck and I can''t find any solution. Best regards Joakim Svensson joakim@joasve.se www.joasve.se
This may be completely invalid, but have you tried "hdd" instead? Xen man pages, xl disk configuration, and any other example I have seen always use "hdc" for a cdrom device. On Fri, Apr 20, 2012 at 5:38 AM, Joakim Svensson <joakim@joasve.se> wrote:> Hi > > I would like to add a second physical disk to my file server. > > My disk config used to look like this: > disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'' ] > It works and I can mount my disk as /dev/xvde1 > > But when I add a second disk like: > disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'', > ''phy:/dev/sdd,hdc,w'' ] > Stuart won''t start. During start up it ends at: > XENBUS: Waiting for devices to initialize: 295s... > > Could you please help me with this problem, I''m stuck and I can''t find any > solution. > > Best regards > Joakim Svensson > > joakim@joasve.se > www.joasve.se > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Thanks for your reply but it makes no difference. It is when I try to pass on more then two devices it stops to work. I have tried both file and phy. Best regards Joakim Svensson 20 apr 2012 kl. 20:28 skrev Casey DeLorme <cdelorme@gmail.com>:> This may be completely invalid, but have you tried "hdd" instead? > > Xen man pages, xl disk configuration, and any other example I have seen always use "hdc" for a cdrom device. > > On Fri, Apr 20, 2012 at 5:38 AM, Joakim Svensson <joakim@joasve.se> wrote: > Hi > > I would like to add a second physical disk to my file server. > > My disk config used to look like this: > disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'' ] > It works and I can mount my disk as /dev/xvde1 > > But when I add a second disk like: > disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'', ''phy:/dev/sdd,hdc,w'' ] > Stuart won''t start. During start up it ends at: > XENBUS: Waiting for devices to initialize: 295s... > > Could you please help me with this problem, I''m stuck and I can''t find any solution. > > Best regards > Joakim Svensson > > joakim@joasve.se > www.joasve.se > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Joakim, I am guessing this is a HVM? What is your boot option set to? Shane On Fri, Apr 20, 2012 at 2:29 PM, Joakim Svensson <joakim@joasve.se> wrote:> Thanks for your reply but it makes no difference. > > It is when I try to pass on more then two devices it stops to work. I have > tried both file and phy. > > > Best regards > Joakim Svensson > > > 20 apr 2012 kl. 20:28 skrev Casey DeLorme <cdelorme@gmail.com>: > > This may be completely invalid, but have you tried "hdd" instead? > > Xen man pages, xl disk configuration, and any other example I have seen > always use "hdc" for a cdrom device. > > On Fri, Apr 20, 2012 at 5:38 AM, Joakim Svensson <joakim@joasve.se> wrote: > >> Hi >> >> I would like to add a second physical disk to my file server. >> >> My disk config used to look like this: >> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'' ] >> It works and I can mount my disk as /dev/xvde1 >> >> But when I add a second disk like: >> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'', >> ''phy:/dev/sdd,hdc,w'' ] >> Stuart won''t start. During start up it ends at: >> XENBUS: Waiting for devices to initialize: 295s... >> >> Could you please help me with this problem, I''m stuck and I can''t find >> any solution. >> >> Best regards >> Joakim Svensson >> >> joakim@joasve.se >> www.joasve.se >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >-- Shane D. Johnson IT Administrator Rasmussen Equipment _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi, Shane Thanks for your help My boot option is set to c. I include my config file for stuart. Best regards Joakim Svensson import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' kernel = "/usr/lib/xen-4.0/boot/hvmloader" builder=''hvm'' memory = 3072 name = "stuart" vcpus=4 vif = [ ''mac=0E:00:00:00:00:14,bridge=xenbr0'', ''mac=0E:0E:00:00:00:14,bridge=xenbr1'' ] #disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,ioemu:hdb,w'' ] disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,ioemu:hdb,w'', ''phy:/dev/sdd,ioemu:hdc,w'' ] device_model = ''/usr/'' + arch_libdir + ''/xen-4.0/bin/qemu-dm'' boot="c" sdl=0 vnc=1 vnclisten="192.168.1.6" vncdisplay=20 vncconsole=1 vncpasswd=''s'' On 20 apr 2012, at 23:24, Shane Johnson <sdj@rasmussenequipment.com> wrote:> Joakim, > I am guessing this is a HVM? What is your boot option set to? > > Shane > > > On Fri, Apr 20, 2012 at 2:29 PM, Joakim Svensson <joakim@joasve.se> wrote: > Thanks for your reply but it makes no difference. > > It is when I try to pass on more then two devices it stops to work. I have tried both file and phy. > > > Best regards > Joakim Svensson > > > 20 apr 2012 kl. 20:28 skrev Casey DeLorme <cdelorme@gmail.com>: > >> This may be completely invalid, but have you tried "hdd" instead? >> >> Xen man pages, xl disk configuration, and any other example I have seen always use "hdc" for a cdrom device. >> >> On Fri, Apr 20, 2012 at 5:38 AM, Joakim Svensson <joakim@joasve.se> wrote: >> Hi >> >> I would like to add a second physical disk to my file server. >> >> My disk config used to look like this: >> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'' ] >> It works and I can mount my disk as /dev/xvde1 >> >> But when I add a second disk like: >> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'', ''phy:/dev/sdd,hdc,w'' ] >> Stuart won''t start. During start up it ends at: >> XENBUS: Waiting for devices to initialize: 295s... >> >> Could you please help me with this problem, I''m stuck and I can''t find any solution. >> >> Best regards >> Joakim Svensson >> >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users > > > > -- > Shane D. Johnson > IT Administrator > Rasmussen Equipment > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Joakim, Everything looks fine from what I can see. Only thing that I really have no clue on, is if the phy drives need the ioemu prefix. Maybe someone else who has more experience can give you insight on if that could be the problem. I run mine off LVM and none of mine have that and they work fine. Maybe try removing that and see how it flies. Shane On Fri, Apr 20, 2012 at 3:51 PM, Joakim Svensson <joakim@joasve.se> wrote:> Hi, Shane > > Thanks for your help > > My boot option is set to c. > > I include my config file for stuart. > > Best regards > Joakim Svensson > > > import os, re > arch = os.uname()[4] > if re.search(''64'', arch): > arch_libdir = ''lib64'' > else: > arch_libdir = ''lib'' > kernel = "/usr/lib/xen-4.0/boot/hvmloader" > builder=''hvm'' > memory = 3072 > name = "stuart" > vcpus=4 > vif = [ ''mac=0E:00:00:00:00:14,bridge=xenbr0'', > ''mac=0E:0E:00:00:00:14,bridge=xenbr1'' ] > #disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', > ''phy:/dev/sdb,ioemu:hdb,w'' ] > disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', > ''phy:/dev/sdb,ioemu:hdb,w'', ''phy:/dev/sdd,ioemu:hdc,w'' ] > device_model = ''/usr/'' + arch_libdir + ''/xen-4.0/bin/qemu-dm'' > boot="c" > sdl=0 > vnc=1 > vnclisten="192.168.1.6" > vncdisplay=20 > vncconsole=1 > vncpasswd=''s'' > > > > On 20 apr 2012, at 23:24, Shane Johnson <sdj@rasmussenequipment.com> > wrote: > > Joakim, > I am guessing this is a HVM? What is your boot option set to? > > Shane > > > On Fri, Apr 20, 2012 at 2:29 PM, Joakim Svensson <joakim@joasve.se> wrote: > >> Thanks for your reply but it makes no difference. >> >> It is when I try to pass on more then two devices it stops to work. I >> have tried both file and phy. >> >> >> Best regards >> Joakim Svensson >> >> >> 20 apr 2012 kl. 20:28 skrev Casey DeLorme <cdelorme@gmail.com>: >> >> This may be completely invalid, but have you tried "hdd" instead? >> >> Xen man pages, xl disk configuration, and any other example I have seen >> always use "hdc" for a cdrom device. >> >> On Fri, Apr 20, 2012 at 5:38 AM, Joakim Svensson <joakim@joasve.se>wrote: >> >>> Hi >>> >>> I would like to add a second physical disk to my file server. >>> >>> My disk config used to look like this: >>> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'' >>> ] >>> It works and I can mount my disk as /dev/xvde1 >>> >>> But when I add a second disk like: >>> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', >>> ''phy:/dev/sdb,hdb,w'', ''phy:/dev/sdd,hdc,w'' ] >>> Stuart won''t start. During start up it ends at: >>> XENBUS: Waiting for devices to initialize: 295s... >>> >>> Could you please help me with this problem, I''m stuck and I can''t find >>> any solution. >>> >>> Best regards >>> Joakim Svensson >>> >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >>> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > > > > -- > Shane D. Johnson > IT Administrator > Rasmussen Equipment > > >-- Shane D. Johnson IT Administrator Rasmussen Equipment _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi agin. I have tried both with and without and it makes no difference. I have used this domU for almost a year with one physical disk and it works perfectly. But when I try to add a third disk option it won''t work. I''ve tried to use a Debian iso as cdrom but when it is more than two disk options it won''t start. Joakim On 21 apr 2012, at 00:08, Shane Johnson <sdj@rasmussenequipment.com> wrote:> Joakim, > Everything looks fine from what I can see. Only thing that I really have no clue on, is if the phy drives need the ioemu prefix. Maybe someone else who has more experience can give you insight on if that could be the problem. I run mine off LVM and none of mine have that and they work fine. Maybe try removing that and see how it flies. > > Shane > > > On Fri, Apr 20, 2012 at 3:51 PM, Joakim Svensson <joakim@joasve.se> wrote: > Hi, Shane > > Thanks for your help > > My boot option is set to c. > > I include my config file for stuart. > > Best regards > Joakim Svensson > > > import os, re > arch = os.uname()[4] > if re.search(''64'', arch): > arch_libdir = ''lib64'' > else: > arch_libdir = ''lib'' > kernel = "/usr/lib/xen-4.0/boot/hvmloader" > builder=''hvm'' > memory = 3072 > name = "stuart" > vcpus=4 > vif = [ ''mac=0E:00:00:00:00:14,bridge=xenbr0'', ''mac=0E:0E:00:00:00:14,bridge=xenbr1'' ] > #disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,ioemu:hdb,w'' ] > disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,ioemu:hdb,w'', ''phy:/dev/sdd,ioemu:hdc,w'' ] > device_model = ''/usr/'' + arch_libdir + ''/xen-4.0/bin/qemu-dm'' > boot="c" > sdl=0 > vnc=1 > vnclisten="192.168.1.6" > vncdisplay=20 > vncconsole=1 > vncpasswd=''s'' > > > > On 20 apr 2012, at 23:24, Shane Johnson <sdj@rasmussenequipment.com> wrote: > >> Joakim, >> I am guessing this is a HVM? What is your boot option set to? >> >> Shane >> >> >> On Fri, Apr 20, 2012 at 2:29 PM, Joakim Svensson <joakim@joasve.se> wrote: >> Thanks for your reply but it makes no difference. >> >> It is when I try to pass on more then two devices it stops to work. I have tried both file and phy. >> >> >> Best regards >> Joakim Svensson >> >> >> 20 apr 2012 kl. 20:28 skrev Casey DeLorme <cdelorme@gmail.com>: >> >>> This may be completely invalid, but have you tried "hdd" instead? >>> >>> Xen man pages, xl disk configuration, and any other example I have seen always use "hdc" for a cdrom device. >>> >>> On Fri, Apr 20, 2012 at 5:38 AM, Joakim Svensson <joakim@joasve.se> wrote: >>> Hi >>> >>> I would like to add a second physical disk to my file server. >>> >>> My disk config used to look like this: >>> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'' ] >>> It works and I can mount my disk as /dev/xvde1 >>> >>> But when I add a second disk like: >>> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', ''phy:/dev/sdb,hdb,w'', ''phy:/dev/sdd,hdc,w'' ] >>> Stuart won''t start. During start up it ends at: >>> XENBUS: Waiting for devices to initialize: 295s... >>> >>> Could you please help me with this problem, I''m stuck and I can''t find any solution. >>> >>> Best regards >>> Joakim Svensson >>> >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> >> >> >> -- >> Shane D. Johnson >> IT Administrator >> Rasmussen Equipment >> >> > > > > -- > Shane D. Johnson > IT Administrator > Rasmussen Equipment > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Joakim, Here is a copy from one of mine that is running multiple disks : ''phy:/dev/vg/rasfs,hda,w'', ''phy:/dev/vg/rasfsbu,hdb,w'', ''file:/root/Desktop/IZ.iso,hdc:cdrom,r'', Everything seems like it should work, I did notice that the disk you added you passed through as a complete disk without partitions. I am assuming that your DomU has the partitioning and file system taken care of? Have you looked into your logs to see if there are any clues in there? Shane On Fri, Apr 20, 2012 at 4:29 PM, Joakim Svensson <joakim@joasve.se> wrote:> Hi agin. > > I have tried both with and without and it makes no difference. > > I have used this domU for almost a year with one physical disk and it > works perfectly. But when I try to add a third disk option it won''t work. > I''ve tried to use a Debian iso as cdrom but when it is more than two disk > options it won''t start. > > Joakim > > On 21 apr 2012, at 00:08, Shane Johnson <sdj@rasmussenequipment.com> > wrote: > > Joakim, > Everything looks fine from what I can see. Only thing that I really have > no clue on, is if the phy drives need the ioemu prefix. Maybe someone else > who has more experience can give you insight on if that could be the > problem. I run mine off LVM and none of mine have that and they work fine. > Maybe try removing that and see how it flies. > > Shane > > > On Fri, Apr 20, 2012 at 3:51 PM, Joakim Svensson <joakim@joasve.se> wrote: > >> Hi, Shane >> >> Thanks for your help >> >> My boot option is set to c. >> >> I include my config file for stuart. >> >> Best regards >> Joakim Svensson >> >> >> import os, re >> arch = os.uname()[4] >> if re.search(''64'', arch): >> arch_libdir = ''lib64'' >> else: >> arch_libdir = ''lib'' >> kernel = "/usr/lib/xen-4.0/boot/hvmloader" >> builder=''hvm'' >> memory = 3072 >> name = "stuart" >> vcpus=4 >> vif = [ ''mac=0E:00:00:00:00:14,bridge=xenbr0'', >> ''mac=0E:0E:00:00:00:14,bridge=xenbr1'' ] >> #disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', >> ''phy:/dev/sdb,ioemu:hdb,w'' ] >> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', >> ''phy:/dev/sdb,ioemu:hdb,w'', ''phy:/dev/sdd,ioemu:hdc,w'' ] >> device_model = ''/usr/'' + arch_libdir + ''/xen-4.0/bin/qemu-dm'' >> boot="c" >> sdl=0 >> vnc=1 >> vnclisten="192.168.1.6" >> vncdisplay=20 >> vncconsole=1 >> vncpasswd=''s'' >> >> >> >> On 20 apr 2012, at 23:24, Shane Johnson <sdj@rasmussenequipment.com> >> wrote: >> >> Joakim, >> I am guessing this is a HVM? What is your boot option set to? >> >> Shane >> >> >> On Fri, Apr 20, 2012 at 2:29 PM, Joakim Svensson <joakim@joasve.se>wrote: >> >>> Thanks for your reply but it makes no difference. >>> >>> It is when I try to pass on more then two devices it stops to work. I >>> have tried both file and phy. >>> >>> >>> Best regards >>> Joakim Svensson >>> >>> >>> 20 apr 2012 kl. 20:28 skrev Casey DeLorme <cdelorme@gmail.com>: >>> >>> This may be completely invalid, but have you tried "hdd" instead? >>> >>> Xen man pages, xl disk configuration, and any other example I have seen >>> always use "hdc" for a cdrom device. >>> >>> On Fri, Apr 20, 2012 at 5:38 AM, Joakim Svensson <joakim@joasve.se>wrote: >>> >>>> Hi >>>> >>>> I would like to add a second physical disk to my file server. >>>> >>>> My disk config used to look like this: >>>> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', >>>> ''phy:/dev/sdb,hdb,w'' ] >>>> It works and I can mount my disk as /dev/xvde1 >>>> >>>> But when I add a second disk like: >>>> disk = [ ''file:/xen/stuart/stuart.img,ioemu:hda,w'', >>>> ''phy:/dev/sdb,hdb,w'', ''phy:/dev/sdd,hdc,w'' ] >>>> Stuart won''t start. During start up it ends at: >>>> XENBUS: Waiting for devices to initialize: 295s... >>>> >>>> Could you please help me with this problem, I''m stuck and I can''t find >>>> any solution. >>>> >>>> Best regards >>>> Joakim Svensson >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >>> >> >> >> >> -- >> Shane D. Johnson >> IT Administrator >> Rasmussen Equipment >> >> >> > > > -- > Shane D. Johnson > IT Administrator > Rasmussen Equipment > > >-- Shane D. Johnson IT Administrator Rasmussen Equipment _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users