Skip to content

Incorrect drive power state reading? #53

@tjurcak

Description

@tjurcak

I am following the help guide and testing the script, but I am noticing that drive power state is always "1", even when the drive is in standby. Attaching example where the state shows '1' immediately after the drive was placed to standby mode. When checking hdparm -C directly, I see its correctly reporting drive state as 'standby'.

Script verbose output:
Image

Manual hdparm output:
Image

This then results in standby command issued for a disk that is in standby already. I've tried multiple approaches - disk/pool mode, as well as manual/automatic drive detection (-i / -m), but same behavior across all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions