RE: Use of iSCSI in domU on Oracle VM 2.1.5

From: Matthew Zito <mzito_at_gridapp.com>
Date: Sun, 26 Jul 2009 11:38:05 -0400
Message-ID: <C0A5E31718FC064A91E9FD7BE2F081B101D4B9C1_at_exchange.gridapp.com>


Do you get a kernel oops? or does the box reboot? What happens if you disable the openfiler's export of the disk devices but let the domu instance start the iscsi session?

Thanks,
Matt

--

Matthew Zito
Chief Scientist
GridApp Systems
P: 646-452-4090
mzito_at_gridapp.com
http://www.gridapp.com

-----Original Message-----

From: oracle-l-bounce_at_freelists.org on behalf of Martin Bach Sent: Sun 7/26/2009 7:26 AM
To: oracle-l_at_freelists.org
Subject: Use of iSCSI in domU on Oracle VM 2.1.5  

Hello group,

I am trying to use shared storage exported via iSCSI in a OEL 5.2 32bit domU. It seems that every time I am trying to login to the target I get a kernel panic. I am using Oracle VM 2.1.5, xen 3.1.4 apparently.

The last entries in /var/log/messages of my domU are:

Jul 26 11:44:22 crsnode1 kernel: SCSI subsystem initialized
Jul 26 11:44:22 crsnode1 kernel: Loading iSCSI transport class v2.0-724.
Jul 26 11:44:22 crsnode1 kernel: iscsi: registered transport (tcp)
Jul 26 11:44:22 crsnode1 kernel: iscsi: registered transport (iser)
Jul 26 11:44:22 crsnode1 iscsid: iSCSI logger with pid=5412 started!
Jul 26 11:44:22 crsnode1 kernel: scsi0 : iSCSI Initiator over TCP/IP
Jul 26 11:44:23 crsnode1 kernel:   Vendor: OPNFILER  Model: VIRTUAL-DISK  
   Rev: 0
Jul 26 11:44:23 crsnode1 kernel:   Type:   Direct-Access                  

   ANSI SCSI revision: 04
Jul 26 11:44:23 crsnode1 kernel: Vendor: OPNFILER Model: VIRTUAL-DISK

   Rev: 0
Jul 26 11:44:23 crsnode1 kernel: Type: Direct-Access

   ANSI SCSI revision: 04
Jul 26 11:44:23 crsnode1 kernel: scsi 0:0:0:0: Attached scsi generic sg0 type 0
Jul 26 11:44:23 crsnode1 kernel: scsi 0:0:0:1: Attached scsi generic sg1 type 0
Jul 26 11:44:23 crsnode1 kernel: register_blkdev: cannot get major 8 for sd Jul 26 11:44:57 crsnode1 syslogd 1.4.1: restart.

Straight after the "login" the machine dies.

I googled for the register_blkdev... error which seems to be a common problem with Xen, somehow the dom0 and domU get confused about device names... Almost all documentation and newsgroup posts deal with iSCSI and dom0, but no one seems to use iSCSI inside a domU.

http://www.oracle.com/technology/pub/articles/wartak-rac-vm.html doesn't report any problems either.

Has anyone seen this? All help greatly appreciated.

Best regards,

Martin

--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Sun Jul 26 2009 - 10:38:05 CDT

Original text of this message