[opensuse] how to determine actual SATA speed ?
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at? I found this: https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed... None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ). The boards have an ICH7R controller which is 3Gbps, so I'm pretty certain about the speed, but surely there is a way to tell? -- Per Jessen, Zürich (4.9°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 21/03/2019 à 10:50, Per Jessen a écrit :
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at?
I found this: https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed...
None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ).
The boards have an ICH7R controller which is 3Gbps, so I'm pretty certain about the speed, but surely there is a way to tell?
# hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 810 MB in 3.00 seconds = 269.92 MB/sec linux-wacn:/home/jdd # hdparm -T /dev/sda /dev/sda: Timing cached reads: 26492 MB in 1.99 seconds = 13291.32 MB/sec linux-wacn:/home/jdd # jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 21/03/2019 11.37, jdd@dodin.org wrote:
Le 21/03/2019 à 10:50, Per Jessen a écrit :
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at?
I found this: https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed...
None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ).
The boards have an ICH7R controller which is 3Gbps, so I'm pretty certain about the speed, but surely there is a way to tell?
# hdparm -t /dev/sda
/dev/sda: Timing buffered disk reads: 810 MB in 3.00 seconds = 269.92 MB/sec linux-wacn:/home/jdd # hdparm -T /dev/sda
/dev/sda: Timing cached reads: 26492 MB in 1.99 seconds = 13291.32 MB/sec linux-wacn:/home/jdd #
That's the actual disk speed, not the bus speed. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
Le 21/03/2019 à 11:47, Carlos E.R. a écrit :
That's the actual disk speed, not the bus speed.
yes. I don't see any way to know *for sure* any interface speed, if you don't trust the maker's notes... apart trying the example I give was caddy ssd, full sata is # hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 1600 MB in 3.00 seconds = 532.77 MB/sec that is 4256 Mbits/s, makes it reasonable to think the bus is 6Gb/s (the caddy is 2152 Mb/s, so 3Gb seems reasonable) jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 21 Mar 2019 10:50:46 +0100 Per Jessen <per@computer.org> wrote:
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at?
I found this: https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed...
None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ).
$ cat /sys/class/ata_link/link*/sata_spd 6.0 Gbps 1.5 Gbps <unknown> <unknown> $ dmesg | grep 'SATA link' [ 1.626512] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 1.626558] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) Leap 15.0
The boards have an ICH7R controller which is 3Gbps, so I'm pretty certain about the speed, but surely there is a way to tell?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dave Howorth wrote:
On Thu, 21 Mar 2019 10:50:46 +0100 Per Jessen <per@computer.org> wrote:
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at?
I found this:
https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed...
None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ).
$ cat /sys/class/ata_link/link*/sata_spd 6.0 Gbps 1.5 Gbps <unknown> <unknown> $ dmesg | grep 'SATA link' [ 1.626512] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 1.626558] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Leap 15.0
Weird, same here, but nothing to be seen: # cat /sys/class/ata_link/link*/sata_spd <unknown> <unknown> # dmesg | grep -i sata [3.552297] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x30b0 irq14 [3.552459] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30b8 irq 15 -- Per Jessen, Zürich (8.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 21/03/2019 12.44, Per Jessen wrote:
Dave Howorth wrote:
$ cat /sys/class/ata_link/link*/sata_spd 6.0 Gbps 1.5 Gbps <unknown> <unknown> $ dmesg | grep 'SATA link' [ 1.626512] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 1.626558] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Leap 15.0
Weird, same here, but nothing to be seen:
# cat /sys/class/ata_link/link*/sata_spd <unknown> <unknown>
cer@Telcontar:~> l /sys/class/ata_link/link*/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link1/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link10/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link11/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link12/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link2/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link3/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link4/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link5/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link6/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link7/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link8/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link9/sata_spd cer@Telcontar:~> cat /sys/class/ata_link/link*/sata_spd <unknown> 3.0 Gbps 3.0 Gbps 1.5 Gbps <unknown> <unknown> <unknown> <unknown> <unknown> <unknown> <unknown> 3.0 Gbps cer@Telcontar:~> But I do not see how to find out what disk is connected where (sda, sdb...) -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On 03/21/2019 07:04 AM, Carlos E. R. wrote:
But I do not see how to find out what disk is connected where (sda, sdb...)
Look at: $ ls -al /dev/disk/by-path That should show the pci to id mapping, e.g. lrwxrwxrwx 1 root root 9 Mar 16 15:30 pci-0000:00:1f.2-ata-1 -> ../../sda lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-1-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-1-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-1-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-1-part4 -> ../../sda4 lrwxrwxrwx 1 root root 9 Mar 16 15:30 pci-0000:00:1f.2-ata-2 -> ../../sdb lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-2-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-2-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-2-part3 -> ../../sdb3 lrwxrwxrwx 1 root root 9 Mar 16 15:30 pci-0000:00:1f.2-ata-3 -> ../../sr0 -- David C. Rankin, J.D.,P.E.
On 21/03/2019 17.46, David C. Rankin wrote:
On 03/21/2019 07:04 AM, Carlos E. R. wrote:
But I do not see how to find out what disk is connected where (sda, sdb...)
Look at:
$ ls -al /dev/disk/by-path
That should show the pci to id mapping, e.g.
lrwxrwxrwx 1 root root 9 Mar 16 15:30 pci-0000:00:1f.2-ata-1 -> ../../sda lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-1-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-1-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-1-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-1-part4 -> ../../sda4 lrwxrwxrwx 1 root root 9 Mar 16 15:30 pci-0000:00:1f.2-ata-2 -> ../../sdb lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-2-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-2-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 10 Mar 16 15:30 pci-0000:00:1f.2-ata-2-part3 -> ../../sdb3 lrwxrwxrwx 1 root root 9 Mar 16 15:30 pci-0000:00:1f.2-ata-3 -> ../../sr0
Yes, sure, but the names I have are: -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link1/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link10/sata_spd -r--r--r-- 1 root root 4096 Mar 21 12:56 /sys/class/ata_link/link11/sata_spd Ok, I found another table: cer@Telcontar:~> l /sys/class/ata_link/link1/subsystem/ total 0 drwxr-xr-x 2 root root 0 Mar 21 18:47 ./ drwxr-xr-x 52 root root 0 Mar 21 14:17 ../ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link1 -> ../../devices/pci0000:00/0000:00:1c.2/0000:04:00.1/ata1/link1/ata_link/link1/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link10 -> ../../devices/pci0000:00/0000:00:1f.2/ata10/link10/ata_link/link10/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link11 -> ../../devices/pci0000:00/0000:00:1f.5/ata11/link11/ata_link/link11/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link12 -> ../../devices/pci0000:00/0000:00:1f.5/ata12/link12/ata_link/link12/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link2 -> ../../devices/pci0000:00/0000:00:1c.2/0000:04:00.1/ata2/link2/ata_link/link2/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link3 -> ../../devices/pci0000:00/0000:00:1c.3/0000:05:00.1/ata3/link3/ata_link/link3/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link4 -> ../../devices/pci0000:00/0000:00:1c.3/0000:05:00.1/ata4/link4/ata_link/link4/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link5 -> ../../devices/pci0000:00/0000:00:1c.2/0000:04:00.0/ata5/link5/ata_link/link5/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link6 -> ../../devices/pci0000:00/0000:00:1c.2/0000:04:00.0/ata6/link6/ata_link/link6/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link7 -> ../../devices/pci0000:00/0000:00:1c.3/0000:05:00.0/ata7/link7/ata_link/link7/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link8 -> ../../devices/pci0000:00/0000:00:1c.3/0000:05:00.0/ata8/link8/ata_link/link8/ lrwxrwxrwx 1 root root 0 Mar 21 18:47 link9 -> ../../devices/pci0000:00/0000:00:1f.2/ata9/link9/ata_link/link9/ cer@Telcontar:~> Now, the other lilst is too long, it includes the partitions: cer@Telcontar:~> ls -la /dev/disk/by-path total 0 drwxr-xr-x 2 root root 1740 Mar 20 22:52 . drwxr-xr-x 8 root root 160 Mar 18 11:17 .. lrwxrwxrwx 1 root root 9 Mar 18 11:17 pci-0000:00:1f.2-ata-1 -> ../../sda lrwxrwxrwx 1 root root 10 Mar 18 11:17 pci-0000:00:1f.2-ata-1-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 11 Mar 18 11:17 pci-0000:00:1f.2-ata-1-part10 -> ../../sda10 lrwxrwxrwx 1 root root 11 Mar 18 11:17 pci-0000:00:1f.2-ata-1-part11 -> ../../sda11 ... So sda is link10. Long matching job. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
21.03.2019 14:44, Per Jessen пишет:
Dave Howorth wrote:
On Thu, 21 Mar 2019 10:50:46 +0100 Per Jessen <per@computer.org> wrote:
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at?
I found this:
https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed...
None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ).
$ cat /sys/class/ata_link/link*/sata_spd 6.0 Gbps 1.5 Gbps <unknown> <unknown> $ dmesg | grep 'SATA link' [ 1.626512] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 1.626558] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Leap 15.0
Weird, same here, but nothing to be seen:
# cat /sys/class/ata_link/link*/sata_spd <unknown> <unknown>
# dmesg | grep -i sata [3.552297] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x30b0 irq14 [3.552459] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30b8 irq 15
This just tells you that controller (probably, ULi) was found. If there are no "SATA link up" messages, are you sure your disks are actually connected to this controller? lspci -nnk ls -l /sys/block/sda ls -l /sys/class/ata_link would be interesting. As well as full dmesg output immediately after boot. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
21.03.2019 14:44, Per Jessen пишет:
# dmesg | grep -i sata [3.552297] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x30b0 irq14 [3.552459] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30b8 [irq15
This just tells you that controller (probably, ULi) was found. If there are no "SATA link up" messages, are you sure your disks are actually connected to this controller?
No, but they are connected to _something_. :-) # l /dev/disk/by-path/ total 0 drwxr-xr-x 2 root root 160 Mar 20 12:00 ./ drwxr-xr-x 6 root root 120 Mar 20 12:00 ../ lrwxrwxrwx 1 root root 9 Mar 20 12:00 pci-0000:00:1f.2-ata-2 -> ../../sda
lspci -nnk
https://files.jessen.ch/output-ls-nnk.txt
ls -l /sys/block/sda
# ls -l /sys/block/sda lrwxrwxrwx 1 root root 0 Mar 20 12:00 /sys/block/sda -> ../devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda
ls -l /sys/class/ata_link
# ls -l /sys/class/ata_link total 0 lrwxrwxrwx 1 root root 0 Mar 20 12:00 link1 -> ../../devices/pci0000:00/0000:00:1f.2/ata1/link1/ata_link/link1 lrwxrwxrwx 1 root root 0 Mar 20 12:00 link2 -> ../../devices/pci0000:00/0000:00:1f.2/ata2/link2/ata_link/link2
would be interesting. As well as full dmesg output immediately after boot.
https://files.jessen.ch/discompi3-dmesg.txt -- Per Jessen, Zürich (7.4°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
21.03.2019 21:31, Per Jessen пишет:
Andrei Borzenkov wrote:
21.03.2019 14:44, Per Jessen пишет:
# dmesg | grep -i sata [3.552297] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x30b0 irq14 [3.552459] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30b8 [irq15
This just tells you that controller (probably, ULi) was found. If there are no "SATA link up" messages, are you sure your disks are actually connected to this controller?
No, but they are connected to _something_. :-)
Your controller runs in IDE emulation mode, so no SATA specific information. 00:1f.2 IDE interface [0101]: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] [8086:27c0] (rev 01) Subsystem: Super Micro Computer Inc Device [15d9:8580] Kernel driver in use: ata_piix Kernel modules: ata_piix, pata_acpi, ata_generic [ 3.735384] ata2.00: ATA-7: WDC WD800AAJS-00PSA0, 05.06H05, max UDMA/133 [ 3.735553] ata2.00: 156301488 sectors, multi 16: LBA48 NCQ (depth 0/32) [ 3.741064] ata2.00: configured for UDMA/133 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
21.03.2019 21:31, Per Jessen пишет:
Andrei Borzenkov wrote:
21.03.2019 14:44, Per Jessen пишет:
# dmesg | grep -i sata [3.552297] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x30b0 irq14 [3.552459] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30b8 [irq15
This just tells you that controller (probably, ULi) was found. If there are no "SATA link up" messages, are you sure your disks are actually connected to this controller?
No, but they are connected to _something_. :-)
Your controller runs in IDE emulation mode, so no SATA specific information.
Ah, I see. Must be a BIOS setting. Thanks. -- Per Jessen, Zürich (1.5°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
Andrei Borzenkov wrote:
21.03.2019 21:31, Per Jessen пишет:
Andrei Borzenkov wrote:
21.03.2019 14:44, Per Jessen пишет:
# dmesg | grep -i sata [3.552297] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma [0x30b0 irq14 [3.552459] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma [0x30b8 irq15
This just tells you that controller (probably, ULi) was found. If there are no "SATA link up" messages, are you sure your disks are actually connected to this controller?
No, but they are connected to _something_. :-)
Your controller runs in IDE emulation mode, so no SATA specific information.
Ah, I see. Must be a BIOS setting. Thanks.
Indeed, a BIOS setting to enable AHCI mode. Thanks for the 2nd pair of eyes. -- Per Jessen, Zürich (3.9°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 22/03/2019 à 08:17, Per Jessen a écrit :
Indeed, a BIOS setting to enable AHCI mode. Thanks for the 2nd pair of eyes.
but not compatible with the previous jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd@dodin.org wrote:
Le 22/03/2019 à 08:17, Per Jessen a écrit :
Indeed, a BIOS setting to enable AHCI mode. Thanks for the 2nd pair of eyes.
but not compatible with the previous
They seem to be compatible, I see no differences in behaviour. Apart from the connection speed. -- Per Jessen, Zürich (4.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 22/03/2019 à 09:00, Per Jessen a écrit :
jdd@dodin.org wrote:
Le 22/03/2019 à 08:17, Per Jessen a écrit :
Indeed, a BIOS setting to enable AHCI mode. Thanks for the 2nd pair of eyes.
but not compatible with the previous
They seem to be compatible, I see no differences in behaviour. Apart from the connection speed.
but AFAIK if you change you can't use the same install, or can you? jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd@dodin.org wrote:
Le 22/03/2019 à 09:00, Per Jessen a écrit :
jdd@dodin.org wrote:
Le 22/03/2019 à 08:17, Per Jessen a écrit :
Indeed, a BIOS setting to enable AHCI mode. Thanks for the 2nd pair of eyes.
but not compatible with the previous
They seem to be compatible, I see no differences in behaviour. Apart from the connection speed.
but AFAIK if you change you can't use the same install, or can you?
Only one machine actually boots from disk, and that one worked fine. The others use the disks directly, no filesystem, doesn't look like there's any problem. -- Per Jessen, Zürich (5.9°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Donnerstag, 21. März 2019, 10:50:46 CET schrieb Per Jessen:
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at?
I found this: https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed /
None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ).
The boards have an ICH7R controller which is 3Gbps, so I'm pretty certain about the speed, but surely there is a way to tell?
dmesg|grep -i sata.link [ 2.214486] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2.218478] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 2.218496] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) 'nuff said :) -- Mathias Homann Senior Systems Engineer, IT Consultant. IT Trainer Mathias.Homann@openSUSE.org http://www.tuxonline.tech gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
Mathias Homann wrote:
Am Donnerstag, 21. März 2019, 10:50:46 CET schrieb Per Jessen:
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at?
I found this:
https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed
/
None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ).
The boards have an ICH7R controller which is 3Gbps, so I'm pretty certain about the speed, but surely there is a way to tell?
dmesg|grep -i sata.link [ 2.214486] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2.218478] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 2.218496] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
'nuff said :)
Not 'nuff for me to determine actual SATA speed :-) FWIW, on my 42.3 laptop, I also see those messages. -- Per Jessen, Zürich (6.4°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 21/03/2019 19.36, Mathias Homann wrote:
Am Donnerstag, 21. März 2019, 10:50:46 CET schrieb Per Jessen:
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at?
I found this: https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed /
None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ).
The boards have an ICH7R controller which is 3Gbps, so I'm pretty certain about the speed, but surely there is a way to tell?
dmesg|grep -i sata.link [ 2.214486] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2.218478] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 2.218496] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
'nuff said :)
Not always. cer@Telcontar:~> dmesg|grep -i sata.link [ 3.978020] ata6: SATA link down (SStatus 0 SControl 300) [ 3.988260] ata5: SATA link down (SStatus 0 SControl 300) [ 4.048873] ata7: SATA link down (SStatus 0 SControl 300) [ 4.058816] ata8: SATA link down (SStatus 0 SControl 300) [ 4.639976] ata11: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 4.651395] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 4.903988] ata10.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 4.913152] ata10.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 4.922239] ata9.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 4.931174] ata9.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 5495.878805] ata8: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 7762.295944] ata8: SATA link down (SStatus 0 SControl 300) [ 7767.854239] ata8: SATA link down (SStatus 0 SControl 300) [ 7773.230486] ata8: SATA link down (SStatus 0 SControl 300) [123389.763884] ata5: SATA link down (SStatus 0 SControl 300) [123389.763922] ata6: SATA link down (SStatus 0 SControl 300) [123389.767750] ata7: SATA link down (SStatus 0 SControl 300) [123389.767790] ata8: SATA link down (SStatus 0 SControl 300) [123389.805657] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [123389.805816] ata11: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [123390.117673] ata9.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [123390.117684] ata9.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [123390.117833] ata10.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [123390.117843] ata10.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [240001.288799] ata5: SATA link down (SStatus 0 SControl 300) [240001.288801] ata7: SATA link down (SStatus 0 SControl 300) [240001.288856] ata6: SATA link down (SStatus 0 SControl 300) [240001.288868] ata8: SATA link down (SStatus 0 SControl 300) [240001.346476] ata12: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [240001.346654] ata11: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [240001.658483] ata10.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [240001.658494] ata10.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [240001.658617] ata9.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [240001.658632] ata9.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300) cer@Telcontar:~> I know the reason why I get that, not the point. Only that the command is not that clear always, the output has to be analyzed. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
participants (8)
-
Andrei Borzenkov
-
Carlos E. R.
-
Carlos E.R.
-
Dave Howorth
-
David C. Rankin
-
jdd@dodin.org
-
Mathias Homann
-
Per Jessen