[FUG-BR] Testar RAID 1 no FreebSD 7

2009-05-07 Por tôpico Ricardo Augusto de Souza
Tenho 2 IBM 3550 com FreeBSD 7.1 + carp + pfsync.
Ambos possuem RAID 1 por hardware com 2 discos SAS.
acd0: CDRW HL-DT-STCD-RW/DVD DRIVE GCC-T10N/1.00 at ata0-master UDMA33
aacd0: RAID 1 (Mirror) on aac0
aacd0: 152490MB (312299520 sectors)

EU preciso testar se o RAID esta Ok. Não achei muita documentação na net sobre 
isso.
Alguem pode me ajudar?

Ontem eu tirei um dos HDs  com a maquina ligada e coloquei novamente.
O consumo de CPU da maquina não mudou. A luz do disco começou a piscar, parecia 
que esta fazendo um rebuild.

Quais testes me sugerem fazer para verificar esta pendência.

Dmesg:
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE-p3 #1: Thu Apr 16 19:27:25 BRT 2009
rica...@trinity.cmtsp.com.br:/usr/obj/usr/src/sys/CMT
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5405  @ 2.00GHz (1995.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x10676  Stepping = 6
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  
Features2=0xce33dSSE3,DTES64,MON,DS_CPL,VMX,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1
  AMD Features=0x2000LM
  AMD Features2=0x1LAHF
  Cores per package: 4
real memory  = 2147250176 (2047 MB)
avail memory = 2091597824 (1994 MB)
ACPI APIC Table: IBMSERDEFNT
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: IBM SERDEFNT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x588-0x58b on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
Timecounter HPET frequency 14318180 Hz quality 900
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci16: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci16
pci17: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 0.0 on pci17
pci19: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 1.0 on pci17
pci18: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 0.3 on pci16
pci20: ACPI PCI bus on pcib5
pcib6: PCI-PCI bridge at device 3.0 on pci0
pci35: PCI bus on pcib6
pcib7: ACPI PCI-PCI bridge at device 4.0 on pci0
pci7: ACPI PCI bus on pcib7
pcib8: ACPI PCI-PCI bridge at device 0.0 on pci7
pci8: ACPI PCI bus on pcib8
pcib9: PCI-PCI bridge at device 0.0 on pci8
pci9: PCI bus on pcib9
em0: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x6000-0x601f mem 
0xc600-0xc601,0xc602-0xc603 irq 19 at device 0.0 on pci9
em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:15:17:7b:be:f0
em1: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x6020-0x603f mem 
0xc604-0xc605,0xc606-0xc607 irq 16 at device 0.1 on pci9
em1: Using MSI interrupt
em1: [FILTER]
em1: Ethernet address: 00:15:17:7b:be:f1
pcib10: PCI-PCI bridge at device 1.0 on pci8
pci10: PCI bus on pcib10
em2: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x5000-0x501f mem 
0xc400-0xc401,0xc402-0xc403 irq 16 at device 0.0 on pci10
em2: Using MSI interrupt
em2: [FILTER]
em2: Ethernet address: 00:15:17:7b:be:f2
em3: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x5020-0x503f mem 
0xc404-0xc405,0xc406-0xc407 irq 17 at device 0.1 on pci10
em3: Using MSI interrupt
em3: [FILTER]
em3: Ethernet address: 00:15:17:7b:be:f3
pcib11: PCI-PCI bridge at device 5.0 on pci0
pci34: PCI bus on pcib11
pcib12: ACPI PCI-PCI bridge at device 6.0 on pci0
pci3: ACPI PCI bus on pcib12
pcib13: PCI-PCI bridge at device 0.0 on pci3
pci4: PCI bus on pcib13
bce0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) mem 0xc800-0xc9ff 
irq 18 at device 0.0 on pci4
miibus0: MII bus on bce0
brgphy0: BCM5708C 10/100/1000baseTX PHY PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
bce0: Ethernet address: 00:1a:64:79:1d:c4
bce0: [ITHREAD]
bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W 
(0x04000305); Flags( MFW MSI )
pcib14: ACPI PCI-PCI bridge at device 7.0 on pci0
pci2: ACPI PCI bus on pcib14
aac0: IBM ServeRAID-8k port 0x4000-0x40ff mem 
0xcce0-0xccff,0xcafe-0xcaff irq 17 at device 0.0 on pci2
aac0: Enable Raw I/O
aac0: Enable 64-bit array
aac0: New comm. interface enabled
aac0: [ITHREAD]
aac0: ServeRAID 8k-l  , aac driver 2.0.0-1
pci0: base peripheral at device 8.0 (no driver attached)
pcib15: ACPI PCI-PCI bridge irq 16 at device 28.0 on 

Re: [FUG-BR] Testar RAID 1 no FreebSD 7

2009-05-07 Por tôpico Ari Arantes Filho
Em todas IBM 3550 e 3650 que temos, estamos usando o FreeBSD 7.0, pois em 3
casos, com o 7.1, tivemos travamos frequentes. Foi fazer downgrade p/ 7.0 e
nunca mais travou.
Sobre o RAID 1, quando vc tira o HD, na console mostra uma mensagem de erro
na controladora. Quando coloca, mostra também mensagem de rebuild. Vai pro
/var/log/messages, mas se digitar dmesg -a também mostra.

[]s,

Ari


