Questions tagged [sata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
239 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 ...
-1
votes
1answer
82 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 ...
1
vote
1answer
76 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 ...
-1
votes
1answer
20 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 ...
0
votes
0answers
37 views

PCIe SATA III Controller card with Software Raid and LUKS/DM-Crypt --> CFQ Scheduler problem

I built a Home-NAS which is running Ubuntu 16.04 LTS and using the motherboard Gigabyte GA-B250M-DS3H with 6 onboard SATA Ports. To connect 2 more harddiscs additionally to the already existing 6 ...
0
votes
1answer
46 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/...
0
votes
1answer
88 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 ...
0
votes
0answers
14 views

Hard drive errors irq_stat frozen on brand new hard drive

I have been getting some odd errors coming up on my dev server and I cant find any advive on how to solve it. The error pushes it way on to terminal no matter what im doing it just pops up in the ...
0
votes
0answers
87 views

Computer fails to suspend: ata1.00: NCQ Send/Recv Log not supported

My Lenovo x230 has been giving me a problem with my Samsung 850 EVO 1TB ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded ...
2
votes
1answer
114 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 ...
1
vote
0answers
134 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 ...
0
votes
0answers
66 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 ...
0
votes
1answer
451 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, ...
0
votes
1answer
40 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 ...
0
votes
1answer
2k views

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

Where is this error coming from?
1
vote
0answers
39 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 ...
0
votes
1answer
253 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 ...
0
votes
1answer
443 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 ...
1
vote
0answers
207 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. ...
1
vote
1answer
3k 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-...
1
vote
1answer
2k 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 ...
2
votes
1answer
9k 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 ...
0
votes
0answers
108 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 ...
2
votes
0answers
658 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 ...
2
votes
1answer
345 views

I am trying to figure out why a Marvell 88C9215 SATA adapter wont work with Slackware

I have a Syba SI-PEX-40064 SATA adapter I am trying to install on a Slackware box with a ASRock G41M-S3 motherboard. After boot, I can see the interface with lspci, but it doesn't seem to have been ...
3
votes
0answers
752 views

Prevent the optical drive to wake up (with noise) after suspend and at startup

Each time I wake up my computer from suspend mode, the cd/dvd player activate and make some noise (it probably checks if there is no cd inside). This happens also at startup. I don't have this ...
3
votes
0answers
376 views

Can a disk be made to identify specific pending sectors?

smartd will happily log messages like this: Sep 2 12:33:59 Watt smartd[438]: Device: /dev/sda, 2 Offline uncorrectable sectors Sep 2 12:34:01 Watt smartd[438]: Device: /dev/sdc, 16 Currently ...
1
vote
0answers
166 views

Manually Select Driver (AHCI/SATA Drive)

I am wondering if there is a way to bypass the default driver when using a SATA Host Bus Adapter (I want it to use my LKM). The other way of doing this is black listing the default driver so mine ...
1
vote
2answers
6k views

List of mount points of external storage devices such as USB keyfobs and SATA external drives, from the cli

I need to list all mount points associates to external storage devices such as USB keyfobs and SATA external drives. The only way I found under Ubuntu, is to call 'mount' and grep for '/media'. But ...
2
votes
1answer
545 views

SATA ssd drives

I have a question regarding the support for SATA ssd drives in the Linux Kernel. I read on the internet that one should enable PCI support for proper usage of the sata drives. Could someone please ...
3
votes
0answers
157 views

monitoring block access to disk

I am looking for a way to monitor access to disk blocks, and to monitor the access as a bitmap of blocks. I also need the capability to freeze (and queue) the device block access (and also to ...
0
votes
1answer
60 views

Low level access to a disk in failure

I have a SATA 2Tb HDD device probably damaged: smart doesn't work, etc. The partitions were built with LVM2. Is it possible, with a low level tool, to retrieve one logical volume (in my case /var) and ...
1
vote
1answer
718 views

How to erase SAS SSD

For SATA SSD, I know that there exists an open source program named hdparm for secure erase by issuing ATA command and this tool has been embedded within linux operating system. For SAS SSD, I want to ...
0
votes
1answer
192 views

Installed Blu-Ray/DVD drive over SATA 3 link, no longer able to boot

I'm having a really weird problem after installing a new Blu-Ray/DVD drive last night into a SATA 3 port on my desktop. My installed Linux distribution (Ubuntu 12.04/elementary Luna/kernel 3.7.5) ...
1
vote
1answer
1k views

SATA link reset

I am getting this error: [ 2614.727471] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xe frozen [ 2614.727477] ata1: irq_stat 0x00000040, connection status changed [ 2614.727481] ata1: ...
1
vote
0answers
242 views

How async_port_probe() call works in linux kernel?

To Understand the SATA device enumeration process I was studying the driver/ata/ata_piix.c which is showing as SATA host driver for my system in the output of lspci command. 00:1f.2 IDE interface: ...
9
votes
1answer
1k views

How to check if a drive supports hotswap?

Not all SATA drives support hot-swap. Especially older models do not seem to work correctly and require the system to be rebooted, despite the fact that the controller works well with newer drives. ...
2
votes
1answer
2k views

Marvell 88SE9128 (9123?) SATA Card Weird Behaviour - OpenSUSE

after no response on the OpenSUSE forum (here: https://forums.opensuse.org/showthread.php/511116-Sata-card-erratic-behaviour-amp-failure-Marvell-88SE9128-(9123-)-Chipset ) I am posing this query to ...
2
votes
3answers
91 views

Hot Removed SATA drive mount remains

After removing a bay mounted SATA connected drive the kernel will most of the time remove the mount. However, sometimes the mount remains even though the disk has been removed. Is there a way to avoid ...
1
vote
0answers
250 views

Why is `smartctl -l xerror` LBA well beyond end of disk?

I ran smartctl -l xerror on a Seagate ST31000528AS (1TB disk with 512-byte sectors), and it gave me (in part): Error 597 [16] occurred at disk power-on lifetime: 11903 hours (495 days + 23 hours) ...
2
votes
0answers
243 views

how to do data scrubbing (i.e. mass storage bit rot mitigation) in linux/unix?

data scrubbing is presented to me as a way to mitigate what is refered to as bit rot (on mass storage). The rationale is that data on hard disks can "decay"/"rot" and hence get corrupted, and to ...
4
votes
2answers
12k views

Drivers for Marvell 88SE9230 SATA controller on Linux

I have just purchased a SuperMicro X10SBA, where i intend to use the onboard Marvell 88SE923 SATA controller for RAID1. Unfortunately SuperMicro has written that RAID is only compatible on Windows ...
1
vote
2answers
5k views

What causes the ata exceptions in my syslog and how to solve them

I have a new system with debian (omv) a SSD hard drive for the OS and a software RAID 6 for the data. I only saw now that I have very regular exceptions in my syslog. I'm worried now, what could ...
13
votes
1answer
15k views

How to (really) disable NCQ in Linux

I implemented my own Serial-ATA Host-Bus-Adapter (HBA) in VHDL and programmed it onto a FPGA. A FPGA is chip which can be programmed with any digital circuit. It's also equipped with serial ...
1
vote
1answer
3k views

Debug ata error messages?

my Centos 6 server has been playing recently in that it seems to freeze up and lose network access. I've been getting a load of ata5 error messages in the log and after some digging have determined ...
5
votes
1answer
999 views

Does ZFS for Linux over stress VirtualBox?

I've been using MD raid + LVM for many years, but recently decided to take a look at ZFS. In order to try it, I created a VirtualBox VM with a similar layout to my main server - 7 'SATA' drives or ...
0
votes
1answer
224 views

How to figure out primary/secondary IDE channel via sysfs (if possible)

Though I've got quite a good basic understanding of sysfs meanwhile, there are still things I cannot solve on my own. For a starter, I'd like to figure out via sysfs (later by scripting of course) ...
1
vote
0answers
790 views

Separating SAS from SATA drives

I have to list all SAS drives and separately list all SATA drives, I'm working on CentOS6 and tried lots of commands which will give some specific information about bus of disks. Let me show you ...
2
votes
3answers
4k views

How to map a sata device name to a physical sata interface for RAID systems

I have a system with 10 SATA ports, and another SATA as the boot disk. The 10 SATA ports make up 5 software RAID1 arrays. The RAID disks may be removed between boots, and swapped in with arbitrary ...
3
votes
2answers
255 views

How to prevent FreeBSD from disconnecting a drive device?

While accessing a drive with high error rates (as, for example, here for opensuse) in FreeBSD, the system eventually disconnects the drive and it disappears from /dev. This makes it impossible to run ...