Re: Broken pipe on my target. Is there any option on my initiator to fix it?

2015-05-13 Thread Felipe Gutierrez
I am using async option to export me nfs disk. http://unixhelp.ed.ac.uk/CGI/man-cgi?exports This help all writes on the disk to be very fast. On Saturday, May 9, 2015 at 2:05:19 PM UTC-3, Felipe Gutierrez wrote: Hi, I am using jscsi.org target and open-iscsi initiator. Through NFS I can

Re: Broken pipe on my target. Is there any option on my initiator to fix it?

2015-05-13 Thread Donald Williams
Hello Felipe, I'm not sure about anyone else, but I wouldn't expect that tweaking the iSCSI settings you've been talking about will improve this. Have you tested just connecting from server to storage via iSCSI? Take NFS out of the picture. iSCSI is very dependent on the network. What kind

Re: Broken pipe on my target. Is there any option on my initiator to fix it?

2015-05-13 Thread Felipe Gutierrez
Hi Donald, thanks for reply, I realized the my problem was the NFS. The default mode is sync, now I am exporting my NFS async at /etc/export. It is very dangers because I can corrupt my data, but I am gonna put a firewall to these two machines. Thanks again! Felipe On Wed, May 13, 2015 at 6:11

[RFC PATCH 2/4] iscsi: sysfs filtering by network namespace

2015-05-13 Thread Chris Leech
This makes the iscsi_host, iscsi_session, iscsi_connection, and iscsi_endpoint transport class devices only visible in sysfs under a matching network namespace. The network namespace for all of these objects is tracked in the iscsi_cls_host structure. --- drivers/scsi/scsi_transport_iscsi.c |

[RFC PATCH 0/4] Make iSCSI network namespace aware

2015-05-13 Thread Chris Leech
I've had a few reports of people trying to run iscsid in a container, which doesn't work at all when using network namespaces. This is the start of me looking at what it would take to make that work, and if it makes sense at all. The first issue is that the kernel side of the iSCSI netlink

[RFC PATCH 1/4] iscsi: create per-net iscsi nl kernel sockets

2015-05-13 Thread Chris Leech
Prepare iSCSI netlink to operate in multiple namespaces. --- drivers/scsi/scsi_transport_iscsi.c | 67 +++-- 1 file changed, 57 insertions(+), 10 deletions(-) diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index

[RFC PATCH 3/4] iscsi: make all netlink multicast namespace aware

2015-05-13 Thread Chris Leech
Make use of the per-net netlink sockets. Responses are sent back on the same socket/namespace the request was received on. Async events are reported on the socket/namespace stored in the iscsi_cls_host associated with the event. --- drivers/scsi/scsi_transport_iscsi.c | 92

[RFC PATCH 4/4] iscsi: set netns for iscsi_tcp hosts

2015-05-13 Thread Chris Leech
This lets iscsi_tcp operate in multiple namespaces. It uses current during session creation to find the net namespace, but it might be better to manage to pass it along from the iscsi netlink socket. --- drivers/scsi/iscsi_tcp.c| 7 +++ drivers/scsi/scsi_transport_iscsi.c | 7