Bug 859869
Summary: | discrepancy between palimpsest and smartmontools | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Joachim Backes <joachim.backes> | ||||||||
Component: | udisks | Assignee: | David Zeuthen <davidz> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 18 | CC: | davidz, mclasen | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2012-09-24 14:54:36 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Joachim Backes
2012-09-24 08:55:00 UTC
The Disks application (neé Palimpsest) is only the GUI - udisks, udev and the kernel is where this information is from. Please attach (as plain text files) the output of 'udisksctl dump' and 'udevadm info --export-db'. (In reply to comment #1) > The Disks application (neé Palimpsest) is only the GUI - udisks, udev and > the kernel is where this information is from. Please attach (as plain text > files) the output of 'udisksctl dump' See attachment file udsikctl.dump and attachment file udevadm.info Created attachment 616591 [details]
sudo udisksctl dump>udsikctl.dump
Created attachment 616592 [details]
sudo udevadm info --export-db>udevadm.info
Comment on attachment 616591 [details]
sudo udisksctl dump>udsikctl.dump
Please pay attention to the MIME type so the attachment is viewable in the browser.
Comment on attachment 616592 [details]
sudo udevadm info --export-db>udevadm.info
Please pay attention to the MIME type so the attachment is viewable in the browser.
I have to apologize - I simply forgot to choose other filenames :-( > E: ID_ATA_FEATURE_SET_SMART=1
> E: ID_ATA_FEATURE_SET_SMART_ENABLED=0
Actually SMART is disabled for your disk (use e.g. hdparm(8) to enable it) so we are doing the correct thing by not trying to use any of the SMART commands [1] on it. It's subtle but the UI actually says "SMART is not enabled" as opposed to "SMART is not available".
Why does it work this way? Because if SMART is disabled [1] we assume it's disabled for a reason - e.g. to avoid the OS poking and interfering with the drive.
Closing NOTABUG since there things are working as intended.
[1] : SMART is enabled by default on new disks coming out of the factory (for all drives that I've ever seen)
Hi David, sorry, but I don't understand what you wrote! What I did, was "sudo smartctl -s on /dev/sda" and "sudo smartctl -s on /dev/sdb". The man page of smartctl says: -s VALUE, --smart=VALUE Enables or disables SMART on device. The valid arguments to this option are on and off... So using "on" should enable smart for these drives. Still palimpsest is not successful in reading the smart info :-( Additionally, hdparm has no option to enable smart (I scanned the whole "man 8 hdparm" output for smart, and nothing was found! Obviously I'm doing something wrong?less Kind regards Joachim You have to either reboot or do something like this echo change > /sys/block/sda/uevent otherwise the udev database and the rest of userspace is not notified about the change. (In reply to comment #10) > You have to either reboot or do something like this > > echo change > /sys/block/sda/uevent > > otherwise the udev database and the rest of userspace is not notified about > the change. Hi David, thank you very much for this information! Now I can read smart data with palimpsest :-) Kind regards Joachim Glad to hear you can read SMART data. I've now filed https://bugzilla.gnome.org/show_bug.cgi?id=684729 to have a switch button to turn SMART on and off from the GUI. |