[Bug 1293152] Re: fstrim-all weekly cron generate noise when hdparm isn't installed or on a VM

Ewan Mellor 1293152 at bugs.launchpad.net
Mon Mar 17 21:57:13 UTC 2014


My complaint is similar to the original reporter, but not the same.  I'm
happy to split this into a separate ticket if needs be, but I thought
that keeping them together was appropriate.

I have a VM running on Amazon, and every week I get this mail from
fstrim's cron:

/etc/cron.weekly/fstrim:
HDIO_DRIVE_CMD(identify) failed: Invalid argument
device /dev/disk/by-label/cloudimg-rootfs is not an Intel or Samsung drive
HDIO_DRIVE_CMD(identify) failed: Invalid argument
device /dev/xvdb is not an Intel or Samsung drive


hdparm: 9.43-1ubuntu3
util-linux: 2.20.1-5.1ubuntu14


** Summary changed:

- fstrim-all weekly cron generate noise when hdparm isn't installed
+ fstrim-all weekly cron generate noise when hdparm isn't installed or on a VM

-- 
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

Status in “util-linux” package in Ubuntu:
  Confirmed

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