Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
smartmontools auf SATA Controller und SATA-Platten
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
hambuergaer
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 294
Location: Hamburg

PostPosted: Thu Aug 19, 2004 10:44 pm    Post subject: smartmontools auf SATA Controller und SATA-Platten Reply with quote

Hallo Leute,


ich habe vor ein paar Tagen erfolgreich ein Raid-1 Mirror aufgebaut. Das funktioniert auch hervorragend. Nun möchte ich mir jeden Sonntag den Status meiner beiden 160GB SATA Platten anzeigen lassen und per Mail schicken. Das Problem ist, dass smartctl weder /dev/hde(/dev/hdg) kennt, da diese auch unter /dev nicht zu finden sind, noch kennt es /dev/sdX. Kann mir einer verraten, wie man smartctl bei SATA ausführt? Ich verwende einen Dawicontrol SATA Controller mit Sil3112 Chipsatz (Softwareraid). Kann mir da jemand helfen??
_________________
---------------------------------------------------------
wat is hier los?
Back to top
View user's profile Send private message
golloza
Guru
Guru


Joined: 14 Mar 2004
Posts: 427

PostPosted: Fri Aug 20, 2004 12:28 am    Post subject: Re: smartmontools auf SATA Controller und SATA-Platten Reply with quote

Also hier funzt es mit nem Sil3112A und der Samsung Platte einwandfrei.

hambuergaer wrote:
Das Problem ist, dass smartctl weder /dev/hde(/dev/hdg) kennt, da diese auch unter /dev nicht zu finden sind, noch kennt es /dev/sdX.


Hm?
Du hast gar keine Devices für die Platten? Wie spricht das RAID die Platten den an bzw. über welches Device mountest du sie?
Back to top
View user's profile Send private message
hambuergaer
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 294
Location: Hamburg

PostPosted: Fri Aug 20, 2004 7:30 am    Post subject: Reply with quote

Ich mounte die Devices über z.B. /dev/md0 und so weiter. Aber die möchte smartctl auch nicht akzeptieren.
_________________
---------------------------------------------------------
wat is hier los?
Back to top
View user's profile Send private message
cruxnor
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 133

PostPosted: Fri Aug 20, 2004 8:16 am    Post subject: Reply with quote

hambuergaer wrote:
Ich mounte die Devices über z.B. /dev/md0 und so weiter. Aber die möchte smartctl auch nicht akzeptieren.


Und wie mounten die Raidtools dann /dev/md0? Meines erachtens nach, muss in der Datei (z.B. /etc/raidtab o.ä.) auch die Devices für HDD's angegeben werden.

Code:

raiddev /dev/md0
        raid-level      1
        nr-raid-disks   2
        nr-spare-disks  0
        persistent-superblock 1
        chunk-size      4

        device          /dev/sda1
        raid-disk       0
        device          /dev/sdb1
        raid-disk       1


Ein Auszug aus einer raidtab! Hier sind klar die beiden HDD's definiert!

...hth...

cruxnor
Back to top
View user's profile Send private message
hambuergaer
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 294
Location: Hamburg

PostPosted: Fri Aug 20, 2004 8:29 am    Post subject: Reply with quote

Meine /etc/raidtab sieht so aus (nur ein Auszug!!!)

# /boot (Raid 1 Mirror)
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
chunk-size 32
persistent-superblock 1
device /dev/hde1
raid-disk 0
device /dev/hdg1
raid-disk 1

Dennoch gibt es die Devices /dev/hde und /dev/hdg aus welchem Grund auch immer nicht unter /dev ?"§$"§$"%§&%&/ .... Komisch :-(
_________________
---------------------------------------------------------
wat is hier los?
Back to top
View user's profile Send private message
hambuergaer
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 294
Location: Hamburg

PostPosted: Fri Aug 20, 2004 8:34 am    Post subject: Reply with quote

Hmm, ok... Also ... ich habe eben herausgefunden, dass meine Platten nun doch, so wie es sein sollte, als SCSI- Devices aufgelistet werden. Ein erneutes "smartctl -a /dev/sda" ergibt folgende Meldung:

smartctl -a /dev/sda

smartctl version 5.26 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: Version:
Serial number: 0696J1FX311304
Device type: disk
Local Time is: Fri Aug 20 08:33:48 2004 Local time zone must be set--see zic m
Device does not support SMART

Device does not support Error Counter logging

[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
Device does not support Self Test logging
_________________
---------------------------------------------------------
wat is hier los?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum