[LUGOS] RAID blues
Miha Furlan
miha at furlan.biz
Mon Dec 12 15:32:06 CET 2005
Nastavitven fajl za mdadm je po defaultu /etc/mdadm.conf:
server1->root root :P cat /etc/mdadm.conf
DEVICE /dev/hda1 /dev/hde2
ARRAY /dev/md0 devices=/dev/hda1,/dev/hde2 level=1
server1->root root :P
Sam sem raid delal z direktnim vpisovanjem tja notri.
Lep pozdrav,
Miha
On Mon, 12 Dec 2005 13:13:06 +0100, Uroš Golja <goljau at comcom.si> wrote:
> Pozdrav,
>
> že ob inštalaciji Debiana (etch) sem spravil /dev/sda1 in /dev/sdb1 v
> RAID1 (/dev/md0). Potem sem želel v array dodati še eno particijo,
> /dev/sdc, kar mi je nekako uspelo (čaral sem z mdadm -G in mdadm -a). Ko
> se je array rebuildal, sem dobil tole:
> lit01s01:~# mdadm -D /dev/md0
> /dev/md0:
> Version : 00.90.01
> Creation Time : Thu Dec 8 14:59:25 2005
> Raid Level : raid1
> Array Size : 8747264 (8.34 GiB 8.96 GB)
> Device Size : 8747264 (8.34 GiB 8.96 GB)
> Raid Devices : 3
> Total Devices : 3
> Preferred Minor : 0
> Persistence : Superblock is persistent
>
> Update Time : Mon Dec 12 13:00:14 2005
> State : clean
> Active Devices : 3
> Working Devices : 3
> Failed Devices : 0
> Spare Devices : 0
>
> UUID : 8d412cb7:43025322:cb394580:f2a3163c
> Events : 0.103058
>
> Number Major Minor RaidDevice State
> 0 8 1 0 active sync /dev/sda1
> 1 8 17 1 active sync /dev/sdb1
> 2 8 33 2 active sync /dev/sdc1
> lit01s01:~#
>
> Do tu vse lepo in prav. Ampak ob vsakem rebootu, mi mdadm pokaže tole:
> lit01s01:~# mdadm -D /dev/md0
> /dev/md0:
> Version : 00.90.01
> Creation Time : Thu Dec 8 14:59:25 2005
> Raid Level : raid1
> Array Size : 8747264 (8.34 GiB 8.96 GB)
> Device Size : 8747264 (8.34 GiB 8.96 GB)
> Raid Devices : 3
> Total Devices : 2
> Preferred Minor : 0
> Persistence : Superblock is persistent
>
> Update Time : Mon Dec 12 13:11:16 2005
> State : clean, degraded
> Active Devices : 2
> Working Devices : 2
> Failed Devices : 0
> Spare Devices : 0
>
> UUID : 8d412cb7:43025322:cb394580:f2a3163c
> Events : 0.103166
>
> Number Major Minor RaidDevice State
> 0 8 1 0 active sync /dev/sda1
> 1 8 17 1 active sync /dev/sdb1
> 2 0 0 - removed
>
> Kaj pri Zevsu moram narediti, da bo /dev/md0 tudi po rebootu sestavljen
> iz treh naprav? Je kje kakšen konfiguracijski fajl, ki sem ga spregledal?
>
> LP,
> U.
> _______________________________________________
> lugos-list mailing list
> lugos-list at lugos.si
> http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list
More information about the lugos-list
mailing list