On Thu, Jun 14, 2012 at 11:24:54AM +0200, Peter Oberparleiter wrote: > On 14.06.2012 02:46, Grzegorz Powiedziuk wrote: > >d2ora000:~ # fstrim /mnt/thin_test_btrfs/ > >fstrim: /mnt/thin_test_btrfs/: FITRIM ioctl failed: Operation not supported > >d2ora000:~ # fstrim /mnt/thin_test_xfs/ > >fstrim: /mnt/thin_test_xfs/: FITRIM ioctl failed: Operation not supported > [...] > > >/dev/mapper/20017380062aa0048_part1 on /mnt/thin_test_btrfs type btrfs (rw) > >/dev/mapper/20017380062aa0045_part1 on /mnt/test type xfs (rw) > Just a wild guess, but maybe the device mapper targets don't allow > pass-through of the corresponding IOCTL commands. You could try > installing a file system on the bare disk (no LVM) and see if that works.
At least on Debian you need to activate discard by setting "issue_discards = 1" in /etc/lvm/lvm.conf's devices section. Kind regards Philipp Kern ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/