0
votes
0answers
20 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
63 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
64 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
29 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
89 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
485 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
103 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
983 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, ...
1
vote
0answers
189 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
108 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
4k 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‐ ...
3
votes
1answer
216 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?
1
vote
0answers
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
389 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
864 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 ...