I haven't seen anything like this before. Upon rebooting:% hdparm
/sbin/hdparm: /sbin/hdparm: cannot execute binary fileThe permissions are fine:ls -l /sbin/hdparm
-rwxr-xr-x 1 root root 105440 Nov 3 02:47 /sbin/hdparmIf I capture its md5sum:% md5sum /sbin/hdparm
321ff7b32611a82c719ec7f7a7b5a67c /sbin/hdparmNow, I reinstall and everything is fine; note the DIFFERENT md5sum:% sudo pa
After removing the init script for hdparm with # update-rc.d hdparm remove, the wish is to re-install/fix/repair the hdparm init script.
Hello everybody!
When on battery, my laptop hard drive makes a tock tock every couple of seconds. Now if you think "this one is easy, hdparm...", wait a second, it gets trickier.
First of all: this is not a hardware issue, I have no problem under Windows 7 (I dual boot) and when the AC cable is plugged in.
HelloAlthough I'm not a fan of dzillions of config files I decided to try systemd.
Disk Utility doesn't.
GParted doesn't.
Parted might (as in, it suggests that it might have that capacity) but I haven't been able to convince it to deliver.
gdisk doesn't.
fdisk doesn't.
cfdisk doesn't.
Testdisk doesn't.
sfdisk doesn't.
Hello,
I want to spin down my external USB drive /dev/sdc as fast as possible:
/etc/hdparm.conf:
Code:
...
/dev/sdc {
spindown_time = 1
}
that works, although I get
Code:
$ sudo hdparm -C /dev/sdc
/dev/sdc:
SG_IO: bad/missing sense data, sb[]: f0 00 01 00 50 40 00 0a 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I just installed a new Intel 330 60 GB SSD into my HP Mini 2140 laptop.
But it's not going as fast as expected and my hdparm results aren't looking very good compared to SSD benchmarks at:
https://wiki.archlinux.org/index.php/SSD_Benchmarking
My results and info are below.
hdparm results:
justin@justin-HP-2140:~$ sudo hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 1130 M
I am able to spindown my SATA HDDs by using
sudo hdparm -y /dev/sdc
The state shown by
sudo hdparm -C /dev/sdc
changes from active/idle to standby (and I can hear the HDD spin down).
However, using
sudo hdparm -S5 /dev/sdc
doesn't spin down the drive after 5*5 = 25secs.
Some additional information:
AHCI is enabled.
I am using Western Digital Green drives.
APM_level = not supported
Fil
I send my hdd to sleep with /sbin/hdparm -S 241 /dev/sd[ab] every day at 8:30 pm. If there's no activity for 30 minutes the drive will enter standby.
At 06:00 am I want to change the 30 minutes to 4 hours.
But when I enter /sbin/hdparm -S 248 /dev/sd[ab] in the morning both drives spin up.