Re: Which drive does ata7 correspond to?



Dennison.Williams@xxxxxxxxx staggered into the Black Sun and said:
I am getting hard drive failures on a computer. The drive identifier
in the logs is ata7, but I am unsure which drive this corresponds to,
and am wondering if anyone has a technique for figuring this out.

Look in /var/log/dmesg , which in many distros is an archive of the
kernel messages right after boot. This should have a few lines that
relate the string "ata7" to a physical device. AFAICT, nothing in /sys
or /proc corresponds to those strings. What does a sample log line or 2
look like? Please reproduce that data in a followup.

There are two separate "clumps" of drives; one set of 4 is connected
to a sata card and is [seen by] the OS as /dev/hd[efgh]

SATA disks should always be seen as SCSI, not IDE. Did you misspeak?

the other set is sata attached to the motherboard and is
/dev/sd[abcdefgh].

Considering the strange IDE drive lettering you mentioned, I'd guess
that ata7 == /dev/sdh. But ICBW.

--
"Oh bother," said the Borg, "We've assimilated Pooh."
--MHR on alt.fan.pratchett
My blog and resume: http://crow202.dyndns.org:8080/wordpress/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.



Relevant Pages

  • Re: Log files in a Date / Time Stamped Directory
    ... > I would like to store my logs in a Directory / Subdirectory tree that ... > corresponds to the date / time the script is executed. ... > the script is executed today and noon, then the logs would be stored ...
    (comp.lang.perl.misc)
  • Log files in a Date / Time Stamped Directory
    ... I would like to store my logs in a Directory / Subdirectory tree that ... corresponds to the date / time the script is executed. ... the script is executed today and noon, then the logs would be stored ...
    (comp.lang.perl.misc)