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 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?) > > The iscsi layer does not do anything special to support trim/discard. We just > pass whatever info we have to upper layers and passes commands down to the > target/disks. > > Does your disk support trim/discard? Are you doing passthrough to a disk that > support trim/discard or is lio emulating it? When you run fstrim what errors do you see in /var/log/messages? Do you see something about a ILLEGAL_REQUEST maybe? -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-iscsi@googlegroups.com. To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.