Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If I pull the network connector of an iSCSI device, what happens? Will the "client" automatically connect again if I plug it in again? Is there a timeout?

(in my case I'm talking about a QNAP NAS which provides the iSCSI disk and a Ubuntu Server which mounts it)

share|improve this question

1 Answer 1

up vote 3 down vote accepted

If the network connection dies, the iSCSI initiator will start to see time-outs due to not being able to contact the target. After a certain amount of time, the OS will start to see reads from the disk timing out and cached writes fail to be flushed to the disk. The timeout period where the initiator notices an issue and passes it back up to the SCSI queue is configurable - see http://www.open-iscsi.org/docs/README for the open-iscsi (section 8.1.1).

I believe most initiators will attempt to reconnect to devices that have previously been unreachable. There was an option in Microsoft's s/w initiator to allow a 'non-persistent' connection, but I never really found that particularly useful.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.