Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sata]

The tag has no usage guidance.

2
votes
1answer
51 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
57 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
34 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
0answers
13 views

ICH10: Large disk support?

I have a Fujitsu RX200 S5 server with an Intel ICH10 82801JI SATA controller that I'd like to use. However, I'm unable to find conclusive information about support for disks with 2 TByte and more. Are ...
0
votes
1answer
172 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
0answers
20 views

How do I know if a device is still responsive?

An internal optical drive sometimes ceases to work on an external SATA adapter, connected via USB. If I connect it, it sometimes freezes forever (until powered off). What is a Linux command that ...
0
votes
1answer
36 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 ...
-1
votes
1answer
579 views

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

Where is this error coming from?
1
vote
0answers
35 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
0answers
174 views

USB UAS - USB3.0-SATA SSD write throughput slowdown after reconnect

I'm working with a USB3.0-SATA enclosure, with a JMS567 chipset, connected to a Kingston SSD. The USB host controller is a DWC Superspeed USB3.0 with associated PHY, and the host system is a MIPS-...
0
votes
1answer
148 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
299 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
113 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
2k 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
1k 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
8k 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
89 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 ...
3
votes
0answers
470 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
298 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
574 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
313 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
138 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
5k 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 ...
1
vote
1answer
458 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
132 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
50 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
512 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
175 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
0answers
204 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: ...
6
votes
1answer
785 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
78 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
200 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
202 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 ...
2
votes
2answers
10k 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
4k 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
13k 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
883 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
187 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
704 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 ...
1
vote
3answers
3k 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
217 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 ...
1
vote
1answer
557 views

Custom Kernel to Disable SATA and USB Devices

I am setting up diskless clients that will run on an internal network. I have disabled SATA and USB ports using a BIOS locked with a password, but this is easy to get around by using the jumper to ...
3
votes
2answers
7k views

ATA error: COMRESET failed (errno=-32)

Today I boot my laptop (HP pavilion dv6) running debian 7, and the window manager won't start. I just get over and over again errors as: [###.######] ata6: COMRESET failed (errno=-32) [###.######] ...
4
votes
1answer
845 views

Boot delay due to non-existent SATA disk

My ASUS M4A87TD EVO board has two on-board disk controllers, one of them is a JMicron JMB361 with one old IDE disk connected. When I boot Arch Linux, it shows in the system journal like this: Nov 02 ...
4
votes
1answer
2k views

Possible issues with SSD SATA3 drive

While investigating the issue with my SATA3 SSD drive being recognized as SATA2 (for some reason had to change SATA ports to fix it) I noticed the following messages when I run: $ dmesg | grep ata3....
0
votes
2answers
787 views

Linux dmesg errors, motherboard issue?

When doing heavy disk IO on my system (16GB RAM, 6 cores, RAID0 PCIe SSD), the system stalls and eventually crashes. Normal day-to-day disk IO is fine, just prolonged read/write such as a database re-...
3
votes
0answers
940 views

The proper way to turn off an external sata encolsure?

I have an e-sata external enclosure with a port expander and 4 sata disks in it that I use for periodic backups. I have what I think is a sound method for powering it off, but not sure if it is the ...
3
votes
1answer
11k views

Is there a way to change a device id in /dev/disk/by-id?

I have a S2 SAMSUNG 320GB USB-HDD which I use in both Ubuntu 13.10 (Kernel 3.11.0-17-generic) and Fedora 17. It works fine; I can read/write from/to them. Although, I am experiencing an issue with a ...