Questions tagged [hdparm]

hdparm is a command-line tool on Unix/Linux platforms used to adjust or inspect hard drive configuration parameters.

39 questions
0
votes
1 answer

Why does udevadm not provide me a disk serial number when hdparm can?

Compare: root@home:~# hdparm -I /dev/sdb | grep Serial Serial Number: WCJ025C8 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0 root@home:~# to: root@home:~# udevadm info -a…
Brad
  • 279
  • 2
  • 10
0
votes
2 answers

how to know what is disk uuid for md raid1 and hdparm?

ive got md0 (raid 1) array and want to make write cache off on them during system boot (ubuntu 12.04 server). md0: /dev/sda /dev/sdc blkid: /dev/sda: UUID="3e502de5-696d-f4b4-470e-XXX" TYPE="linux_raid_member" /dev/sdb1:…
MealstroM
  • 1,517
  • 1
  • 16
  • 31
0
votes
1 answer

Disk is spinning down each minute, unable to disable it

I played with spindown and APM settings of my Samsung discs and now they spin down every minute. I want to disable it, but it seems it does not accept any of the spindown time or APM values. Nothing works, it's all the same. Please help what values…
lzap
  • 2,704
  • 2
  • 22
  • 22
0
votes
0 answers

Open Source Utility to send ATA Commands from WinPE

I know there are Linux utility to sent commands to drives, like hdparm. Is there no Windows equivalent to do so? I understand it's only accessible through WinPE as per…
0
votes
1 answer

"hdparm -s 1" on USB disk -> bricked? - USB drive is on power on in standby mode which cannot be reverted with hdparm

I have a disk which was apparently put into PUIS mode with hdparm. As the disk does not spin up on power on automatically, I think I need to send it directly to the USB device (which is not even recognized as the device doesnt turn on) I think this…
Questi
  • 3
  • 3
0
votes
0 answers

How to automatically turn off write cache after the kernel "hard resetting link"

I turned off write caching on an SATA drive using hdparm -W0 $DEV Now, sometimes, the kernel decides, it's a good idea to hard reset an SATA link in order to get communication to a drive back up and running (maybe it is a good idea, won't judge it…
Bodo Thiesen
  • 161
  • 1
  • 4
0
votes
0 answers

Avoiding the PBA password prompt

I have an Ubuntu system which boots from a small NVME disk using software encryption, TPM, etc. to mitigate against data loss in case of theft. The system is interfaced with customised PCIe hardware to record data (possibly very large quantities of…
fishter
  • 101
  • 2
0
votes
1 answer

Unlock SATA SSD locked with Dell's HDD password option in BIOS

Latest problem is a locked SATA disk. It is a Samsung 870 QVO SSD. It has been locked a long time ago with the Dell BIOS password utility. But because an admin password was set, the system never prompted the disk password. The admin password is…
-1
votes
1 answer

linux "hdparm -B" what is a good power management value?

I run a home server with Linux (ubuntu). Data (not the os, not swap, not /home) is stored on a large software RAID5 array. The server is on 24/7, but to reduce noise I would like the raid drives to spin down automatically after about 10 minutes when…
Jost
  • 31
  • 2
1 2
3