Re: Cannot do FITRIM

2012-08-31 Thread Spelic
On 08/30/12 18:51, Michael Christie wrote: 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

Re: Cannot do FITRIM

2012-08-31 Thread Michael Christie
On Aug 31, 2012, at 9:55 AM, Spelic spe...@shiftmail.org wrote: On 08/30/12 18:51, Michael Christie wrote: 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

Re: Cannot do FITRIM

2012-08-31 Thread Spelic
On 08/31/12 17:40, Michael Christie wrote: On Aug 31, 2012, at 9:55 AM, Spelic spe...@shiftmail.org wrote: I don't think LIO supports what you are trying to do. I do not think that it just automatically detects if a lvm device supports discards and then exports that. If you were using a

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