[LUGOS] RAID
Nejc Skoberne
nejc.skoberne at guest.arnes.si
Wed Jun 19 15:27:26 CEST 2002
Zdravo.
> Ma, c(e bi se zadeva recimo samo nasilno rebutala, potem bi sistem sam
> rekonstruiral mirror, /proc/mdstat pa bi med drugim vseboval ETA
> rekonstrukcije. Vzrok za Nejc(evo situacijo je po mojem mnenju malo bolj
> resen. Lahko je sicer softverski, npr. "cat /dev/zero > /dev/sda", lahko
> pa je tudi hardverski.
> Glede na to, da je sda zdaj neaktiven, bi ga lahko najbrz( brez tez(av
> stestiral.
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:39 Vangelis kernel: sda: sda1 sda2
Jun 18 19:55:39 Vangelis kernel: sdb: sdb1 sdb2
Jun 18 19:55:39 Vangelis kernel: sdc: sdc1 sdc2
Jun 18 19:55:39 Vangelis kernel: md: raid1 personality registered as nr 3
Jun 18 19:55:39 Vangelis kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Jun 18 19:55:39 Vangelis kernel: md: Autodetecting RAID arrays.
Jun 18 19:55:39 Vangelis kernel: [events: 00000014]
Jun 18 19:55:39 Vangelis kernel: [events: 00000018]
Jun 18 19:55:40 Vangelis kernel: md: autorun ...
Jun 18 19:55:40 Vangelis kernel: md: considering sdb1 ...
Jun 18 19:55:40 Vangelis kernel: md: adding sdb1 ...
Jun 18 19:55:40 Vangelis kernel: md: adding sda1 ...
Jun 18 19:55:40 Vangelis kernel: md: created md0
Jun 18 19:55:40 Vangelis kernel: md: bind<sda1,1>
Jun 18 19:55:40 Vangelis kernel: md: bind<sdb1,2>
Jun 18 19:55:40 Vangelis kernel: md: running: <sdb1><sda1>
Jun 18 19:55:40 Vangelis kernel: md: sdb1's event counter: 00000018
Jun 18 19:55:40 Vangelis kernel: md: sda1's event counter: 00000014
Jun 18 19:55:40 Vangelis kernel: md: freshest: sdb1
Jun 18 19:55:40 Vangelis kernel: md: unbind<sda1,1>
Jun 18 19:55:40 Vangelis kernel: md: export_rdev(sda1)
Jun 18 19:55:41 Vangelis kernel: md: RAID level 1 does not need chunksize! Continuing anyway.
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.
--
Nejc Skoberne
Grajska ulica 5
SI-5220 Tolmin
E-mail: nejc.skoberne at guest.arnes.si
More information about the lugos-list
mailing list