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 wrote: On Aug 30, 2012, at 11:18 AM, Spelic 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 fai

Re: Cannot do FITRIM

2012-08-31 Thread Michael Christie
On Aug 31, 2012, at 9:55 AM, Spelic wrote: > On 08/30/12 18:51, Michael Christie wrote: >> On Aug 30, 2012, at 11:49 AM, Michael Christie wrote: >> >>> On Aug 30, 2012, at 11:18 AM, Spelic wrote: >>> Hello all I am trying to fstrim a filesystem on an iSCSI disk through open-iscsi.

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 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 passthrough scsi device th

Re: Cannot do FITRIM

2012-08-31 Thread Michael Christie
On Aug 31, 2012, at 11:28 AM, Spelic wrote: > On 08/31/12 17:40, Michael Christie wrote: >> On Aug 31, 2012, at 9:55 AM, Spelic 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 >