tswxl:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/md1 4921404 804728 3866680 18% / tmpfs 257388 0 257388 0% /lib/init/rw tmpfs 257388 0 257388 0% /dev/shm /dev/root.old 31729 23459 8270 74% /initrd /dev/md0 991928 176928 815000 18% /boot tswxl:~# cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/md1 / xfs defaults,noatime 0 0 proc /proc proc defaults 0 0 /dev/md10 swap swap defaults 0 0 /dev/md0 /boot ext3 defaults,noatime 0 0 #/dev/sda6 /mnt/disk1 xfs defaults,noatime 0 0 #/dev/sdb6 /mnt/disk2 xfs defaults,noatime 0 0 tswxl:~#sda6, sdb6 はマウントしていないので、アレイの作成から。
tswxl:~# mdadm -C /dev/md2 -l1 -n2 /dev/sda6 /dev/sdb6 md: bind<sda6> md: bind<sdb6> md: md2: raid array is not clean -- starting background reconstruction raid1: raid set md2 active with 2 out of 2 mirrors md: resync of RAID array md2 md: minimum _guaranteed_ speed: 1000 KB/sec/disk. md: using maximum available idle IO bandwidth (but not more than 50000 KB/sec) for resync. md: using 128k window, over a total of 237198464 blocks. mdadm: array /dev/md2 started. tswxl:~# cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] md2 : active raid1 sdb6[1] sda6[0] 237198464 blocks [2/2] [UU] [>....................] resync = 1.5% (3722368/237198464) finish=79.5min speed=48877K/sec md1 : active raid1 sda2[0] sdb2[1] 4999936 blocks [2/2] [UU] md10 : active raid1 sda5[0] sdb5[1] 999872 blocks [2/2] [UU] md0 : active raid1 sda1[0] sdb1[1] 999872 blocks [2/2] [UU] unused devices: <none> tswxl:~#1時間以上かかる。。。
|
← RAID1 化、再び |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ データ領域の RAID1 化(2) |