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

Add smartctl -d sat #60

Open
lvps opened this issue Oct 15, 2021 · 0 comments
Open

Add smartctl -d sat #60

lvps opened this issue Oct 15, 2021 · 0 comments

Comments

@lvps
Copy link
Member

lvps commented Oct 15, 2021

Right click on the disks in the left table and it displays a context menu (with Upload to Tarallo from #54 and other stuff). Add an option for "set smartctl -d param" or something.
It opens a message box or a window or something, which contains a text box or a dropdown.
In the text box, users can type something like "sat" and the client will send a command like set_smartctl_d_option /dev/sdx sat (send "" or nothing if unset) to the server.
The server will then call `smartctl -d sat ..." when running smartctl.

Rationale: USB to IDE/SATA adapters always require -d sat for the ones we have, smartctl doesn't detect them correctly on its own. Without -d, smartctl fails.

A dropdown with all the possible values could be good, but there are many values and some have multiple parameters (sat does, too: sat,16, sat,12 and sat,auto are also valid). The most common ones would be limiting, there are many values for obscure RAID controllers and I'm sure we'll encounter them at some point, so a text box is probably better.

We could add some text above/below it, saying "try sat if it's a USB-to-something adapter or a USB disk".

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

1 participant