On 01/01/2011 11:53 AM, Fubo Chen wrote:

I have been looking at related but not identical question: to
replicate local disk to another server via iSCSI and md mirroring
(RAID1, no multipath). While making that setup I noticed that open-
iscsi times out SCSI commands if the network falls away long enough.
Why does open-iscsi initiator make SCSI commands fail instead of
reporting disk removal ?


I just sent a patch to make this configurable
http://groups.google.com/group/open-iscsi/browse_thread/thread/6737d1038ea56454?fwc=2

We did it because many apps could not handle hot add/remove at the time. So if we removed the device, apps could not do anything and were stuck referencing a bad pointer to a stale device struct, and if we later added it apps would get really messed up and not be able to add it to the multipath device or raid dev or whatever dev you are using.

But you know with the disk removal mehtod like in my patch and what FC/SAS drivers do, commands are failed still, right? You get both the IO failures and hotplug remove events.

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

Reply via email to