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

Richard Laager rlaager at wiktel.com
Tue Mar 18 00:04:30 UTC 2014


In a VM with virtio disks, I get this:
# fstrim-all
 HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
device /dev/disk/by-uuid/476e58d4-383c-4885-a988-fc96a79add14 is not a drive that is known-safe for trimming
 HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
device /dev/vdc1 is not a drive that is known-safe for trimming

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