The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
11 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
77 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
76 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
60 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
304 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
90 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 ...
1
vote
0answers
579 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
1k 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
150 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
107 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
2k 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 ...
4
votes
2answers
3k 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
429 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
135 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
197 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
1k 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
1
vote
0answers
916 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
351 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
756 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 ...