Cannot do FITRIM

2012-08-30 Thread Spelic
Hello all I am trying to fstrim a filesystem on an iSCSI disk through open-iscsi. The target is on LIO . I am receiving: fstrim: /: FITRIM ioctl failed: Operation not supported At LIO side there is nothing in dmesg, so I am supposing it's a open-iscsi problem (lack of feature?) What can

Re: Cannot do FITRIM

2012-08-30 Thread Michael Christie
On Aug 30, 2012, at 11:18 AM, Spelic spe...@shiftmail.org wrote: Hello all I am trying to fstrim a filesystem on an iSCSI disk through open-iscsi. The target is on LIO . I am receiving: fstrim: /: FITRIM ioctl failed: Operation not supported At LIO side there is nothing in dmesg, so I

Re: Cannot do FITRIM

2012-08-30 Thread Michael Christie
On Aug 30, 2012, at 11:49 AM, Michael Christie micha...@cs.wisc.edu wrote: On Aug 30, 2012, at 11:18 AM, Spelic spe...@shiftmail.org wrote: Hello all I am trying to fstrim a filesystem on an iSCSI disk through open-iscsi. The target is on LIO . I am receiving: fstrim: /: FITRIM

Re: Correlating TCP connections with iSCSI connections

2012-08-30 Thread Jeffrey Caughel
That is exactly what I am looking for... peresently I can see something like this: # netstat -anpt snip tcp0 48 192.168.0.155:60480 192.168.0.35:3260 ESTABLISHED 5658/iscsid tcp0 0 192.168.0.155:60452 192.168.0.35:3260

Re: Correlating TCP connections with iSCSI connections

2012-08-30 Thread Jeffrey Caughel
Specifically the source port opened by iscsid on the connecting host is what I can't find anywhere in the iscsi information. On Tuesday, August 28, 2012 3:39:16 PM UTC-7, Jeffrey Caughel wrote: In order to further dig into performance issues we're seeing, I am trying to correlate individual

problem in sharing disk through iscsi

2012-08-30 Thread shivraj dongawe
I am new to iscsi. I had one problem. I am using a NetbSD target for getting storage through iscsi protocol. I want to access this storage from two remote machines(primary and secondary). From one machine(primary) i have mounted this storage in read right mode and from another remote

Re: Correlating TCP connections with iSCSI connections

2012-08-30 Thread Mike Christie
Ok. Let me try to get to this over the weekend. On 08/28/2012 07:29 PM, Jeffrey Caughel wrote: That is exactly what I am looking for... peresently I can see something like this: # netstat -anpt snip tcp0 48 192.168.0.155:60480 192.168.0.35:3260 ESTABLISHED

Re: problem in sharing disk through iscsi

2012-08-30 Thread Mike Christie
On 08/29/2012 12:17 AM, shivraj dongawe wrote: I am new to iscsi. I had one problem. I am using a NetbSD target for getting storage through iscsi protocol. I want to access this storage from two remote machines(primary and secondary). From one machine(primary) i have mounted this storage in

Re: problem in sharing disk through iscsi

2012-08-30 Thread Donald Williams
Mike is (of course) correct. When just the iSCSI connection is in place, each host believes it owns the volume exclusively. So when you write to a volume like that, you don't first (or periodically) re-read the volume for updates. Why would you? As far as the host is concerned nothing has

Re: problem in sharing disk through iscsi

2012-08-30 Thread Spelic
On 08/30/12 22:19, Donald Williams wrote: Mike is (of course) correct. When just the iSCSI connection is in place, each host believes it owns the volume exclusively. So when you write to a volume like that, you don't first (or periodically) re-read the volume for updates. Why would you?