[Bug 1293152] Re: fstrim-all weekly cron generate noise when hdparm isn't installed or on a VM; noisy in VMs
Matthew L. Dailey
matthew.l.dailey at dartmouth.edu
Wed Jun 4 14:41:25 UTC 2014
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
Foundations Bugs, which is subscribed to util-linux in 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
Status in “util-linux” package in Ubuntu:
Fix Released
Status in “util-linux” source package in Trusty:
Fix Committed
Status in “util-linux” source package in Utopic:
Fix Released
Bug description:
Every week, the fstrim-all cron job sends such email alert to the
admin if hdparm isn't available:
hdparm not available, cannot TRIM
The cron job doesn't fail, thanks to LP: #1278048, but those emails
are probably not very useful to the admin.
$ lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
$ apt-cache policy util-linux
util-linux:
Installed: 2.20.1-5.1ubuntu16
Candidate: 2.20.1-5.1ubuntu16
Version table:
*** 2.20.1-5.1ubuntu16 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1293152/+subscriptions
More information about the foundations-bugs
mailing list