I have tested util-linux 2.20.1-5.1ubuntu20.1 on two systems that were exhibiting symptoms of this bug and can verify that it is fixed in this version. I'll add the verification-done tag to this bug.
Details are below - let me know if anything else is needed. On Dell M610 (mirrored drives on a CERC6i): # lsb_release -rd Description: Ubuntu 14.04 LTS Release: 14.04 Prior to upgrade: # /sbin/fstrim-all SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0b 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # apt-cache policy util-linux util-linux: Installed: 2.20.1-5.1ubuntu20 Candidate: 2.20.1-5.1ubuntu20 Version table: *** 2.20.1-5.1ubuntu20 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status After upgrading: # /sbin/fstrim-all (no output) # apt-cache policy util-linux util-linux: Installed: 2.20.1-5.1ubuntu20.1 Candidate: 2.20.1-5.1ubuntu20.1 Version table: *** 2.20.1-5.1ubuntu20.1 0 500 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.20.1-5.1ubuntu20 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages On VMware ESXi 5.5: # lsb_release -rd Description: Ubuntu 14.04 LTS Release: 14.04 Prior to upgrade: # /sbin/fstrim-all SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # apt-cache policy util-linux util-linux: Installed: 2.20.1-5.1ubuntu20 Candidate: 2.20.1-5.1ubuntu20 Version table: *** 2.20.1-5.1ubuntu20 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status After upgrading: # /sbin/fstrim-all (no output) # apt-cache policy util-linux util-linux: Installed: 2.20.1-5.1ubuntu20.1 Candidate: 2.20.1-5.1ubuntu20.1 Version table: *** 2.20.1-5.1ubuntu20.1 0 500 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.20.1-5.1ubuntu20 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293152 Title: fstrim-all weekly cron generate noise when hdparm isn't installed or on a VM; noisy in VMs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1293152/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs