Problem s obnovou mirroru
Petr Baláš
petr.balas na gmail.com
Pátek Květen 25 10:25:35 CEST 2007
On 5/25/07, Pavel Lisý <pali na tmapy.cz> wrote:
> Petr Baláš píše v Čt 24. 05. 2007 v 13:59 +0200:
> >
> > Stihlo uz se pole regenerovat? Copak vypise
> > cat /proc/mdstat
> Po regeneraci to pise toto:
>
> # cat /proc/mdstat
> Personalities : [raid1]
> read_ahead 1024 sectors
> Event: 4
> md0 : active raid1 hdf1[1] hde1[0]
> 117218176 blocks [2/2] [UU]
To vypadá OK.
> unused devices: <none>
>
> # mdadm --examine /dev/hde1
> /dev/hde1:
> Magic : a92b4efc
> Version : 00.90.00
> UUID : f5f3d503:7a33f220:f787222e:c5173645
> Creation Time : Sun Nov 7 16:34:22 2004
> Raid Level : raid1
> Device Size : 117218176 (111.79 GiB 120.03 GB)
> Raid Devices : 2
> Total Devices : 2
> Preferred Minor : 0
>
> Update Time : Thu May 24 15:22:30 2007
> State : dirty, no-errors
> Active Devices : 2
> Working Devices : 2
> Failed Devices : 0
> Spare Devices : 0
> Checksum : 64d1de22 - correct
> Events : 0.110
>
>
> Number Major Minor RaidDevice State
> this 0 33 1 0 active sync /dev/hde1
> 0 0 33 1 0 active sync /dev/hde1
> 1 1 33 65 1 active sync /dev/hdf1
>
> # mdadm --examine /dev/hdf1
> /dev/hdf1:
> Magic : a92b4efc
> Version : 00.90.00
> UUID : f5f3d503:7a33f220:f787222e:c5173645
> Creation Time : Sun Nov 7 16:34:22 2004
> Raid Level : raid1
> Device Size : 117218176 (111.79 GiB 120.03 GB)
> Raid Devices : 2
> Total Devices : 2
> Preferred Minor : 0
>
> Update Time : Thu May 24 15:22:30 2007
> State : dirty, no-errors
> Active Devices : 2
> Working Devices : 2
> Failed Devices : 0
> Spare Devices : 0
> Checksum : 64d1de64 - correct
> Events : 0.110
>
>
> Number Major Minor RaidDevice State
> this 1 33 65 1 active sync /dev/hdf1
> 0 0 33 1 0 active sync /dev/hde1
> 1 1 33 65 1 active sync /dev/hdf1
> [root na hezoun root]# cat /proc/mdstat
> Personalities : [raid1]
> read_ahead 1024 sectors
> Event: 4
> md0 : active raid1 hdf1[1] hde1[0]
> 117218176 blocks [2/2] [UU]
>
> unused devices: <none>
>
>
> Vse se tvari OK, ze?
Ještě jeden dotaz - kdo skládá to pole? Pokud kernel - mají obě partition
typ FD (Linux RAID autodetect)?
--
Petr Baláš - petr.balas at gmail dot com
Další informace o konferenci Linux