The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
15 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 ...
0
votes
0answers
123 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
125 views

SATA drives not going to sleep on debian wheezy - only hdparm -y works

I have several WD Green and one Seagate Barraccuda drive in my home-server (Intel H81 platform). Recently I noticed that none of them is going to standby anymore. They've been running for weeks now. I ...
1
vote
0answers
143 views

hdparm does not report a Security section

I have a Kingspec PATA SSD that I want to erase the data on using secure_erase, but any attempts to use hdparm results in an Input/output error. # hdparm --security-erase NULL /dev/sda ...
0
votes
0answers
64 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 ...
1
vote
1answer
1k 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 ...
1
vote
0answers
163 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 ...
0
votes
0answers
75 views

hdparm slow on LVM

I have a ec2 ubuntu with some EBS volumes and a LVM with three EBS. When i hdparm on a single EBS volume i am getting: sudo hdparm -Tt /dev/xvdb /dev/xvdb: Timing cached reads: 12522 MB in 1.99 ...
0
votes
0answers
424 views

are APM levels (hdparm -B) and spin-down time (hdparm -S) different?

The man page referenced in this answer indicates that hdparm -S sets the spin-down time, while -B sets the APM level, and also suggests that -B is a hardware thing (implying -S is software?) However, ...
0
votes
1answer
269 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
0answers
135 views

Sleep hard disk after X minutes of idle

I want to make two drives sleep after 15 minutes of idle (sdb and sdc) on Linux Arch. I have the idea that hdparm should be able to help me. I can put the disks into standby (hard disk spins down, ...
0
votes
1answer
1k 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
1answer
135 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 ...
2
votes
0answers
2k 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, ...
0
votes
2answers
2k 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 ...
1
vote
0answers
270 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 ...
0
votes
0answers
116 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
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 ...
5
votes
2answers
7k 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‐ ...
0
votes
1answer
633 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: [ ...
1
vote
0answers
188 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 ...
3
votes
1answer
254 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
2k 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
3
votes
1answer
1k 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 ...
1
vote
0answers
1k 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
479 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 ...
2
votes
2answers
1k 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 ...