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 >

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 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/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-30 Thread Michael Christie
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 failed: Operation not su

Re: Cannot do FITRIM

2012-08-30 Thread Michael Christie
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 failed: Operation not supported > > At LIO side there is nothing in dmesg, so I am supposing

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 you