Questions tagged [sata]

120 questions
86
votes
6 answers

How can I safely remove a SATA disk from a running system?

I sometimes need to plug a disk into a disk bay. At other times, I have the very weird setup of connecting a SSD using a SATA-eSATA cable on my laptop while pulling power from a desktop. How can I safely remove the SATA disk from the system? This…
Lekensteyn
  • 20,173
  • 18
  • 71
  • 111
30
votes
4 answers

What is "horkage"?

There are a lot of constants in the Kernel named with HORKAGE, ATA_HORKAGE_ZERO_AFTER_TRIM ATA_HORKAGE_NODMA ATA_HORKAGE_ATAPI_MOD16_DMA ATA_HORKAGE_NO_DMA_LOG ATA_HORKAGE_NO_ID_DEV_LO ATA_HORKAGE_NO_LOG_DIR ATA_HORKAGE_WD_BROKEN_LPM However,…
Evan Carroll
  • 28,578
  • 45
  • 164
  • 290
21
votes
2 answers

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 transceivers to generate high speed signals for SATA or…
Paebbels
  • 513
  • 1
  • 3
  • 15
20
votes
4 answers

Given a kernel ATA exception, how to determine which physical disk is affected?

I woke up this morning to a notification email with some rather disturbing system log entries. Dec 2 04:27:01 yeono kernel: [459438.816058] ata2.00: exception Emask 0x0 SAct 0xf SErr 0x0 action 0x6 frozen Dec 2 04:27:01 yeono kernel:…
user
  • 28,161
  • 13
  • 75
  • 138
17
votes
3 answers

Does a bad sector indicate a failing disk?

My Ubuntu 13.10 system has been performing very poorly over the last day or so. Looking at the kernel logs, it appears that the <1yr old 3TB SATA disk is having issues with a particular sector: Nov 4 20:54:04 mediaserver kernel: [10893.039180]…
MrNorm
  • 343
  • 1
  • 3
  • 7
14
votes
4 answers

Names for ATA and SATA disks in Linux

Assume that we have two disks, one master SATA and one master ATA. How will they show up in /dev?
oneat
  • 1,022
  • 3
  • 12
  • 20
12
votes
1 answer

Why do my SATA devices show up under /proc/scsi/scsi?

I have 3 SATA devices on my system. They show up under /proc/scsi/scsi, although these are not SCSI devices. Why do my SATA devices show up under the SCSI directory? $ cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 …
Stefan Lasiewski
  • 19,264
  • 24
  • 70
  • 85
11
votes
4 answers

How to map ataX.0 identifiers in kern.log error messages to actual /dev/sdY devices?

Consider following kern.log snippet: ata4.00: failed command: WRITE FPDMA QUEUED ata4.00: cmd 61/00:78:40:1e:6c/04:00:f0:00:00/40 tag 15 ncq 524288 out res 41/04:00:00:00:00/04:00:00:00:00/00 Emask 0x1 (device error) ata4.00: status: {…
maxschlepzig
  • 56,316
  • 50
  • 205
  • 279
10
votes
1 answer

Unclaimed device in lshw

I have added in my computer a PCI Express controler card with 2 USB3 ports and 2 sata3 ports. (http://www.ldlc.be/fiche/PB00121886.html). The USB ports are working correctly but the HDD plugged in the sata port is not appearing in the devices. I ran…
Ultraspider
  • 3,043
  • 4
  • 16
  • 9
9
votes
3 answers

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 the drive picks up in lsblk. My question is what should I…
powerhousemethod
  • 435
  • 9
  • 25
8
votes
2 answers

Match PCI address of SATA controller and SCSI address of attached disks

I have a PCI-attached SATA controller connected to a (variable) number of disks on a machine with a Linux 2.6.39 kernel. I am trying to find the physical location of the disk, knowing the PCI address of the controller. In this case, controller is at…
Inductiveload
  • 297
  • 1
  • 3
  • 10
8
votes
3 answers

LVM with SSD and SATA hard disks

Is it possible to create LVM partitions for both SSD and SATA hard disks? I mean if there isn't any conflicts.
Zim3r
  • 225
  • 4
  • 8
8
votes
4 answers

How can I tell if my hard drive is PATA or SATA?

I have an ATA hard disk in my laptop, running Fedora 11, kernel 2.6.30.10-105.2.23.fc11.i586. I am looking to upgrade the disk in here (would love to get an SSD) but I forgot if it's a serial ATA or an old parallel ATA interface. There's not much…
Josh
  • 8,311
  • 12
  • 54
  • 73
8
votes
2 answers

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. QUESTION: How do I check if a drive supports…
Konrad Gajewski
  • 437
  • 5
  • 14
6
votes
1 answer

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 software that deals with pen drive and other USB…
Nic61629
  • 115
  • 1
  • 2
  • 6
1
2 3 4 5 6 7 8