Questions tagged [sata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
34 views

Linux kernel keeps waking up HDD that was put to sleep via hdparm

(My system is Debian 11 Bullseye + GNOME 3.38.6) I have a Seagate 2TB only for storage purpose, and as it's quite loud I put it to sleep unless I access the storage, using the command: sudo hdparm -Y /...
user avatar
  • 11
0 votes
0 answers
24 views

1 of 6 harddisks gone after wakeup/resume from S3 (suspend to RAM)

For a few days now each time I systemctl suspend (S3/Suspend to RAM) my PC one of the hard disks disappears. There is no /dev/sdb any more, though /dev/sda and /dev/sdc through /dev/sdf remain. It ...
user avatar
  • 7,647
4 votes
3 answers
276 views

Really Remapping Bad Blocks on disk

I have a SATA drive which has a total of 8 bad blocks identified by the badblocks program. Supposedly the drive firmware should be able to remap them and substitute spares. I've run badblocks in -n ...
user avatar
  • 41
0 votes
0 answers
29 views

How to stop (prevent) scsi kthreads (from) handling some SATA ports

My motherboard gets 6 AHCI ports 1, 3 of them being connected (permanently) to SATA disks. Because I would like to use the free ports for other purposes (than connecting SCSI compatible devices), I ...
user avatar
  • 2,850
0 votes
1 answer
42 views

Why must I provide authentication to mount SATA HDDs? Why are they in read-only mode?

I am running Fedora 35 dual booted on a Dell G5-5000, and have two or three HDDs connected via SATA (including the drive that Fedora on). When I attempt to access the drives in Nautilus for the first ...
user avatar
  • 113
0 votes
2 answers
108 views

dual boot Windows and Linux, SATA Mode

I have Windows 10 and Ubuntu 20.04 next to each other, recently I had updated my BIOS version(such a mistake), and couldn't boot any system, so I set up default BIOS version. So now I can load Windows,...
user avatar
0 votes
0 answers
31 views

pci device doesn't shows up

I'm not sure its the right exchange, but I think it is so I go on with that. I currently working on a little project at my free time that requires me to disconnect and connect SATA (or any other SSD ...
user avatar
  • 101
0 votes
1 answer
57 views

Switching a M.2 NVMe card from ahci (SATA) driver to nvme driver on Linux

On a very old laptop (HP 9470m), I have a M.2 NVMe card (WD Blue™ SN550 NVMe™ SS) passing through a NVMe -> SATA converter card to connect to the laptop, as the laptop has no NVMe support. With a ...
user avatar
0 votes
0 answers
221 views

ASmedia SATA controller PCIe card not working on ubuntu

I am having the same issue as this question: ASMedia SATA controller 106x not working under ubuntu However, the answer there did not work for me. I have an ASMedia PCIe SATA card installed, and it ...
user avatar
  • 1
0 votes
1 answer
138 views

How to get a PCIe Mini-SAS card working in Linux?

I can't seem to get this PICe card working and I can't find any info/drivers about it on the internet. All the SATA HDDs in my server are connected using this card which came with the system. It works ...
user avatar
  • 101
0 votes
0 answers
15 views

Drive formatted through USB, plugged in through SATA but no filesystems recognized?

I need to change a drive in my home NAS, and so bought a new WD 2TB drive. Using a WD My Book 111D USB enclosure, I have partitioned, formatted and copied the data of the old drive. Then, I change ...
user avatar
0 votes
2 answers
893 views

ASMedia SATA controller 106x not working under ubuntu

I've added PCIe ASMedia SATA controller to my PC. It's working fine under win10 but not with ubuntu. lspci returned that: 01:00.0 IDE interface: ASMedia Technology Inc. Device 0624 (rev 01) (prog-if ...
user avatar
1 vote
1 answer
436 views

Why doesn't fdisk -l not show all connected drives?

I've found countless threads started by others where they can't boot from a device because they are using the wrong SATA configuration. Let me assure you this is not my issue. I work in an IT dept for ...
user avatar
0 votes
1 answer
47 views

Why the subsystem of a SATA device is scsi?

By doing udevadm info -a /dev/sda we can see something like: looking at parent device '/devices/pci0000:3d/0000:3d:02.0/0000:60:00.0/host6/port-6:0/end_device-6:0/target6:0:0/6:0:0:0': KERNELS==&...
user avatar
  • 391
0 votes
1 answer
121 views

Getting FreeBSD to recognize a 8th SATA drive?

I have a TrueNAS Mini E (running FreeBSD 11.3-RELEASE-p14), which comes pre-configured with seven drives: 4 3.5" for main storage, two SSD caches, and a boot disk. The hardware has two more SATA ...
user avatar
  • 135
1 vote
1 answer
186 views

smartctl questions (newbie) for Silicon Power 1TB caddy USB external HD

OS: MX Linux 19.4 USB external HDD: Silicon Power 1TB HDD (reported as ST1000LM024 HN-M101MBB, size: 931.51 GiB, block size: physical: 512 B logical: 512 B, rotation: 5400 rpm in Quick System Info in ...
user avatar
0 votes
0 answers
9 views

How to make sure if I rescued all the data from a corrupted ext4 partition?

Here's the history log of the partition: https://cloudvyzor.com/logpad/?query&database=sandbox-d306970d9822474714fbfa85aab4af94 sorted with unique entries: https://cloudvyzor.com/logpad/?query&...
user avatar
0 votes
0 answers
87 views

Sata III hard drives not recognized by ECS motherboard caused data corruption of hard drives

I connected two new sata hard drives to my ECS G31T-M9 motherboard. They are mechanical SATA III hdd's 500 GB and 1 TB respectively. Issues started to happen with this 500 GB drive first, the ...
user avatar
1 vote
0 answers
83 views

SATA interface timeout and reset, on exact multiples of 30 minutes, under Linux. Kernel bug?

Frequently my system locks up for perhaps 60 seconds, with the hard drive light illuminated. This is followed by an apparent SATA reset. The system doesn't crash; filesystems are accessible as normal ...
user avatar
1 vote
1 answer
259 views

Check for host protected area and device configuration overlay

I'd like to know whether any sectors on my solid state drive are inaccessible due to the host protected area (HPA) or the device configuration overlay (DCO) Is there a file in /proc/ I can read or ...
user avatar
9 votes
3 answers
3k views

Restoring a very old hard drive

I have an old SATA harddrive with important footage on it. 15 years ago this harddrive "died" on a Windows OS. I saved the HD. Now I am going to plug it back into my Linux OS to see if ...
user avatar
0 votes
1 answer
1k views

HPE MicroServer problem with disks on Proxmox Server (Debian)

I have a problem with disks on HPE MicroServer gen10 plus. My server has 4 1TB HDD disks and 1 SSD NVMe on PCIE for OS. OS is Proxmox Virtual Environment 6.2-4. I do not have any problems with this ...
user avatar
2 votes
2 answers
524 views

change order of SATA and RAID controller when booting linux kernel

I have onboard SATA controller, and also an additional RAID controller card: 00:17.0 SATA controller: Intel Corporation Device a282 ... 04:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID ...
user avatar
0 votes
1 answer
201 views

Follow up questions for using ddrescue with a USB enclosure

I was unable to recover my other account where I originally asked a question, so I'm hoping it's ok that I ask some follow up questions here I'm looking to use ddrescue to clone a failing drive that I ...
user avatar
3 votes
1 answer
1k views

ddrescue with USB Enclosure

I'm about to start a recovery with ddrescue and was wondering if I'm on the right path with these steps. I'm planning to: boot via Ubuntu live USB and use ddrescue disable automount in Ubuntu connect ...
user avatar
0 votes
1 answer
2k views

ataX softreset failed 1st fis failed after switching motherboard

I got these messages for all drives after upgrading motherboard and processor from Intel to AMD Happened on all 5 disks: ata1, ata14, ata2, ata5, ata6 (weirdly there's only 6 sata ports in the ...
user avatar
  • 8,103
0 votes
3 answers
177 views

Replacing old SATA cables. Could the old ones be cause of dmesg errors on HDDs?

Background When I assembled one of my servers with brand new disks WD Red 3TB, I have possibly made grave error in judgement, which was to use one older and one really old SATA (wikipedia) cables. My ...
user avatar
0 votes
1 answer
3k views

How to interpret these smartctl results? Possible solutions?

Do I need to dump my SATA hard disk, based on the following smartctl results? I was frequently getting filesystem errors during boot time and even fsck failed to repair it last time. Then I used a ...
user avatar
4 votes
0 answers
88 views

Why do 5 drives disappear when I scan for them?

I am trying to diagnose why my raid6 array of 20 hard drives stopped working on my ubuntu installation. I noticed that when I tried to force it to start, several drives simply stopped being listed in ...
user avatar
1 vote
0 answers
2k views

Passthrough SATA Controller KVM

Ahoy friends. Currently i use Fedora 31 and KVM to run a few virtual machines, including my storage machine, based on FreeBSD. All the HDDs which are connected to my SATA controller should be passed ...
user avatar
-1 votes
1 answer
348 views

Does Linux 3.1 support Intel Optane?

Does Arch Linux kernel 3.1 support Intel Optane? It boots in my system on SATA. Is there Intel Optane on SATA? Or does Linux 3.1 support any other Optane interface (like NVMe)? It is a digital music ...
user avatar
  • 111
3 votes
1 answer
2k views

How to switch from NVMe to AHCI

I am a beginner and I know that NVMe is new and has advantages over AHCI for SSDs. But, I have one small question? A SATA SSD can talk both AHCI and NVMe and the OS also has drivers for both NVMe ...
user avatar
-1 votes
1 answer
77 views

SATA drive validation

I am trying to validate a drive that supports secure erase in multiple formats. The format is specified in a vendor specific ATA-8 packet. Our technician has solved the issue quite ingeniously by ...
user avatar
0 votes
1 answer
159 views

SATA hard disk not recognized

there seems to be a problem with the hard disk. I just wanted to know if I can fix it somehow or I should throw it away. the problem is that the hard disk is not recognized. https://pastebin.com/...
user avatar
2 votes
2 answers
1k views

How to mount internal drives as a normal user in NixOS?

In for example Thunar I can just click on an external USB drive to mount it under /run/media/$USER/[something]. The fact that the mount point is created dynamically is a great side effect. But for any ...
user avatar
  • 47.1k
2 votes
1 answer
216 views

Why does ATA Secure Erase occur concurrently rather than in parallel with PATA drives?

When issuing the ATA secure erase command via hdparm against multiple SATA (non-SSD) drives it occurs in parallel. However when the same command is issued against PATA drives, it occurs ...
user avatar
  • 309
1 vote
0 answers
219 views

Why does hdparm return 2 differing results when AHCI is enabled and disabled?

When invoking the hdparm command to securely erase devices e.g. ATA SECURE ERASE, the output hdparm -I /dev/sda and hdparm -I /dev/sdb differ with AHCI enabled and disabled. Both devices are SATA ...
user avatar
  • 309
0 votes
0 answers
173 views

dmesg exceptions on connecting 8TB WD SATA drive

On init of the system under systemd the following output is observed from dmesg. I've included a bit before the exception too for context. fdisk -l does not list the new disk. I connected the drive ...
user avatar
  • 1,011
0 votes
1 answer
970 views

Why does hdparm -y not spin down a HDD while the file managed does? (using Ejection option)

A HDD, which is older than 10 years, is getting read using a SATA-to-USB adapter. When using sudo hdparm -y /dev/sdj, the HDD does not shut down. But when using the Eject option in the File Manager, ...
user avatar
  • 1,616
0 votes
1 answer
50 views

Name this feature - automatically move block from a disk type to another?

I am not talking about cache. The main issue for me with cache is at the beginning the first block is searched through the slow disk, then put in cache. I want often read blocks to be definitively on ...
user avatar
  • 454
1 vote
1 answer
4k views

Boot Error: Emask 0X0 SAct 0X0 SErr 0X0 action 0X6 frozen

Where is this error coming from?
user avatar
  • 33
1 vote
0 answers
41 views

Drive emulation at driver level

I would like to emulate a virtual SED at driver level. The goal is to develop/simulate the "firmware" of a drive, and map driver interface commands to an app which would handle interface specific ...
user avatar
  • 11
0 votes
1 answer
564 views

Second 2Tb SATA drive not recognised

I am trying to install an auxiliary/slave SATA hard drive on an Ubuntu PC. The new drive is 2Tb. I am able to install 1T drives however when I try the new 2T disk, it is not recognised. At first I ...
user avatar
0 votes
1 answer
723 views

Can Ubuntu use an EXT4 hard drive through a USB-SATA dock?

I have a linux system with two 3T EXT4 formatted data hard drives in addition to a system SSD. They are not formally raided, I just rsync from one to the other from time to time to keep two copies of ...
user avatar
  • 165
1 vote
0 answers
354 views

Max transfer size in SG_IO/SG_ATA_16

I need to pass a direct, raw ATA request to a hard drive (0x25, READ DMA EXT), to disobey max sector count (long story), and to bypass all possible OS caches, buffers, reorderings et al. ...
user avatar
2 votes
1 answer
5k views

Sata hotplug doesn't work

Can you help me understand, why my SATA hotplug doesn't work? When I plug sata disk, lsblk doesn't change. There is only my system disk /dev/sda. I have linux: $ uname -a Linux Z170-D3H 4.9.0-3-...
user avatar
  • 1,471
2 votes
1 answer
4k views

SATA: what linux kernel drivers are needed for basic support?

I am looking for the basic kernel drivers to enable SATA support. I have a Braswell (Intel SoC) setup and I would like to reduce the number of kernel drivers to a minimum. Does SATA support need the ...
user avatar
2 votes
1 answer
13k views

Disk Error: failed command: READ DMA EXT

I have a fairly old system board from 2010 and two newer hard drives (HGST 6-TB) running CentOS. I repeatedly get the following errors in the dmesg output for each hard drive (proceeded by a loud ...
user avatar
  • 323
0 votes
0 answers
131 views

Any risk using SSD w/ SATA controller w/o TRIM (SATA CMD 06 fails)

All, I have found an incompatibility between my SSDs and my PC, I see atax.00 status: { DRDY ERR } atax.00 error: { ABRT } whenever I try to mkfs.ext4 on these drives. If I attempt to create a RAID ...
user avatar
2 votes
0 answers
889 views

How can I check if sata controller supports hotswap?

Is there a programmatic/generic way to check if sata controller supports howswap? I'd love this question to be generic, so people can apply answer regardless of controller they have. However, in ...
user avatar