In de Nassen draaien 2 harde schijven in mirroring, ook wel Raid 1. Ook daar zijn een aantal trucendozen bedacht om de gezondheid van het Raid systeem te monitoren.
Allereerst de /proc/mdstat
amst@n-amst:~$ cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 sdb1[0] sdc1[1] 1953513408 blocks [2/2] [UU] [==============>......] resync = 73.9% (1444609728/1953513408) finish=108.4min speed=78216K/sec unused devices: <none>
Blijkbaar is de schijf bezig met een resync actie. Mooi zijn werk laten doen.
De tool voor het beheren van raid is mdadm:
amst@n-amst:~$ sudo mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Sun Mar 20 22:25:30 2011
Raid Level : raid1
Array Size : 1953513408 (1863.02 GiB 2000.40 GB)
Used Dev Size : 1953513408 (1863.02 GiB 2000.40 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Wed Mar 23 21:15:24 2011
State : active, resyncing
http://tldp.org/HOWTO/Software-RAID-HOWTO-6.html Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Rebuild Status : 76% complete
UUID : 787d85a0:c30f53f6:8f7e44d1:bddd6b75
Events : 0.27
Number Major Minor Raid DeviceState
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1