#420 Add smartmontools to Workstation Live
Closed: Deferred to upstream 2 months ago by wtogami. Opened 2 months ago by wtogami.

Please add smartmontools to the standard Workstation Live image.

The Live image is a useful diagnostic tool. If it already contained smartmontools it would save many minutes of time of downloading metadata and installing the package for people who only want to examine the health of the drives.

The #fedora-respins group has included smartmontools in the nightly Workstation Live for the past few months. That has been useful for me in examining the disk health of a large quantity of laptops for a charity group.

smartmontools-7.4-2.fc39.x86_64
2262756 bytes (a little bigger than 2MB)


The GNOME DIsks app has a "SMART Data & Self-Tests" feature that sounds very similar to this and displays pretty granular detail on drive health. Can you please explain your use case for using smartmontools instead? Presumably it is better somehow?

There are apparently multiple different protocols for talking to SMART. Gnome Disks doesn't offer that menu option for my nvme disks in these laptops. This was previously an issue for snartmontools a few years ago but it later learned how to recognize that type of disk.

Long story short it does more.

I was thinking this would be just a command line utility that we could add to the image, but unfortunately it depends on a daemon, smartd. That's a much bigger ask, so I think the answer here should be "no."

I had assumed SMART data was just not available for NVMe devices because Disks didn't support it. Let's focus on getting the functionality into Disks instead. Suggestion: talk to gnome-disk-utility and udisks developers and figure out to which project we need to report a bug.

Found this bug report and the linked udisks issue, which is fortunately fixed. So sounds like udisks can do this already, and it's just a UI issue now...?

I don't think we need to schedule this for a meeting. Adding a daemon is a big ask. I would instead encourage contributions to GNOME Disks to utilize the new NVMe health check APIs in udisks.

Metadata Update from @catanzaro:
- Issue close_status updated to: Won't fix
- Issue status updated to: Closed (was: Open)

2 months ago

Fact correction:
The requested functionality is the ability to use smartctl to query drive health information and start SMART tests. That does not require the separate smartd which exists for the different purpose of long term monitoring.

I agree it would be ideal for gnome disks to learn how to talk to nvme smart. But meanwhile smartctl works now and it isn't a big ask.

I ask that you please reconsider.

Metadata Update from @wtogami:
- Issue status updated to: Open (was: Closed)

2 months ago

smartd is part of the smartmontools package. If the package is installed, then smartd service will be enabled automatically because we have a preset for it here. So this means one more service running for all Fedora Workstation users. So that's why it's a big ask. And the functionality you need is already provided by udisks....

OK I will pursue udisk

Metadata Update from @wtogami:
- Issue close_status updated to: Deferred to upstream
- Issue status updated to: Closed (was: Open)

2 months ago

Login to comment on this ticket.

Metadata