[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: raid 1 logical und physical drives sichtbar mit megaraid in Etch



On Tue, Jul 03, 2007 at 11:55:32PM +0200, Pascal Tritten wrote:
> Hallo zusammen
> 
> Ich habe soeben von Sarge auf Etch upgraded. Nun habe ich das Problem, 
> dass ich von meinem Hardware Raid Level 1 einerseits das logische 
> Laufwerk sehe und andererseits die physikalischen Festplatten ebenso 
> einen devicenamen erhalten, komischerweise im Normalfall nur eine und im 
> Extremfall 6 Stück, obschon ja effektiv nur zwei HD's an diesem 
> Kontroller vorhanden sind
> (ähnliches Verhalten wie bei 
> https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/55138)

Hattest du in Sarge einen aktuelleren Kernel als 2.6.8 im Einsatz?
Meines Wissens waren in 2.6.8 die megaraid-Module nicht enthalten,
erst ab 2.6.9.
Ist aber schon seltsam.

Evtl. mal den Kernel aus unstable testen?

> Da es nicht konstant immer gleich ist, rutscht meine externe 
> SCSI-Festplatte (am zweiten SCSI-Kontroller) zwischen sdc und sdh umher, 
> was nicht sehr praktisch ist.
> 
> Kernel ist 2.6.18-4-686.
> 
> Kennt irgendwer das Problem und hat eine Lösung dazu?

Evtl. für die externe SCSI-Platte versuchen eine udev-Regel zu bauen.


> Output von dmesg:
> 
> SCSI subsystem initialized
> ACPI: PCI Interrupt 0000:00:09.1[A] -> GSI 17 (level, low) -> IRQ 169
> megaraid: found 0x8086:0x1960:bus 0:slot 9:func 1
> scsi0:Found MegaRAID controller at 0xd8814000, IRQ:169
> megaraid: [F :B ] detected 1 logical drives.
> megaraid: channel[0] is raid.
> scsi0 : LSI Logic MegaRAID F  254 commands 16 targs 4 chans 7 luns
> scsi0: scanning scsi channel 0 for logical drives.
>   Vendor: MegaRAID  Model: LD0 RAID1  8677R  Rev:   F
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> scsi0: scanning scsi channel 4 [P0] for physical devices.
>   Vendor: HP        Model: 9.10GB A 80-F309  Rev:
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> ACPI: PCI Interrupt 0000:01:04.0[A] -> GSI 18 (level, low) -> IRQ 177
> sym0: <895> rev 0x1 at pci 0000:01:04.0 irq 177
> sym0: Symbios NVRAM, ID 7, Fast-40, SE, parity checking
> sym0: open drain IRQ line driver, using on-chip SRAM
> sym0: using LOAD/STORE-based firmware.
> sym0: SCSI BUS has been reset.
> sym0: SCSI BUS mode change from SE to SE.
> scsi1 : sym-2.2.3
> sym0: SCSI BUS has been reset.
>   Vendor: FUJITSU   Model: MAP3367NP         Rev: 0108
>   Type:   Direct-Access                      ANSI SCSI revision: 03
>  target1:0:4: tagged command queuing enabled, command queue depth 16.
>  target1:0:4: Beginning Domain Validation
>  target1:0:4: asynchronous
>  target1:0:4: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 31)
>  target1:0:4: Domain Validation skipping write tests
>  target1:0:4: Ending Domain Validation
> 
> SCSI device sda: 17770496 512-byte hdwr sectors (9098 MB)
> sda: Write Protect is off
> sda: Mode Sense: 00 00 00 00
> sda: asking for cache data failed
> sda: assuming drive cache: write through
> SCSI device sda: 17770496 512-byte hdwr sectors (9098 MB)
> sda: Write Protect is off
> sda: Mode Sense: 00 00 00 00
> sda: asking for cache data failed
> sda: assuming drive cache: write through
>  sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
> sd 0:0:0:0: Attached scsi disk sda
^^^
Die erste Platte vom (mega) RAID-1?
> 
> SCSI device sdb: 17773524 512-byte hdwr sectors (9100 MB)
> sdb: Write Protect is off
> sdb: Mode Sense: a7 00 10 08
> SCSI device sdb: drive cache: write through w/ FUA
> SCSI device sdb: 17773524 512-byte hdwr sectors (9100 MB)
> sdb: Write Protect is off
> sdb: Mode Sense: a7 00 10 08
> SCSI device sdb: drive cache: write through w/ FUA
>  sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 sdb7 sdb8 >
> sd 0:4:0:0: Attached scsi disk sdb
> 
^^^
Die zweite Platte vom (mega) RAID-1?

> SCSI device sdc: 71775284 512-byte hdwr sectors (36749 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: b3 00 00 08
> SCSI device sdc: drive cache: write back
> SCSI device sdc: 71775284 512-byte hdwr sectors (36749 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: b3 00 00 08
> SCSI device sdc: drive cache: write back
>  sdc: sdc1
> sd 1:0:4:0: Attached scsi disk sdc

^^^
externe Platte?

Meine Erfahrungen mit dem megaraid-Kontroller (2 Jahre her) waren
so, dass es keine eigenen Devices für die RAID-Member-Disks gab.

Vielleicht wird auch evtl. durch Udev oder ähnliches diese
Device-Erstellung getriggert.

Paul
-- 

Attachment: signature.asc
Description: Digital signature


Reply to: