howto identify failed RAID disk

Alexandros Papadopoulos alexandros.papadopoulos at gmail.com
Wed Sep 19 15:26:34 EEST 2007


On 9/19/07, Christos Ricudis <ricudis at komodino.itc.auth.gr> wrote:
<snip>
> H malakia me to {sh}dx convention einai oti h seira me thn opoia
> dhmiourgountai ta device nodes einai entelws arbitrary - eidika otan exeis
> panw apo enan HD controller sto systhma. H ari8mhsh eksartatai apo th
> sxetikh seira me thn opoia ginontai initialize oi antistoixoi drivers, h apo
> th seira me thn opoia fortwnontai ta analoga kernel modules sta
> initialization boot scripts. XPKA dhladh.
>
> To /sys/devices/pci0000:00/0000:00:0f.0/host3/target3:0:0/3:0:0:0/block:sda
> einai safws ligotero ambiguous, alla 8ymizei poly ekeino to allo to
> leitourgiko...

Den einai kai oti pio friendly otan exeis 4 idious diskous panw ston
idio SATA controller. Poios einai to target1, poios o 2, poios o 3 kai
poios o 4? Einai *sigoura* ta antistoixa physical portakia pou grafei
panw o Silicon Image koukourikou controllerakos?

> For those using udev, rixte mia matia sto /dev/disk/, 8a breite tous diskous
> sas sortarismenous kata ID, kata label, kata path, kata UUID, kata hlikia,
> kata xrwma, kata mege8os kai kata geysh.

Ναι, αυτό φαίνεται αρκετά καλύτερο:

root at chaoz:~# ls -l /dev/disk/by-id/
<snip>
lrwxrwxrwx 1 root root 17:24 ata-ST3500630AS-5QG0LWPY -> ../../sda
lrwxrwxrwx 1 root root 17:24 ata-ST3500630AS-5QG0LY8R -> ../../sdb
<snip>

Έτσι ξέρουμε πως όταν ξύπνησε σήμερα ο πυρήνας, είδε τον δίσκο τύπου
ST3500630AS με serial number 5QG0LWPY, έξυσε λίγο το πηγούνι του και
είπε: "Εσένα ας σε πούμε /dev/sda".

Πολλά μωβ ευχαριστώ. :-)

-Α




More information about the Linux-greek-users mailing list