Webシステム開発の雑多なアウトプット

AWS、プログラム、OSS等を中心に良かった本も。

ソフトウェアRAID5の作成

 ①RAID5の作成。

# mdadm -C /dev/md0 -l5 -n4 /dev/hdb[56] /dev/hdd[56]
mdadm: /dev/hdb5 appears to contain an ext2fs file system
    size=3023616K  mtime=Tue Dec  8 08:20:55 2009
Continue creating array? y
mdadm: array /dev/md0 started.

 ②途中経過の確認。

# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 hdd6[4] hdd5[2] hdb6[1] hdb5[0]
      2931264 blocks level 5, 64k chunk, algorithm 2 [4/3] [UUU_]
      [===>.................]  recovery = 15.3% (150800/977088) finish=2.9min speed=4712K/sec
unused devices: <none>