The tag has no usage guidance.

learn more… | top users | synonyms

9
votes
2answers
13k 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‐ ...
4
votes
2answers
5k 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 ...
4
votes
1answer
4k 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
4
votes
1answer
2k 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 ...
3
votes
1answer
382 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?
3
votes
1answer
4k 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, ...
2
votes
4answers
618 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 ...
2
votes
2answers
2k 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 ...
2
votes
0answers
233 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 ...
1
vote
1answer
2k 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?
1
vote
1answer
42 views

Making HDD to spindown when not mounted but to keep it spinning while mounted

Is it possible to make harddisk spin when it's mounted and to stop spinning when I unmount it? I was finding answers on the internet, but there is not any precise answer for such a question. There is ...
1
vote
1answer
457 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 ...
1
vote
0answers
30 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 ...
1
vote
1answer
445 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 ...
1
vote
1answer
290 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 ...
1
vote
0answers
428 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 ...
1
vote
0answers
2k 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 ...
1
vote
0answers
767 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 ...
0
votes
1answer
590 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 ...
0
votes
2answers
227 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 ...
0
votes
1answer
3k 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 ...
0
votes
0answers
170 views

hdparm setting off write cache fails HDIO_DRIVE_CMD(identify) failed: Invalid exchange

I am trying to set off the write cache using hdparm, but getting errors. It's a VMware, with SLES11-Sp3 installed. IFM-LEICA:/home/insite1 # hdparm -W0 /dev/sdb /dev/sdb: setting drive ...
0
votes
0answers
210 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 ...
0
votes
0answers
458 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 ...
0
votes
0answers
130 views

What is the difference between ATA Secure Erase and Security Erase? How can I ensure they worked?

I'd like to wipe a stack of drives (spinning and SSD) securely. I'm familiar with the ATA Secure Erase (SE) command via hdparm, but I'm not sure if I should use the Security Erase (SE+) command ...
0
votes
1answer
2k views

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

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 ...
0
votes
0answers
124 views

Notebook hd linux compatible (without parking head issue)

Recently I've bought a 2,5" sata hd for my netbook (an acer aspire one but this details is doesn't interest ). I've bought a classic (electromeccanical and not ssd) hard disk. Well, after, I've ...
0
votes
1answer
1k 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: [ ...
0
votes
2answers
3k 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 ...