Skip to content

failed to start rockstor hdparm settings #1752

@phillxnet

Description

@phillxnet

An as yet unidentified system package update seems to have broken (on some systems) the rockstor-hdparm.service that enacts custom Web-UI configured drive spin down time and APM levels during boot.

journalctl -u rockstor-hdparm.service
hpp systemd[1]: Starting Rockstor hdparm settings...
hpp hdparm[1727]: /dev/disk/by-id/ata-SAMSUNG_HM160HI_S1WWJ9BZ408430: No such file or directory
hpp systemd[1]: rockstor-hdparm.service: main process exited, code=exited, status=2/INVALIDARGUMENT
hpp systemd[1]: Failed to start Rockstor hdparm settings.
hpp systemd[1]: Unit rockstor-hdparm.service entered failed state.
hpp systemd[1]: rockstor-hdparm.service failed.

It was found that if the same rockstor-hdparm.service file was executed later in the boot process it would succeed:

journalctl -u rockstor-hdparm.service
...
hpp systemd[1]: Starting Rockstor hdparm settings...
hpp systemd[1]: Started Rockstor hdparm settings.

A pull request to address this issue is under development.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions