Menu

#60 Filed to set option at boot time -m16 with /etc/hdparm.conf

v1.0 (example)
closed-rejected
nobody
6
2014-09-27
2014-09-12
AreYouLoco?
No

I tried to set -m16 to my drive which works from command line but not at boot sequence. Dmesg says nothing. hdparm says:

Fri Sep 12 18:52:24 2014: [....] Setting parameters of disc:
Fri Sep 12 18:52:24 2014: /dev/sda:
Fri Sep 12 18:52:24 2014: setting 32-bit IO_support flag to 1
Fri Sep 12 18:52:24 2014: setting multcount to 16
Fri Sep 12 18:52:24 2014: /dev/sda ... failed!

my /etc/hdparm.conf:

/dev/disk/by-id/ata-ST340212AS_5MQ4LH0A {
acoustic_management = 254
write_cache = on
mult_sect_io = 16
io32_support = 1
}

Proppably the problem is related to '--yes-i-know-what-i-am-doing'

Command:
sudo hdparm -m16 --yes-i-know-what-i-am-doing /dev/sda
runned from terminal seems to work (output), but I want to save setting after each reboot:
/dev/sda:
setting multcount to 16
multcount = 16 (on)

Before Command: R/W multiple sector transfer: Max = 16 Current = 8
After: R/W multiple sector transfer: Max = 16 Current = 16
//hdparm -Ii /dev/sda

I tried specyfing drive by:
-/dev/sda
-/dev/disk/by-id/ata-ST340212AS_5MQ4LH0A
No difference.

HELP!

Discussion

  • AreYouLoco?

    AreYouLoco? - 2014-09-13

    hdparm v9.43

    I've compiled it from official source, made deb package and installed.
    But I think it not depends on version.

     
  • Mark Lord

    Mark Lord - 2014-09-27

    This is a problem with your Linux distro, not hdparm itself. So open a ticket against the distro maintainer instead -- nothing I can do for you here.

     
  • Mark Lord

    Mark Lord - 2014-09-27
    • status: open --> closed-rejected
     

Log in to post a comment.