Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detailed SMART info in disk details #15010

Open
NanoSector opened this issue Dec 5, 2020 · 6 comments
Open

Detailed SMART info in disk details #15010

NanoSector opened this issue Dec 5, 2020 · 6 comments

Comments

@NanoSector
Copy link

Page: Storage -> Disk

Cockpit currently shows just whether a disk is OK or not along its temperature.

I have a drive in my system with reallocated sectors and logged SMART errors, of which smartd continuously spews errors in the log. Naturally I'd like to replace the drive, but I have to resort to a terminal window in order to gather details about my drive. It would be nice if Cockpit showed me more than the drive being "OK" (which it obviously is not).

GNOME Disks has a nice implementation of this, maybe Cockpit could do something similar:
image

@marusak
Copy link
Member

marusak commented Dec 5, 2020

Indeed, but we have this already reported: #1134

@garrett
Copy link
Member

garrett commented Aug 18, 2021

This is about showing SMART information, not necessarily errors. I think we should have both. Showing smart information belongs in the disk details on the storage page.

It could be implemented in steps:

  1. Show high-level status on the disk details page
  2. Have a link for more details, which has a sub-page for the link or an expanded section (progressive disclosure) with the SMART information. (Progressive disclosure probably makes more sense here?)
  3. Have an action to re-trigger SMART scanning (quick/detailed)

@garrett
Copy link
Member

garrett commented Mar 7, 2023

This probably needs design. I'll be happy to do it as soon as a developer's assigned to it or has interest in it... or whenever we add it to our schedule.

@tonyhardcode
Copy link

Would be awesome to view the SMART info on the main Overview page as well 👍

@SchoolGuy
Copy link

@garrett How much effort would the development of this feature be? I on the one hand do desire this feature to be implemented but on the other hand, I am already quite busy with my own project (both at work and home). I am fluent in Python but C is a language I haven't touched so far.

@jelly
Copy link
Member

jelly commented Jul 10, 2024

There is a PR open #19103 for this feature, it's mostly JavaScript as we get the SMART data from udisks over dbus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants