[LUGOS] RAID

Matjaz Terpin matjaz.terpin at ultra.si
Wed Jun 19 15:52:26 CEST 2002


Nejc Skoberne wrote:

>Poskusil sem mountat /dev/sda1. Podatki izgledajo v redu.
>
>root at Vangelis:~# e2fsck /dev/sda1
>e2fsck 1.26 (3-Feb-2002)
>/dev/sda1: recovering journal
>Clearing orphaned inode 143891 (uid=0, gid=0, mode=0100644, size=5503)
>Moving journal from /.journal to hidden inode.
>/dev/sda1: clean, 43592/251392 files, 172473/502000 blocks
>
>root at Vangelis:/mnt# e2fsck -f /dev/sda1
>e2fsck 1.26 (3-Feb-2002)
>Pass 1: Checking inodes, blocks, and sizes
>Pass 2: Checking directory structure
>Pass 3: Checking directory connectivity
>Pass 4: Checking reference counts
>Pass 5: Checking group summary information
>/dev/sda1: 43592/251392 files (0.3% non-contiguous), 172473/502000 blocks
>
>Tudi tuki zgleda v redu.
>
>Kako torej rocno rekonstruiram md0? mkraid /dev/md0?
>
>Tole je bilo ob rebootu:
>
>Jun 18 19:55:39 Vangelis kernel: Partition check:
>  
>
...

>Jun 18 19:55:41 Vangelis kernel: md: RAID level 1 does not need chunksize! Continuing anyway.
>
Tega ne razumem. Če se prav spomnim, bi moral v /etc-ju imeti fajl po 
imenu "raidtab", v katerem naj bi bila natančna konfiguracija vseh MD 
particij. Imaš ta fajl mogoče napačen? Nisem prepričan, da ga sam driver 
sploh kdaj prebere, ampak  če ga ne, čemu potem zgornji zapis? chunksize 
je sicer parameter, ki ga moraš recimo specificirati pri raid0.

>Jun 18 19:55:41 Vangelis kernel: md0: max total readahead window set to 124k
>Jun 18 19:55:41 Vangelis kernel: md0: 1 data-disks, max readahead per data-disk: 124k
>Jun 18 19:55:41 Vangelis kernel: raid1: device sdb1 operational as mirror 1
>Jun 18 19:55:41 Vangelis kernel: raid1: raid set md0 active with 1 out of 2 mirrors
>Jun 18 19:55:41 Vangelis kernel: md: updating md0 RAID superblock on device
>Jun 18 19:55:41 Vangelis kernel: md: sdb1 [events: 00000019]<6>(write) sdb1's sb offset: 2008000
>Jun 18 19:55:41 Vangelis kernel: md: recovery thread got woken up ...
>Jun 18 19:55:41 Vangelis kernel: md: recovery thread finished ...
>Jun 18 19:55:41 Vangelis kernel: md: ... autorun DONE.
>  
>
Dejstvo je, da se mi ob precejšnjem številu  nasilnih izpadov elektrike 
oziroma rebootov še nikoli ni zgodilo, da bi moral ročno rekonstruirati 
mirror. Tako da res  ne vem, kaj se je tebi zgodilo.

Malo pa mi smrdi po napačni konfiguraciji.
LP!

        Matjaž






More information about the lugos-list mailing list