2009/5/7 Ricardo Augusto de Souza ricardo.so...@cmtsp.com.br

 Tenho 2 IBM 3550 com FreeBSD 7.1 + carp + pfsync.
 Ambos possuem RAID 1 por hardware com 2 discos SAS.
 acd0: CDRW HL-DT-STCD-RW/DVD DRIVE GCC-T10N/1.00 at ata0-master UDMA33
 aacd0: RAID 1 (Mirror) on aac0
 aacd0: 152490MB (312299520 sectors)

 EU preciso testar se o RAID esta Ok. Não achei muita documentação na net
 sobre isso.
 Alguem pode me ajudar?

 Ontem eu tirei um dos HDs  com a maquina ligada e coloquei novamente.
 O consumo de CPU da maquina não mudou. A luz do disco começou a piscar,
 parecia que esta fazendo um rebuild.

 Quais testes me sugerem fazer para verificar esta pendência.

 Dmesg:
 Copyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.1-RELEASE-p3 #1: Thu Apr 16 19:27:25 BRT 2009
rica...@trinity.cmtsp.com.br:/usr/obj/usr/src/sys/CMT
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(R) CPU   E5405  @ 2.00GHz (1995.01-MHz 686-class
 CPU)
  Origin = GenuineIntel  Id = 0x10676  Stepping = 6

  
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

  
 Features2=0xce33dSSE3,DTES64,MON,DS_CPL,VMX,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1
  AMD Features=0x2000LM
  AMD Features2=0x1LAHF
  Cores per package: 4
 real memory  = 2147250176 (2047 MB)
 avail memory = 2091597824 (1994 MB)
 ACPI APIC Table: IBMSERDEFNT
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  2
  cpu3 (AP): APIC ID:  3
 ioapic0 Version 2.0 irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: IBM SERDEFNT on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x588-0x58b on acpi0
 acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on
 acpi0
 Timecounter HPET frequency 14318180 Hz quality 900
 pcib0: ACPI Host-PCI bridge on acpi0
 pci0: ACPI PCI bus on pcib0
 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
 pci16: ACPI PCI bus on pcib1
 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci16
 pci17: ACPI PCI bus on pcib2
 pcib3: ACPI PCI-PCI bridge at device 0.0 on pci17
 pci19: ACPI PCI bus on pcib3
 pcib4: ACPI PCI-PCI bridge at device 1.0 on pci17
 pci18: ACPI PCI bus on pcib4
 pcib5: ACPI PCI-PCI bridge at device 0.3 on pci16
 pci20: ACPI PCI bus on pcib5
 pcib6: PCI-PCI bridge at device 3.0 on pci0
 pci35: PCI bus on pcib6
 pcib7: ACPI PCI-PCI bridge at device 4.0 on pci0
 pci7: ACPI PCI bus on pcib7
 pcib8: ACPI PCI-PCI bridge at device 0.0 on pci7
 pci8: ACPI PCI bus on pcib8
 pcib9: PCI-PCI bridge at device 0.0 on pci8
 pci9: PCI bus on pcib9
 em0: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x6000-0x601f mem
 0xc600-0xc601,0xc602-0xc603 irq 19 at device 0.0 on pci9
 em0: Using MSI interrupt
 em0: [FILTER]
 em0: Ethernet address: 00:15:17:7b:be:f0
 em1: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x6020-0x603f mem
 0xc604-0xc605,0xc606-0xc607 irq 16 at device 0.1 on pci9
 em1: Using MSI interrupt
 em1: [FILTER]
 em1: Ethernet address: 00:15:17:7b:be:f1
 pcib10: PCI-PCI bridge at device 1.0 on pci8
 pci10: PCI bus on pcib10
 em2: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x5000-0x501f mem
 0xc400-0xc401,0xc402-0xc403 irq 16 at device 0.0 on pci10
 em2: Using MSI interrupt
 em2: [FILTER]
 em2: Ethernet address: 00:15:17:7b:be:f2
 em3: Intel(R) PRO/1000 Network Connection 6.9.6 port 0x5020-0x503f mem
 0xc404-0xc405,0xc406-0xc407 irq 17 at device 0.1 on pci10
 em3: Using MSI interrupt
 em3: [FILTER]
 em3: Ethernet address: 00:15:17:7b:be:f3
 pcib11: PCI-PCI bridge at device 5.0 on pci0
 pci34: PCI bus on pcib11
 pcib12: ACPI PCI-PCI bridge at device 6.0 on pci0
 pci3: ACPI PCI bus on pcib12
 pcib13: PCI-PCI bridge at device 0.0 on pci3
 pci4: PCI bus on pcib13
 bce0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) mem
 0xc800-0xc9ff irq 18 at device 0.0 on pci4
 miibus0: MII bus on bce0
 brgphy0: BCM5708C 10/100/1000baseTX PHY PHY 1 on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
 1000baseT-FDX, auto
 bce0: Ethernet address: 00:1a:64:79:1d:c4
 bce0: [ITHREAD]
 

Re: [FUG-BR] Testar RAID 1 no FreebSD 7

2009-05-07 Por tôpico Nenhum_de_Nos

On Thu, May 7, 2009 20:12, Ari Arantes Filho wrote:
 Em todas IBM 3550 e 3650 que temos, estamos usando o FreeBSD 7.0, pois em
 3
 casos, com o 7.1, tivemos travamos frequentes. Foi fazer downgrade p/ 7.0
 e
 nunca mais travou.
 Sobre o RAID 1, quando vc tira o HD, na console mostra uma mensagem de
 erro
 na controladora. Quando coloca, mostra também mensagem de rebuild. Vai pro
 /var/log/messages, mas se digitar dmesg -a também mostra.

 []s,

 Ari

tb não sei se tem, mas se entendi ele quer pra FreeBSD algo como bioctl
para OpenBSD :)

matheus

-- 
We will call you cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd