ata4.01과 같은 장치를 장치에 매핑하는 방법은 무엇입니까?

ata4.01과 같은 장치를 장치에 매핑하는 방법은 무엇입니까?

CentOS 6.8 서버에서 다음과 같은 메시지가 연결되는 것을 볼 수 있습니다.

Jun 12 22:01:12 myserver kernel: ata4: lost interrupt (Status 0x51)
Jun 12 22:01:12 myserver kernel: ata4.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Jun 12 22:01:12 myserver kernel: ata4.01: failed command: SMART
Jun 12 22:01:12 myserver kernel: ata4.01: cmd b0/d5:01:09:4f:c2/00:00:00:00:00/10 tag 0 pio 512 in
Jun 12 22:01:12 myserver kernel:         res 40/00:00:06:4f:c2/00:00:00:00:00/10 Emask 0x4 (timeout)
Jun 12 22:01:12 myserver kernel: ata4.01: status: { DRDY }
Jun 12 22:01:12 myserver kernel: ata4: soft resetting link
Jun 12 22:01:13 myserver kernel: ata4.00: configured for UDMA/133
Jun 12 22:01:13 myserver kernel: ata4.01: configured for UDMA/133
Jun 12 22:01:13 myserver kernel: ata4: EH complete

어떤 장치가 어떤 하드 드라이브인지 알기 위해 ata4.01을 쉽게 매핑하려면 어떻게 해야 합니까? 이 시스템에는 내부 80GB 드라이브 2개, eSATA 2TB 드라이브 2개, USB 외부 연결 드라이브 1개가 있습니다.

이 작업을 수행하는 명령이나 스크립트를 아는 사람이 있습니까?

답변1

나는 찾을 수 없었다직접링크가 있지만 아래의 미로 같은 심볼릭 링크를 따라가면 /sys

ls -ld /sys/class/ata_device/dev4.*/device/../../host*/target*/*/block/sd*

ls -ld /sys/class/block/sd*/device/../../../link*/dev4.*

… 해당 sd*장치로 연결되어야 합니다.

관련 정보