From owner-freebsd-questions@FreeBSD.ORG Sun Jun 19 15:27:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6269916A41C for ; Sun, 19 Jun 2005 15:27:32 +0000 (GMT) (envelope-from root@pukruppa.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB79043D4C for ; Sun, 19 Jun 2005 15:27:31 +0000 (GMT) (envelope-from root@pukruppa.de) Received: from reverse-213-146-114-24.cust.kamp-dsl.de [213.146.114.24] (helo=reverse-213-146-114-24.cust.kamp-dsl.de) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML29c-1Dk1hp36nc-0006zS; Sun, 19 Jun 2005 17:27:29 +0200 Date: Sun, 19 Jun 2005 17:30:34 +0200 (CEST) From: "P.U.Kruppa" X-X-Sender: root@www.pukruppa.net To: Alex Zbyslaw In-Reply-To: <42B556CE.6020103@dial.pipex.com> Message-ID: <20050619172826.K11229@www.pukruppa.net> References: <20050619074720.V11229@www.pukruppa.net> <42B556CE.6020103@dial.pipex.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Provags-ID: kundenserver.de abuse@kundenserver.de login:2446dbdf8275641f979193ced594c629 Cc: freebsd-questions@freebsd.org Subject: Re: Yet another RAID Question (YARQ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2005 15:27:32 -0000 On Sun, 19 Jun 2005, Alex Zbyslaw wrote: > P.U.Kruppa wrote: > >> our school has just received a new HP ProLiant and I set up FreeBSD 5.4 >> -RELEASE with a RAID 1 system on it (using ciss driver). >> Is there any software tool which can show me the state of the two SCSI >> discs (if one is failing or if they are mirrored sorrectly) or is it >> sufficient to watch the little LEDs on the box? > > That's a good question, and I only have a partial answer for you. You can > look at sysutils/smartmontools port which will show you the SMART status for > the disks that it can see. If you can see both disks (which I *think* would > have devices like /dev/sd0, /dev/sd1) then you ought to know if the disks are > failing. SCSI disks, from my limited experience, don't show as much info as > ATA disks, but so far both Quantum and Fujitsu do seem to have supported > SMART at a basic level. You should be able to tell what FreeBSD can see in > the way of disks by examining /var/run/dmesg.boot. > > A word of caution, though. A Linux system (which I help administer) had two > SCSI disks mounted as RAID-1 through some kind of Adaptec controller. > Recently the machine crashed and it transpires that one of the disks hadn't > been written to since 2002! I am told that the bootup screen showed the > RAID-1 as working, and Linux could *only* see one virtual disk -- the > supposed RAID mirror. So, I think your question is a very good one! We had > (apparently) no way of knowing what was going on. The machine crashed with no > messages whatsoever, after losing all access to its disks, and there was no > indication that RAID-1 was not functioning. > > I *think* that the RAID controller should spot when a disk is failing and > notify you (through its driver) through console messages and > /var/log/messages. I too would love an answer to this question for any > decent SCSI controller under FreeBSD (e.g. Dell PowerEdge 2850 with PERC > 4e/Di RAID controller). Can you, in general, see through the RAID controller > to monitor individual disks? No, the HP manual says one can check the disks via some sort of LED blinking code. But I have no experience with that, since it is a new machine. Uli. > > --Alex > > ********************************************* * Peter Ulrich Kruppa - Wuppertal - Germany * *********************************************