Questions tagged [hdparm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
159 views

Ubuntu 12.04 LTS - SIL3124 - Hard drive read at 2.5MB/s

I have a headless media server that I’ve been using for several years now. It’s been entirely reliable, but some time ago 2 of the 4 hard drives started running very slowly. The two slow functioning ...
Yunchi's user avatar
  • 111
10 votes
2 answers
11k views

HDD Power-Up in Standby: prevent from spinning up

On my Linux Mint 17.1 system I am using a Western Digital WD20EZRX HDD for backup. To minimize power consumption and to extend drive endurance, I want the HDD to normally be in spun-down standby state,...
Finwood's user avatar
  • 203
0 votes
0 answers
1k views

How do I make HDParm or equivalent settings persist in Windows?

I have a laptop with a harddrive that spins down so aggressively (after ~10s of inactivity) that it causes performance problems in games and various other apps that have frequent but spread out drive ...
Charles Randall's user avatar
2 votes
1 answer
2k views

How identify a Virtual Hard Disk how unique in Linux?

I'm get the Hard Disk serial number with "hdparm, sdparm, /sbin/udevadm and lshw" is possible in a physical drive, but when i use the "Hyper-V" i don't have the serial number. How i can get the ...
Sileno Brito's user avatar
8 votes
1 answer
18k views

What is an alternative to Linux utility hdparm on Windows 8? [closed]

Is there a utility similar to hdparm that can be run natively on Windows 8?
PetaspeedBeaver's user avatar
5 votes
4 answers
29k views

Safe to manually spin down hard drive with hdparm?

I have a laptop with a ssd for primary OS drive, and a large Spinning disk for storage. I currently have an alias I use for manually spinning down the drive when I'm not using it (after umount of ...
Shane's user avatar
  • 183
0 votes
0 answers
2k views

HDPARM Security Erase issue

I have bought a used Agility 3 SSD. And I wanted to wipe out data from my Linux box using hdparm. But it was not OK. Here are the steps I followed: # hdparm --user-master u --security-set-pass 1 /...
Peter's user avatar
  • 319
4 votes
2 answers
13k views

How to set the spin down timeout on WD Green HDDs

My internal WD20EARS disk does not spin down autoamtically. I tried hdparm -S 1 (5 seconds), but nothing happens. I disabled the IntelliPower headparking with wdidle3 from the Ultimate Boot CD. hdparm ...
ManuelSchneid3r's user avatar
2 votes
1 answer
1k views

Why do I need to "hdparm -r" in order to mount a Sony camcorder read/write and why is it dangerous?

When I plug my Sony camcorder into my Linux systems, the file system gets mounted read-only. I cannot simply mount it read-write, I first have to use "hdparm -r0" to make the "device" read-write. Why ...
no.human.being's user avatar
0 votes
1 answer
2k views

Hard disk very slow, failing with more and more errors

Since a couple days, my Seagate Momentus 7200.4 has been failing more and more, possibly because of a power outage. After the "WARNING: Your hard drive is failing" (I'm using fedora), the main symptom ...
Nemo's user avatar
  • 1,134
1 vote
2 answers
13k views

How do I make a USB flash drive writable on Linux? [duplicate]

I want to reformat a SanDisk Cruzer Edge USB flash drive but it appears read-only: $ sudo dd if=/dev/zero of=/dev/sdg dd: failed to open ‘/dev/sdg’: Read-only file system I checked the readonly ...
Jephir's user avatar
  • 1,049
1 vote
2 answers
1k views

Connect a ssd externally such that hdparm is fully supported

I am just trying some hdparm magic with my new ssd (samsung 840 pro). However I don't want to change my drive over and over so it would be great if I could connect it externally to my laptop. I have ...
student's user avatar
  • 465
5 votes
2 answers
20k views

HDPARM Keeps giving Input/Output Error

I've been trying to set the password on my Seagate drive: sudo hdparm --user-master m --security-set-pass pwd /dev/sda I get Issuing SECURITY_SET_Pass command, password="pwd", user=master, mode=...
Glad's user avatar
  • 51
-1 votes
2 answers
4k views

How to run hdparm at startup so that it sets apm to 254?

I downloaded hdparm from here: https://sites.google.com/site/disablehddapm/ and so far it's been great, it successfully stopped rapid increase in load/unload cycle count. The only problem is that I ...
user avatar
5 votes
1 answer
4k views

How do hdparm's -S and -B options interact?

These two options seem confusing. For example: according to the man page -B 254 "does not permit spin-down". However, testing with -B 254 -S 1 the drive does spin down after 5 seconds. -B Query/set ...
user697683's user avatar
0 votes
1 answer
7k views

hdparm -I does not work for logical volumes; HDIO_DRIVE_CMD(identify) failed: Invalid exchange

Does anyone know if hdparm works for logical volumes? [root@qlnx053 home]# pvdisplay --- Physical volume --- PV Name /dev/sdb1 VG Name vg01_sas PV Size ...
dvliman's user avatar
  • 131
29 votes
2 answers
64k views

What do different values of hard drive's Advanced Power Management feature (hdparm -B) affect, except spin-down?

hdparm's -B parameter is documented as: Get/set Advanced Power Management feature, if the drive supports it. A low value means aggressive power management and a high value means better per‐ ...
Petr's user avatar
  • 3,143
1 vote
1 answer
2k views

SET_MAX_ADDRESS failed: Input/output error

I'm having problems with a 2TB drive being visible as a 1TB drive in the BIOS. A little research suggests this is due to HPA. I have booted off a live-CD. The syslog contains the following: [ 2....
fredley's user avatar
  • 3,417
2 votes
1 answer
595 views

How to run hdparm on boot in Slackware linux?

My questions are about running hdparm on boot I have following /etc/hdparm.conf file: /dev/sda { apm = 255 spindown_time = 0 } So, how I can specify hdparm to use this settings from the file?...
proofit404's user avatar
3 votes
1 answer
674 views

Using HDPARM to tune drives

Can HDPARM reallt be used to tune and enhance performance on drives? I've seen tutorials but does it really make a difference?
john math's user avatar
9 votes
1 answer
11k views

hdparm vs /dev/zero in hdd erase

So, what is more secure and why? hdparm --security-erase-enhanced NULL /dev/sdX or dd if=/dev/zero of=/dev/sdx
user149770's user avatar
5 votes
1 answer
4k views

Why is "hdparm -w" considered dangerous?

I have an old disk that often gets stuck in some form of loop, and often I need to perform a full reboot to get it "unstuck", whereupon I had found out about the hdparm -w command. However, its ...
nanofarad's user avatar
  • 649
1 vote
0 answers
3k views

hdparm "Get/set IDE 32-bit IO setting" returns "IO_support =-2130557184 (???)" error

I'm trying to debug my Macbook Air SSD but am getting IO_support errors. hdparm -c /dev/sda /dev/sda: IO_support =-2130557184 (???) hdparm -c0 /dev/sda /dev/sda: setting 32-bit IO_support ...
jonny's user avatar
  • 41
1 vote
0 answers
3k views

slow git performance

I have an older machine with a git repository on it that I use to keep synchronized with svn. I've noticed that with running basic commands like git status, it is ridiculously slow. I was initially ...
Walter's user avatar
  • 1,009
3 votes
2 answers
3k views

Putting an ATA storage device into PIO mode

I'm trying to do make the drive go into PIO mode with hdparm on Linux. hdparm -X pio0 /dev/sdX I have tried about 4-5 disks (PATA & SATA). I always get the same error: SG_IO: bad/missing sense ...
XXL's user avatar
  • 1,469
34 votes
2 answers
76k views

Hdparm - Checking if a drive is spun down

Is there anyway to find out if a hard drive has spun down? I've been using the following command to spin it down after idle time: hdparm -S 120 /dev/hdX However I'm not sure it's working correctly ...
Jason's user avatar
  • 341

1
2