Re: Disabling startup on Centos 5.8

2012-11-04 Thread Richard Shaw
Hi, 

Thanks for your help, resolved the issue now.   It had been setup to load 
the kernel modules and mount the target via the initrd image.  

I can't tell you how frustrating that was to diagnose :)

I removed the offending lines, rebuilt the image, then fixed the issue.

Regards

R


On Friday, November 2, 2012 3:42:41 PM UTC, Mike Christie wrote:

 On 11/01/2012 04:19 PM, ric...@aggress.net javascript: wrote: 
  Hi, 
  
  My iSCSI target is broken and I need to disable open-iscsi from starting 
  up as it sits in a loop trying to connect without timing out.   


 Are you sure it does not timeout? The default timeout is long, but it 
 should timeout eventually. Did you change it? 

 What is the errors in the log? 

  
  However.. I'm seemingly unable to do this.. 
  
  I've disabled all services via chkconfig and confirmed in each rc*.d 
  directory 

 Did you chkconfig iscsid and iscsi services? 

  
  Rebooted, it still comes up and tries to connect to the broken node 
  
  I've set node.startup = manual in both /etc/iscsi/iscsid.conf and in the 
  node itself 
  
  I've rm -rf /var/lib/iscsi/* 

 If you do not have any files in there then there is nothing for iscsi to 
 login to. 

 I think Misha might be right. What is in 

 /proc/cmdline 

 ? 



-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/open-iscsi/-/aOQjjReP4mQJ.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



RE: [PATCH 1/2] iscsi_flash_sysfs: Add flash target mgmt support through sysfs.

2012-11-04 Thread Lalit Chandivade
Mike,

The related options are clubbed as a bit map, each bit means something within 
an option.
I am trying to give few examples for each option,

+ FLASH_TGT_OPTIONS,
This is an IPv6 target
This is a discovery target (send target)

+ FLASH_TGT_ISCSI_OPTIONS,
Data Digest is enabled
Header Digest is enabled

+ FLASH_TGT_TCP_OPTIONS,
Disable TCP Scale Window

+ FLASH_TGT_IP_OPTIONS,
Disable Fragmentation

Yes, this approach can setup a discovery portal, the way you tell the 
difference is by looking at the FLASH_TGT_OPTIONS.

Do let us know how to proceed?

Thanks,
Lalit.


 -Original Message-
 From: Mike Christie [mailto:micha...@cs.wisc.edu]
 Sent: Friday, November 02, 2012 5:58 AM
 To: Vikas Chaudhary
 Cc: open-iscsi@googlegroups.com; Lalit Chandivade; Ravi Anand; Adheer
 Chandravanshi
 Subject: Re: [PATCH 1/2] iscsi_flash_sysfs: Add flash target mgmt support
 through sysfs.

 On 10/15/2012 07:01 AM, vikas.chaudh...@qlogic.com wrote:
  +
  +enum iscsi_flash_tgt_properties_enum {


  +   FLASH_TGT_OPTIONS,
  +   FLASH_TGT_ISCSI_OPTIONS,
  +   FLASH_TGT_TCP_OPTIONS,
  +   FLASH_TGT_IP_OPTIONS,

 What are the options? I saw a ipv6 one. What are the rest? Am I am going to
 say, make them generic? :)

 Does this also export/setup discovery portals for send targets discovery?
 How can I tell the difference?


This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.