Dietmar Simons
2006-Nov-23 15:59 UTC
[Xen-users] Xen Dom0 with FibreChannel (FC) can''t export disk to DomU
Hello all, I have a problem with Xen and FibreChannel. The Dom0 can''t export a Disk on a FibreChannel SAN-Box to the DomU''s. In the DomU configuration I try: disk = [ ''phy:/dev/sdb1,/dev/sda1,w'' ] or disk = [ ''file:/mnt/sambashare.img,sda1,w'' ] sambashare.img is a 512MB great Diskimage on a Partition on the FC-SAN-Box, the Dom0 mount this partition on /mnt and the Filesystem is ext3. The Xen Dom0 can mount every Partition on the FC SAN-Box. Some information about my Server: Dell PowerEdge 1950 FC-HBA is a 7104 from LSI 2GB RAM DualCore Xeon Kernel: 2.6.16.29-xen And here the output from lsmod in DomU: [root@samba3-1 modules]# lsmod Module Size Used by ipv6 254048 12 i2c_dev 11908 0 i2c_core 23808 1 i2c_dev binfmt_misc 12808 1 dm_mirror 23120 0 dm_mod 52248 1 dm_mirror snd_intel8x0 33820 0 snd_ac97_codec 93728 1 snd_intel8x0 snd_ac97_bus 6144 1 snd_ac97_codec snd_pcm_oss 51616 0 snd_mixer_oss 20352 1 snd_pcm_oss snd_pcm 88580 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 25860 1 snd_pcm snd 53348 6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 12512 1 snd snd_page_alloc 12808 2 snd_intel8x0,snd_pcm mptsas 23308 0 scsi_transport_sas 19584 1 mptsas mptspi 12552 0 mptfc 16136 0 mptscsih 38608 3 mptsas,mptspi,mptfc scsi_transport_fc 31488 1 mptfc mptbase 51552 4 mptsas,mptspi,mptfc,mptscsih aic79xx 283992 0 scsi_transport_spi 25728 1 aic79xx ide_generic 5120 0 [permanent] sd_mod 20224 0 scsi_mod 129160 9 mptsas,scsi_transport_sas,mptspi,mptfc,mptscsih,scsi_transport_fc,aic79xx,scsi_transport_spi,sd_mod nfs 217164 1 nfs_acl 7552 1 nfs lockd 62600 2 nfs sunrpc 144188 4 nfs,nfs_acl,lockd ohci1394 35888 0 ieee1394 98872 1 ohci1394 parport_pc 40676 0 parport 38344 1 parport_pc And here the boot messages from DomU: INIT: version 2.85 booting Welcome to CentOS release 4.4 (Final) Press ''I'' to enter interactive startup. udev starten: [ OK ] Initialisiere Hardware... Speicher Netzwerk Audio fertig[ OK ] Kernelparameter konfigurieren: [ OK ] Stelle Uhr (localtime) auf: Do Nov 23 16:19:02 CET 2006 [ OK ] Rechnername samba3-1 einstellen: [ OK ] Root-Dateisystem mit Schreib- und Lesezugriff neu einhängen: [ OK ] no block devices found Logical Volume Management einrichten: [ OK ] Can any body help me??? Wish the best Dietmar Simons ________________________________________________ Simons IT-Service Dietmar Simons Matthiasstr. 18a 41468 Neuss Germany Phone +49 2131 15 34 98 Fax +49 2131 15 34 99 Mobil +49 172 253 05 23 Email: dietmar.simons@simons-it-service.de Internet: http://www.simons-it-service.de ________________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2006-Nov-23 16:07 UTC
RE: [Xen-users] Xen Dom0 with FibreChannel (FC) can''t export disk to DomU
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Dietmar Simons > Sent: 23 November 2006 15:59 > To: Xen users mailing list > Subject: [Xen-users] Xen Dom0 with FibreChannel (FC) can''t > export disk to DomU > > Hello all, > > I have a problem with Xen and FibreChannel. > > The Dom0 can''t export a Disk on a FibreChannel SAN-Box to the DomU''s. > > In the DomU configuration I try: > > disk = [ ''phy:/dev/sdb1,/dev/sda1,w'' ] > or > disk = [ ''file:/mnt/sambashare.img,sda1,w'' ]Try disk = [ ''phy:/dev/sdb1,/dev/hda1,w'' ] disk = [ ''file:/mnt/sambashare.img,hda1,w'' ] Respectively, and see if that works - if you haven''t got a SCSI type driver in DomU, your DomU system probably wont have "sdax" devices (where a is an alpha-character, x a number). -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dietmar Simons
2006-Nov-23 17:17 UTC
Re: [Xen-users] Xen Dom0 with FibreChannel (FC) can''t export disk to DomU
Petersson, Mats schrieb:> > > >> -----Original Message----- >> From: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of >> Dietmar Simons >> Sent: 23 November 2006 15:59 >> To: Xen users mailing list >> Subject: [Xen-users] Xen Dom0 with FibreChannel (FC) can''t >> export disk to DomU >> >> Hello all, >> >> I have a problem with Xen and FibreChannel. >> >> The Dom0 can''t export a Disk on a FibreChannel SAN-Box to the DomU''s. >> >> In the DomU configuration I try: >> >> disk = [ ''phy:/dev/sdb1,/dev/sda1,w'' ] >> or >> disk = [ ''file:/mnt/sambashare.img,sda1,w'' ] >> > > Try > disk = [ ''phy:/dev/sdb1,/dev/hda1,w'' ] > disk = [ ''file:/mnt/sambashare.img,hda1,w'' ] > > Respectively, and see if that works - if you haven''t got a SCSI type > driver in DomU, your DomU system probably wont have "sdax" devices > (where a is an alpha-character, x a number). > > -- > Mats > > > >Hi Mats, thanks for your help, and I try it like your description, but nothing. There is no device sdax or hdax. My DomU based on Dom0, there are the same drivers, modules and kernels. LSI Modules call mpt.... (e.g. mptfc) -- Dietmar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dietmar Simons
2006-Nov-23 17:18 UTC
Re: [Xen-users] Xen Dom0 with FibreChannel (FC) can''t export disk to DomU
Petersson, Mats schrieb:> > > >> -----Original Message----- >> From: Dietmar Simons [mailto:info@simons-it-service.de] >> Sent: 23 November 2006 17:00 >> To: Petersson, Mats >> Subject: Re: [Xen-users] Xen Dom0 with FibreChannel (FC) >> can''t export disk to DomU >> >> Petersson, Mats schrieb: >> >> >> >> >> >> -----Original Message----- >> From: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] >> On Behalf Of >> Dietmar Simons >> Sent: 23 November 2006 15:59 >> To: Xen users mailing list >> Subject: [Xen-users] Xen Dom0 with FibreChannel >> (FC) can''t >> export disk to DomU >> >> Hello all, >> >> I have a problem with Xen and FibreChannel. >> >> The Dom0 can''t export a Disk on a FibreChannel >> SAN-Box to the DomU''s. >> >> In the DomU configuration I try: >> >> disk = [ ''phy:/dev/sdb1,/dev/sda1,w'' ] >> or >> disk = [ ''file:/mnt/sambashare.img,sda1,w'' ] >> >> >> >> Try >> disk = [ ''phy:/dev/sdb1,/dev/hda1,w'' ] >> disk = [ ''file:/mnt/sambashare.img,hda1,w'' ] >> >> Respectively, and see if that works - if you haven''t >> got a SCSI type >> driver in DomU, your DomU system probably wont have >> "sdax" devices >> (where a is an alpha-character, x a number). >> >> -- >> Mats >> >> >> >> >> >> Hi Mats, >> >> thanks for your help, and I try it like your description, but >> nothing. There is no device sdax or hdax. >> >> My DomU based on Dom0, there are the same drivers, modules >> and kernels. >> >> LSI Modules call mpt.... (e.g. mptfc) >> > > And I presume you have an initrd to load the relevant drivers? > > -- > Mats > >> -- >> Dietmar >> >> >> > >Hi again, yes of course, I use the same initrd in my Dom0 and DomU -- Dietmar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ulrich Windl
2006-Nov-24 07:29 UTC
Re: [Xen-users] Xen Dom0 with FibreChannel (FC) can''t export disk to DomU
On 23 Nov 2006 at 16:59, Dietmar Simons wrote:> Hello all, > > I have a problem with Xen and FibreChannel.You should says "XEN and Samba". The type of cable should be irrelevant here.> > The Dom0 can''t export a Disk on a FibreChannel SAN-Box to the DomU''s. > > In the DomU configuration I try: > > disk = [ ''phy:/dev/sdb1,/dev/sda1,w'' ] > or > disk = [ ''file:/mnt/sambashare.img,sda1,w'' ] > > sambashare.img is a 512MB great Diskimage on a Partition on the FC-SAN-Box, > the Dom0 mount this partition on /mnt and the Filesystem is ext3. > > The Xen Dom0 can mount every Partition on the FC SAN-Box. > > Some information about my Server: > Dell PowerEdge 1950 > FC-HBA is a 7104 from LSI > 2GB RAM > DualCore Xeon > Kernel: 2.6.16.29-xen > > And here the output from lsmod in DomU: > > [root@samba3-1 modules]# lsmod > Module Size Used by > ipv6 254048 12 > i2c_dev 11908 0 > i2c_core 23808 1 i2c_dev > binfmt_misc 12808 1 > dm_mirror 23120 0 > dm_mod 52248 1 dm_mirror > snd_intel8x0 33820 0 > snd_ac97_codec 93728 1 snd_intel8x0 > snd_ac97_bus 6144 1 snd_ac97_codec > snd_pcm_oss 51616 0 > snd_mixer_oss 20352 1 snd_pcm_oss > snd_pcm 88580 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss > snd_timer 25860 1 snd_pcm > snd 53348 6 > snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer > soundcore 12512 1 snd > snd_page_alloc 12808 2 snd_intel8x0,snd_pcm > mptsas 23308 0 > scsi_transport_sas 19584 1 mptsas > mptspi 12552 0 > mptfc 16136 0 > mptscsih 38608 3 mptsas,mptspi,mptfc > scsi_transport_fc 31488 1 mptfc > mptbase 51552 4 mptsas,mptspi,mptfc,mptscsih > aic79xx 283992 0 > scsi_transport_spi 25728 1 aic79xx > ide_generic 5120 0 [permanent] > sd_mod 20224 0 > scsi_mod 129160 9 > mptsas,scsi_transport_sas,mptspi,mptfc,mptscsih,scsi_transport_fc,aic79xx,scsi_transport_spi,sd_mod > nfs 217164 1 > nfs_acl 7552 1 nfs > lockd 62600 2 nfs > sunrpc 144188 4 nfs,nfs_acl,lockd > ohci1394 35888 0 > ieee1394 98872 1 ohci1394 > parport_pc 40676 0 > parport 38344 1 parport_pc > > And here the boot messages from DomU: > > INIT: version 2.85 booting > Welcome to CentOS release 4.4 (Final) > Press ''I'' to enter interactive startup. > udev starten: [ OK ] > Initialisiere Hardware... Speicher Netzwerk Audio fertig[ OK ] > Kernelparameter konfigurieren: [ OK ] > Stelle Uhr (localtime) auf: Do Nov 23 16:19:02 CET 2006 [ OK ] > Rechnername samba3-1 einstellen: [ OK ] > Root-Dateisystem mit Schreib- und Lesezugriff neu einhängen: [ OK ] > no block devices found > Logical Volume Management einrichten: [ OK ] > > Can any body help me??? > > Wish the best > Dietmar Simons > > ________________________________________________ > > Simons IT-Service > Dietmar Simons > Matthiasstr. 18a > 41468 Neuss > Germany > > Phone +49 2131 15 34 98 > Fax +49 2131 15 34 99 > Mobil +49 172 253 05 23 > Email: dietmar.simons@simons-it-service.de > Internet: http://www.simons-it-service.de > ________________________________________________ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dietmar Simons
2006-Nov-24 09:01 UTC
Re: [Xen-users] Xen Dom0 with FibreChannel (FC) can''t export disk to DomU
Hello, thanks Ulrich for your answer. You have right, it is not the type of cable, but it is the driver! At first, I use the kernel LSI mpt drivers. It doesn''t work, I can''t export an image or a partition from Dom0 to a DomU. Now I get the original LSI drivers from the LSI Homepage and build new fusion/mpt modules for my kernel. What should I say: It works!!!!!! I can now export an image or a partition from Dom0 to a DomU as hdx or sdx. Thanks all for your help Wish all the best Dietmar Simons (Neuss, Germany) Ulrich Windl schrieb:> On 23 Nov 2006 at 16:59, Dietmar Simons wrote: > > >> Hello all, >> >> I have a problem with Xen and FibreChannel. >> > > You should says "XEN and Samba". The type of cable should be irrelevant here. > > >> The Dom0 can''t export a Disk on a FibreChannel SAN-Box to the DomU''s. >> >> In the DomU configuration I try: >> >> disk = [ ''phy:/dev/sdb1,/dev/sda1,w'' ] >> or >> disk = [ ''file:/mnt/sambashare.img,sda1,w'' ] >> >> sambashare.img is a 512MB great Diskimage on a Partition on the FC-SAN-Box, >> the Dom0 mount this partition on /mnt and the Filesystem is ext3. >> >> The Xen Dom0 can mount every Partition on the FC SAN-Box. >> >> Some information about my Server: >> Dell PowerEdge 1950 >> FC-HBA is a 7104 from LSI >> 2GB RAM >> DualCore Xeon >> Kernel: 2.6.16.29-xen >> >> And here the output from lsmod in DomU: >> >> [root@samba3-1 modules]# lsmod >> Module Size Used by >> ipv6 254048 12 >> i2c_dev 11908 0 >> i2c_core 23808 1 i2c_dev >> binfmt_misc 12808 1 >> dm_mirror 23120 0 >> dm_mod 52248 1 dm_mirror >> snd_intel8x0 33820 0 >> snd_ac97_codec 93728 1 snd_intel8x0 >> snd_ac97_bus 6144 1 snd_ac97_codec >> snd_pcm_oss 51616 0 >> snd_mixer_oss 20352 1 snd_pcm_oss >> snd_pcm 88580 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss >> snd_timer 25860 1 snd_pcm >> snd 53348 6 >> snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer >> soundcore 12512 1 snd >> snd_page_alloc 12808 2 snd_intel8x0,snd_pcm >> mptsas 23308 0 >> scsi_transport_sas 19584 1 mptsas >> mptspi 12552 0 >> mptfc 16136 0 >> mptscsih 38608 3 mptsas,mptspi,mptfc >> scsi_transport_fc 31488 1 mptfc >> mptbase 51552 4 mptsas,mptspi,mptfc,mptscsih >> aic79xx 283992 0 >> scsi_transport_spi 25728 1 aic79xx >> ide_generic 5120 0 [permanent] >> sd_mod 20224 0 >> scsi_mod 129160 9 >> mptsas,scsi_transport_sas,mptspi,mptfc,mptscsih,scsi_transport_fc,aic79xx,scsi_transport_spi,sd_mod >> nfs 217164 1 >> nfs_acl 7552 1 nfs >> lockd 62600 2 nfs >> sunrpc 144188 4 nfs,nfs_acl,lockd >> ohci1394 35888 0 >> ieee1394 98872 1 ohci1394 >> parport_pc 40676 0 >> parport 38344 1 parport_pc >> >> And here the boot messages from DomU: >> >> INIT: version 2.85 booting >> Welcome to CentOS release 4.4 (Final) >> Press ''I'' to enter interactive startup. >> udev starten: [ OK ] >> Initialisiere Hardware... Speicher Netzwerk Audio fertig[ OK ] >> Kernelparameter konfigurieren: [ OK ] >> Stelle Uhr (localtime) auf: Do Nov 23 16:19:02 CET 2006 [ OK ] >> Rechnername samba3-1 einstellen: [ OK ] >> Root-Dateisystem mit Schreib- und Lesezugriff neu einhängen: [ OK ] >> no block devices found >> Logical Volume Management einrichten: [ OK ] >> >> Can any body help me??? >> >> Wish the best >> Dietmar Simons >> >> ________________________________________________ >> >> Simons IT-Service >> Dietmar Simons >> Matthiasstr. 18a >> 41468 Neuss >> Germany >> >> Phone +49 2131 15 34 98 >> Fax +49 2131 15 34 99 >> Mobil +49 172 253 05 23 >> Email: dietmar.simons@simons-it-service.de >> Internet: http://www.simons-it-service.de >> ________________________________________________ >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users