From owner-FreeBSD-users-jp@jp.FreeBSD.org Thu May 10 00:54:27 2007
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id l49FsRA25625;
	Thu, 10 May 2007 00:54:27 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mx.gate01.com (pip1.gate01.com [61.122.117.239])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id l49FsQM25620
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 10 May 2007 00:54:26 +0900 (JST)
	(envelope-from ginga@ginganet.org)
Received: from [202.210.243.26] (helo=athena.ginganet.org)
	by smtp33.isp.us-com.jp with esmtp (Mail 4.41)
	id 1HloUe-0001xL-8V
	for FreeBSD-users-jp@jp.FreeBSD.org; Thu, 10 May 2007 00:54:20 +0900
Received: from localhost (localhost.olympus.local [127.0.0.1])
	by athena.ginganet.org (Postfix) with ESMTP id CEDF874D5
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 10 May 2007 00:54:19 +0900 (JST)
X-Virus-Scanned: amavisd-new at ginganet.org
Received: from athena.ginganet.org ([127.0.0.1])
	by localhost (athena.ginganet.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id gb0WQnlrhbw1 for <FreeBSD-users-jp@jp.FreeBSD.org>;
	Thu, 10 May 2007 00:54:11 +0900 (JST)
Received: by athena.ginganet.org (Postfix, from userid 5003)
	id 3128C74CB; Thu, 10 May 2007 00:54:11 +0900 (JST)
From: KAWAGUTI Ginga <ginga-freebsd@ginganet.org>
To: FreeBSD-users-jp@jp.FreeBSD.org
Message-ID: <20070509155411.GK1096%ginga@ginganet.org>
References: <20070507040209.ED7B.T-KINO@nifty.ne.jp> <20070507034237.GF1096%ginga-freebsd@ginganet.org> <20070507234336.6fee6f60.nork@ninth-nine.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Disposition: inline
In-Reply-To: <20070507234336.6fee6f60.nork@ninth-nine.com>
User-Agent: Mutt/1.5.6i
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 10 May 2007 00:54:11 +0900
X-Sequence: FreeBSD-users-jp 90660
Subject: [FreeBSD-users-jp 90660] sysutils/smartmontools with SmartArray(HP ciss RAID)
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: ginga-freebsd@ginganet.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209

$B@n8}$G$9(B

In Mon, May 07, 2007 at 11:43:36PM +0900,
Norikatsu Shigemura <nork@ninth-nine.com> wrote:
> > ($B$\$=(B: HP $B$N(B ciss $BMQ$N$3$&$$$&$N$J$$$N$+$J(B...)
> 
> 	$B$=$&$$$&6d2O$5$s$K$O(B ports/sysutils/smartmontools $B$,G.$$!#(B
> 	ata(4), twe(4), twa(4), ciss(4)$B$H0lIt(B cam(4) $B%G%P%$%9(B($BMW$O(B
> 	SCSI)$B$KBP1~$G$9!#(B

$B>R2p$"$j$,$H$&$4$6$$$^$9!%(B

$B<j85$N(B SmartArray E200(ciss $B$GG'<1(B)$B$G;n$7$F$_$^$7$?(B
(ports $B$G$O(B WITH_CISS $B$K$7$F$^$9(B)$B!%(B
$BF0$$$F$$$k$h$&$J!$$d$C$Q$jF0$+$J$$$h$&$JHyL/$J46$8$G$9!%(B
$B$J$*!$4D6-$O(B FreeBSD/i386 6-stable $B$G$9!%(B

ciss0: <HP Smart Array E200> port 0x2000-0x20ff mem 0xda980000-0xda9fffff,0xda900000-0xda907fff irq 16 at device 8.0 on pci4
ciss0: [GIANT-LOCKED]
...
da0: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-0 device 		# port 0 $B$K(B SAS
da1 at ciss0 bus 0 target 1 lun 0
da1: <COMPAQ RAID 1  VOLUME OK> Fixed Direct Access SCSI-0 device 		# port 4,6 $B$K(BSAS
da2 at ciss0 bus 0 target 2 lun 0
da2: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-0 device 		# port 1 $B$G(B SATA


$B!|(B SAS HDD $BC1H/$N%]!<%H$NMM;R$r$_$k(B:

# smartctl -a -d cciss,0 /dev/ciss0
smartctl version 5.37 [i386-portbld-freebsd6.2] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: FUJITSU  MAX3073RC        Version: HPF1
Serial number: xyzxyzxyz
Device type: disk
Transport protocol: SAS
Local Time is: Wed May  9 13:40:49 2007 JST
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: OK

Current Drive Temperature:     44 C
Drive Trip Temperature:        65 C
Manufactured in week 25 of year 2006
Recommended maximum start stop count:  10000 times
Current start stop count:      87 times
Elements in grown defect list: 0

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        3         0         0          0       2118.634           0
write:         0        2         0         0          0        160.482           0
verify:        0        0         0         0          0          0.007           0

Non-medium error count:      245

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -     537                 - [-   -    -]
# 2  Background long   Interrupted ('-X' switch)   -     537                 - [-   -    -]

Long (extended) Self Test duration: 1815 seconds [30.2 minutes]

$B$*!$$J$k$[$I8+$($^$9$M!%(B
($B?<$/9M$($:$K(B /dev/da0 $B$rC!$/$H(BOS$B$4$H$*K4$/$J$j$K(B...)

$B!|(B RAID1 $BAH$s$G$$$k(BHDD($B$H$$$&$3$H$J$N$+!$(BHDD$B$N%Y%s%@$NLdBj$J$N$+(B)
   $B$@$H>/$78+$(J}(B($B%G!<%?$NAH$_9g$o$;(B?)$B$,0c$&LOMM!%(B

# smartctl -a -d cciss,4 /dev/ciss0
smartctl version 5.37 [i386-portbld-freebsd6.2] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: HP       DF300ABAAA       Version: HPD3
Serial number: xyzxyzxyzxyz
Device type: disk
Transport protocol: SAS
Local Time is: Wed May  9 13:44:19 2007 JST
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: OK

Current Drive Temperature:     57 C
Drive Trip Temperature:        68 C
Elements in grown defect list: 0
Vendor (Seagate) cache information
  Blocks sent to initiator = 929950873
  Blocks received from initiator = 733224880
  Blocks read from cache and sent to initiator = 408542784
  Number of read and write commands whose size <= segment size = 461683491
  Number of read and write commands whose size > segment size = 1510

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          0          0.000           0
write:         0        0         0         0          0          0.000           0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background long   Interrupted ('-X' switch)   -       9                 - [-   -    -]

Long (extended) Self Test duration: 2800 seconds [46.7 minutes]

$BJs9p$7$F$/$l$F$$$k$1$I$J$s$+(B error counter $B%G!<%?$,6u$C$](B???

$B$"$H!$!V(BRAID1 $B%\%j%e!<%`!W$H$7$F$N(B status $B$O8+$($J$$(B?
($BJRGY$K$J$C$?!A(B $B$H$+$=$s$J>pJs(B)

$B!|(B $B0lJ}$G(B SATA HDD $B$O8+$l$J$$(B? $B$N$+$J(B?
port 1 $B$K$O(B SATA HDD $B$,C1H/$G$V$i2<$,$C$F$$$k$O$:$J$N$G$9$,!%(B
(HDD $B$NJ}$G(B SMART enable$B$K$J$C$F$$$J$$$N$+$b(B?)

# smartctl -i -d cciss,1 /dev/ciss0
smartctl version 5.37 [i386-portbld-freebsd6.2] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
# smartctl -i -d cciss,1 -T verypermissive /dev/ciss0
smartctl version 5.37 [i386-portbld-freebsd6.2] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

>> Terminate command early due to bad response to IEC mode page


$B$A$J$_$K(B smartd $B$NJ}$O%(%i!<(B(?)$B$rEG$$$F%@%a$G$9(B
($B@_Dj%U%!%$%k$OFC$KMQ0U$7$F$J$$>uBV$G$9(B)

# smartd -d
(pass0:ciss0:0:0:0): MODE SENSE(06). CDB: 1a 0 1c 0 40 0 
(pass0:ciss0:0:0:0): CAM Status: SCSI Status Error
(pass0:ciss0:0:0:0): SCSI Status: Check Condition
(pass0:ciss0:0:0:0): ILLEGAL REQUEST asc:24,0
(pass0:ciss0:0:0:0): Invalid field in CDB
(pass1:ciss0:0:1:0): MODE SENSE(06). CDB: 1a 0 1c 0 40 0 
(pass1:ciss0:0:1:0): CAM Status: SCSI Status Error
(pass1:ciss0:0:1:0): SCSI Status: Check Condition
(pass1:ciss0:0:1:0): ILLEGAL REQUEST asc:24,0
(pass1:ciss0:0:1:0): Invalid field in CDB
(pass2:ciss0:0:2:0): MODE SENSE(06). CDB: 1a 0 1c 0 40 0 
(pass2:ciss0:0:2:0): CAM Status: SCSI Status Error
(pass2:ciss0:0:2:0): SCSI Status: Check Condition
(pass2:ciss0:0:2:0): ILLEGAL REQUEST asc:24,0
(pass2:ciss0:0:2:0): Invalid field in CDB
(pass0:ciss0:0:0:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 ec 0 
(pass0:ciss0:0:0:0): CAM Status: CCB request completed with an error
(pass0:ciss0:0:0:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 a1 0 
(pass0:ciss0:0:0:0): CAM Status: CCB request completed with an error
(pass1:ciss0:0:1:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 ec 0 
(pass1:ciss0:0:1:0): CAM Status: CCB request completed with an error
(pass1:ciss0:0:1:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 a1 0 
(pass1:ciss0:0:1:0): CAM Status: CCB request completed with an error
(pass2:ciss0:0:2:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 ec 0 
(pass2:ciss0:0:2:0): CAM Status: CCB request completed with an error
(pass2:ciss0:0:2:0): Vendor Specific Command. CDB: 85 8 e 0 0 0 1 0 0 0 0 0 0 0 a1 0 
(pass2:ciss0:0:2:0): CAM Status: CCB request completed with an error
smartd version 5.37 [i386-portbld-freebsd6.2] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

No configuration file /usr/local/etc/smartd.conf found, scanning devices
Device: /dev/da0, opened
Device: /dev/da0, Bad IEC (SMART) mode page, err=-1, skip device
Unable to register SCSI device /dev/da0
Device: /dev/da1, opened
Device: /dev/da1, Bad IEC (SMART) mode page, err=-1, skip device
Unable to register SCSI device /dev/da1
Device: /dev/da2, opened
Device: /dev/da2, Bad IEC (SMART) mode page, err=-1, skip device
Unable to register SCSI device /dev/da2
Device: /dev/da0, opened
Device: /dev/da0, not ATA, no IDENTIFY DEVICE Structure
Unable to register ATA device /dev/da0
Device: /dev/da1, opened
Device: /dev/da1, not ATA, no IDENTIFY DEVICE Structure
Unable to register ATA device /dev/da1
Device: /dev/da2, opened
Device: /dev/da2, not ATA, no IDENTIFY DEVICE Structure
Unable to register ATA device /dev/da2
Unable to monitor any SMART enabled devices. Try debug (-d) option. Exiting...
# 

($B$$$d!$4{$K(B -d $B$D$1$F;n$7$F$k$s$G$9$1$I(B....)

$BJL$N(B mpt1: <LSILogic SAS/SATA Adapter> $B$J$H$3$m$G$O(B
smartd -d $B$G=*N;$;$:$K7QB34F;k%b!<%I(B? $B$G!$2?$+%9%F!<%?%9$_$?$$$J$N$r(B
$BEG$$$F$$$?$N$G!$>e5-$,@5>o$G$J$$$N$O3N$+$J$h$&$G$9(B...


> 	$B%P%$%J%j$J%(%_%e%l!<%7%g%s$@!#$J$s$FLdBjH/@8$7$J$$$N$G(B, $B8D(B
> 	$B?ME*$K$O$b$C$H$b;H$$F;$N$"$j$=$&$J%G%P%$%9$G$9!#(B > ciss(4)

dd $B$K$h$j5/F0%I%i%$%V$N%3%T!<$r:n$k$3$H$,<B<A=PMh$J$$$H$+!$(B
$BC1H/%I%i%$%V$r2rJ|$7$F:FEY(B create $B$9$k$HFbMF(B($B@hF,(B?)$B$,>C$5$l$F$$$k$H$+(B
$B!V%Q%=%3%sE*$J07$$!W$r$7$h$&$H$9$k$H?'!9$HFq57$7$^$9$1$I$M(B...
-- 
       $B"J"J(B
Zzz.. (- - )$B"^"^"=!A(B           $B@n8}(B $B6d2O(B
      ##############   ginga-freebsd@ginganet.org
