RAID5 sovaro provlima!

Tasos Varoudis ar00129 at mail.ntua.gr
Wed Feb 16 15:12:25 EET 2005


Kalimera pedia,
Exo poli sovaro provlima me to software raid5 pou exo stisi!

To mivxanima ine dual p3 me gentoo linux.
To root part ine se ext3 (ksexoristos diksos) kai to raid5 ine se reiser3.6 (
4x120g ftigmeno me ta raidtools)
Kai litourgouse poli kala arketes meres.

Gia aneksigito logo to mixanima kolise extes tin ora pou _MALON_ egrafe kati
sto raid opote to enana reset apo to koumpi. Kai oriste ti mou vgazi sto dmesg

---dmesg
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci0000:00:07.1
    ide0: BM-DMA at 0x9000-0x9007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x9008-0x900f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: QUANTUM FIREBALLP AS20.5, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
ide1: Wait for ready failed before probe !
PDC20265: IDE controller at PCI slot 0000:00:0c.0
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 18 (level, low) -> IRQ 18
PDC20265: chipset revision 2
PDC20265: 100% native mode on irq 18
PDC20265: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER Mode.
    ide2: BM-DMA at 0xbc00-0xbc07, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdg:pio, hdh:pio
Probing IDE interface ide2...
hde: WDC WD1200JB-00FUA0, ATA DISK drive
hdf: WDC WD1200JB-00GVA0, ATA DISK drive
ide2 at 0xac00-0xac07,0xb002 on irq 18
Probing IDE interface ide3...
hdg: WDC WD1200JB-00CRA1, ATA DISK drive
hdh: WDC WD1200JB-00DUA1, ATA DISK drive
ide3 at 0xb400-0xb407,0xb802 on irq 18
Probing IDE interface ide1...
ide1: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
hda: max request size: 128KiB
hda: 40132503 sectors (20547 MB) w/1902KiB Cache, CHS=39813/16/63, UDMA(66)
hda: cache flushes not supported
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hde: max request size: 128KiB
hde: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hde: cache flushes supported
 /dev/ide/host2/bus0/target0/lun0: p1
hdf: max request size: 128KiB
hdf: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hdf: cache flushes supported
 /dev/ide/host2/bus0/target1/lun0: p1
hdg: max request size: 128KiB
hdg: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
hdg: cache flushes not supported
 /dev/ide/host2/bus1/target0/lun0: p1
hdh: max request size: 128KiB
hdh: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hdh: cache flushes supported
 /dev/ide/host2/bus1/target1/lun0: p1

………
md: raid5 personality registered as nr 4
raid5: automatically using best checksumming function: pIII_sse
   pIII_sse  :  1988.000 MB/sec
raid5: using function: pIII_sse (1988.000 MB/sec)
md: multipath personality registered as nr 7
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.3.0-ioctl (2004-09-30) initialised: dm-devel at redhat.com

………………
md: Autodetecting RAID arrays.
md: autorun ...
md: considering hdh1 ...
md:  adding hdh1 ...
md:  adding hdg1 ...
md:  adding hdf1 ...
md:  adding hde1 ...
md: created md0
md: bind<hde1>
md: bind<hdf1>
md: bind<hdg1>
md: bind<hdh1>
md: running: <hdh1><hdg1><hdf1><hde1>
md: kicking non-fresh hdh1 from array!
md: unbind<hdh1>
md: export_rdev(hdh1)
md: md0: raid array is not clean -- starting background reconstruction
raid5: device hdg1 operational as raid disk 2
raid5: device hdf1 operational as raid disk 1
raid5: device hde1 operational as raid disk 0
raid5: cannot start dirty degraded array for md0
RAID5 conf printout:
 --- rd:4 wd:3 fd:1
 disk 0, o:1, dev:hde1
 disk 1, o:1, dev:hdf1
 disk 2, o:1, dev:hdg1
raid5: failed to run raid set md0
md: pers->run() failed ...
md: do_md_run() returned -22
md: md0 stopped.
md: unbind<hdg1>
md: export_rdev(hdg1)
md: unbind<hdf1>
md: export_rdev(hdf1)
md: unbind<hde1>
md: export_rdev(hde1)
md: ... autorun DONE.
ReiserFS: md0: warning: sh-2006: read_super_block: bread failed (dev md0,
block 2, size 4096)
ReiserFS: md0: warning: sh-2006: read_super_block: bread failed (dev md0,
block 16, size 4096)
ReiserFS: md0: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on md0

------------------------------


admin root # uname -a
Linux admin 2.6.10 #4 SMP Tue Jan 4 15:56:19 EET 2005 i686 Pentium III
(Coppermine) GenuineIntel GNU/Linux

admin root # cat /proc/mdstat
Personalities : [raid5] [multipath]
unused devices: <none>

admin root # cat /etc/raidtab
raiddev /dev/md0
        raid-level              5
        nr-raid-disks           4
        nr-spare-disks          0
        persistent-superblock   1
        parity-algorithm        left-symmetric
        chunk-size              64

        device                  /dev/hde1
        raid-disk               0

        device                  /dev/hdf1
        raid-disk               1

        device                  /dev/hdg1
        raid-disk               2

        device                  /dev/hdh1
        raid-disk               3


To hdh to ekana pali fdisk mpas kai ton di kai ton kani rebuild alla ta idia
lei! Exo kani poli googling alla den exo vri kapia lisi kai fovame min ta kano
xirotera!Ta exia ine poli simantika kai exo pathi egefaliko.

Thnx

PS: epidi to raid to eftiaksa me to raid tools opote to config tou ine sto
/etc/raidtab fovame na to pirakso me to mdadm mipos kai ta kano xirotera.Den
ime sigouros an afto tha diavasi sosta to raid.


-- 
Tasos Varoudis
email: varoudis at hellug.gr 




More information about the Linux-greek-users mailing list