GNOME Bugzilla – Bug 757784
S.M.A.R.T not supported for USB disks (that smartmonctl can handle fine) ?
Last modified: 2018-05-24 10:34:47 UTC
Hi! I noticed that gnome-disk-utility (both 3.16 and 3.18.2) does not allow me to view or tweak S.M.A.R.T. status and settings of disks connected through USB. It's surprising to me because smartmonctl itself seems to be able to access S.M.A.R.T through USB just fine; it is both available and enabled: # sudo smartctl --info /dev/disk/by-id/usb-.......... | tail -n 11 User Capacity: 320,072,933,376 bytes [320 GB] Sector Size: 512 bytes logical/physical Rotation Rate: 7200 rpm Form Factor: 2.5 inches Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ATA8-ACS T13/1699-D revision 6 SATA Version is: SATA 2.6, 3.0 Gb/s (current: 3.0 Gb/s) Local Time is: Sun Nov 8 18:18:20 2015 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled What I can I do to make gnome-disk-utility support S.M.A.R.T for a disk like that? Thanks and best, Sebastian
This bug is tracked for Ubuntu 14.04 LTS Trusty Tahr at https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1540110 Following is the bug report summary: nome-disk-utility (show as "Disks" on the desktop environment running Unity) systematically does not acknowledge that disks have SMART capabilities when connected through a USB port; SMART capabilities are grayed. However, 'sudo smartctl -a /dev/<disk>' works fine confirming that there is no problem reading SMART data through a USB link. gnome-disk-utility acknowledge SMART capabilities if the same disk is connected through a SATA port. Confirmed for Ubuntu 14.04 LTS Trusty Thar on 2016-01-26, gnome-disk-utility 3.10.0, udisks 2.1.3 (built against 2.1.3) by Hans Deragon.
A user posted in #bugs pointing to these (thanks!), which may indicate it's not GNOME Disks at fault here; see this report for udisks and these comments therein: https://github.com/storaged-project/udisks/issues/423#issuecomment-335932972 bhack commented an hour ago I think that ret == 0 is wrong. See https://github.com/storaged-project/udisks/blob/master/src/tests/dbus-tests/test_drive_ata.py#L16. See the official exit status bhack commented 37 minutes ago • edited Also on some type of disks you need to pass -d option Edit: Probably default device type auto is enough for the latest releases
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-disk-utility/issues/39.