[Bug 1281202] Re: weekly fstrim cron job reports errors
latimerio
1281202 at bugs.launchpad.net
Wed Jun 18 06:48:53 UTC 2014
*** This bug is a duplicate of bug 1276941 ***
https://bugs.launchpad.net/bugs/1276941
Just found that the problem is possibly not originating from fstrim.
As hdparm -I /dev/sda reports the error
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 ... I suppose fstrim is just passing the error.
I doubt that it is a real error as my ubunt is a VM with vmfs disk.
Thus fstrim should be silent about the missing sense data at least when the disk has no TRIM capability at all.
--
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/1281202
Title:
weekly fstrim cron job reports errors
Status in “util-linux” package in Ubuntu:
Confirmed
Bug description:
Every week I get an email from cron with error output from the
/etc/cron.weekly/fstrim job:
/etc/cron.weekly/fstrim:
HDIO_DRIVE_CMD(identify) failed: Invalid argument
device /dev/md0 is not an Intel or Samsung drive
SG_IO: bad/missing sense data, sb[]: 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
device /dev/sdf1 is not an Intel or Samsung drive
It's true that those block devices are not Intel nor Samsung SSDs
(though /dev/sdc is an Intel SSD), but I don't think fstrim-all should
be printing a warning in this case.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: util-linux 2.20.1-5.1ubuntu14
ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2
Uname: Linux 3.13.0-8-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.2-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Feb 17 12:23:49 2014
EcryptfsInUse: Yes
SourcePackage: util-linux
UpgradeStatus: Upgraded to trusty on 2014-01-23 (25 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1281202/+subscriptions
More information about the foundations-bugs
mailing list