ソスソスRAIDソスVソスXソスeソスソスソスソスRAIDソスソス

ソスナ終ソスXソスVソスソスソスF 2017.11.25

ソスソスソスTソスv

ソスTソス[ソスoソス[ソスフハソス[ソスhソスfソスBソスXソスNソスフ擾ソスノゑソスソスfソス[ソス^ソスrソスソスソスソスhソスソスソスソスソス゚、RAID1ソスノゑソスソスfソスBソスXソスNソスフ難ソスdソスソスソスソスソスsソスソスソスB
ソスソスソスソスソスナは、ソスソスソスノ費ソスRAIDソスソスヤで運ソスpソスソスソスフシソスXソスeソスソスソスノハソス[ソスhソスfソスBソスXソスNソス増設ゑソスソスソスRAIDソスソスソスソスソスソスB
ソスネゑソスソスAソスpソス[ソスeソスBソスVソスソスソスソスソスソスヤは茨ソスツのハソス[ソスhソスfソスBソスXソスNソスソスOSソスCソスソスソスXソスgソス[ソスソスソスソスソスフデソスtソスHソスソスソスgソスン抵ソスソスヤゑソスOソスソスニゑソスソスソスB

ソスyRAIDソスソスソスOソスフ擾ソスヤ】
/bootソスEソスEソスE/dev/sda1
/ソスEソスEソスE/dev/sda2ソスナ構ソスソスソスソスソスソスソス{ソスソスソスソスソス[ソスソスソスOソスソスソス[ソスvVolGroup00ソスフ論ソスソスソス{ソスソスソスソスソス[ソスソス LogVol00
swapソスEソスEソスE/dev/sda2ソスナ構ソスソスソスソスソスソスソス{ソスソスソスソスソス[ソスソスソスOソスソスソス[ソスvVolGroup00ソスソス ソス_ソスソスソス{ソスソスソスソスソス[ソスソスLogVol01

ソスyRAIDソスソスソスソスフ擾ソスヤ】
/bootソスEソスEソスE/dev/md0
/ソスEソスEソスE/dev/md1ソスナ構ソスソスソスソスソスソスソス{ソスソスソスソスソス[ソスソスソスOソスソスソス[ソスvVolGroup00ソスソス ソス_ソスソスソス{ソスソスソスソスソス[ソスソスLogVol00
swapソスEソスEソスE/dev/md1ソスナ構ソスソスソスソスソスソスソス{ソスソスソスソスソス[ソスソスソスOソスソスソス[ソスvVolGroup00ソスソス ソス_ソスソスソス{ソスソスソスソスソス[ソスソスLogVol01
ソスソス/dev/mdソスヘ奇ソスソスソスソスnソス[ソスhソスfソスBソスXソスN/dev/sdaソスニ新ソスnソス[ソスhソスfソスBソスXソスN/dev/sdbソスナ構ソスソスソスソスソスソスRAIDソスfソスoソスCソスX


ソスソスソスVソスnソス[ソスhソスfソスBソスXソスNソスソスソスソスソスソス

[root@centos ~]# fdisk -lソス@ソスソスソス@ソスnソス[ソスhソスfソスBソスXソスNソスpソス[ソスeソスBソスVソスソスソスソスソスmソスF

Disk /dev/sda: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14         522     4088542+  8e  Linux LVM

Disk /dev/sdb: 4294 MB, 4294967296 bytesソス@ソスソスソス@ソスヌ会ソスソスnソス[ソスhソスfソスBソスXソスNソスソス/dev/sdbソスニゑソスソスト認ソスソス
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

[root@centos ~]# fdisk /dev/sdbソス@ソスソスソス@ソスVソスnソス[ソスhソスfソスBソスXソスNソスpソス[ソスeソスBソスVソスソスソスソスソスン抵ソス
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): nソス@ソスソスソス@n(ソスVソスKソスpソス[ソスeソスBソスVソスソスソスソスソス成)ソスソスソスソス
Command action
   e   extended
   p   primary partition (1-4)
pソス@ソスソスソス@p(ソスソス{ソスpソス[ソスeソスBソスVソスソスソスソス)ソスソスソスソス
Partition number (1-4): 1ソス@ソスソスソス@1(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス
First cylinder (1-522, default 1): 1ソス@ソスソスソス@1(/dev/sda1ソスフパソス[ソスeソスBソスVソスソスソスソスソスソスソスソスソスト開ソスnソスハ置)ソスソスソスソス
Last cylinder or +size or +sizeM or +sizeK (1-522, default 522): 13ソス@ソスソスソス@13(/dev/sda1ソスフパソス[ソスeソスBソスVソスソスソスソスソスソスソスソスソスト終ソスソスソスハ置)ソスソスソスソス

Command (m for help): nソス@ソスソスソス@n(ソスVソスKソスpソス[ソスeソスBソスVソスソスソスソスソス成)ソスソスソスソス
Command action
   e   extended
   p   primary partition (1-4)
pソス@ソスソスソス@p(ソスソス{ソスpソス[ソスeソスBソスVソスソスソスソス)ソスソスソスソス
Partition number (1-4): 2ソス@ソスソスソス@2(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス
First cylinder (14-522, default 14): 14ソス@ソスソスソス@14(/dev/sda2ソスフパソス[ソスeソスBソスVソスソスソスソスソスソスソスソスソスト開ソスnソスハ置)ソスソスソスソス
Last cylinder or +size or +sizeM or +sizeK (14-522, default 522): 522ソス@ソスソスソス@522(/dev/sda2ソスフパソス[ソスeソスBソスVソスソスソスソスソスソスソスソスソスト終ソスソスソスハ置)ソスソスソスソス

Command (m for help): tソス@ソスソスソス@t(ソスVソスXソスeソスソスIDソスン抵ソス)ソスソスソスソス
Partition number (1-4): 1ソス@ソスソスソス@1(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス
Hex code (type L to list codes): fdソス@ソスソスソス@fd(RAIDソスVソスXソスeソスソスID)ソスソスソスソス
Changed system type of partition 1 to fd (Linux raid autodetect)

Command (m for help): tソス@ソスソスソス@t(ソスVソスXソスeソスソスIDソスン抵ソス)ソスソスソスソス
Partition number (1-4): 2ソス@ソスソスソス@2(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス
Hex code (type L to list codes): fdソス@ソスソスソス@fd(RAIDソスVソスXソスeソスソスID)ソスソスソスソス
Changed system type of partition 2 to fd (Linux raid autodetect)

Command (m for help): aソス@ソスソスソス@a(ソスuソス[ソスgソスツ能ソスtソスソスソスOソスン抵ソス)ソスソスソスソス
Partition number (1-4): 1ソス@ソスソスソス@1(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス

Command (m for help): pソス@ソスソスソス@p(ソスpソス[ソスeソスBソスVソスソスソスソスソス\ソスソス)ソスソスソスソス

Disk /dev/sdb: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   fd  Linux raid autodetect
/dev/sdb2              14         522     4088542+  fd  Linux raid autodetect
BootソスAStartソスAEndソスソスソスソスソスソスソスnソス[ソスhソスfソスBソスXソスN/dev/sdaソスニ難ソスソスソスソスン抵ソスノなゑソスソストゑソスソス驍アソスニゑソスソスmソスF

Command (m for help): wソス@ソスソスソス@w(ソスpソス[ソスeソスBソスVソスソスソスソスソスソスソスfソスBソスXソスNソスヨ擾ソスソスソスソスソスソスソス)ソスソスソスソス
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

ソスソスソスVソスnソス[ソスhソスfソスBソスXソスNソスソスRAIDソスfソスoソスCソスXソス成

[root@centos ~]# mdadm --create /dev/md0 --auto=yes --level=raid1 --raid-devices=2 missing /dev/sdb1
ソス@ソスソスソス@/dev/sdb1ソスソスRAID1ソスソスソスxソスソスソスソスRAIDソスfソスoソスCソスX(/dev/md0)ソスソスソス成
mdadm: array /dev/md0 started.

[root@centos ~]# mdadm --create /dev/md1 --auto=yes --level=raid1 --raid-devices=2 missing /dev/sdb2
ソス@ソスソスソス@/dev/sdb2ソスソスRAID1ソスソスソスxソスソスソスソスRAIDソスfソスoソスCソスX(/dev/md1)ソスソスソス成
mdadm: array /dev/md1 started.

[root@centos ~]# echo 'DEVICE /dev/hd[a-z]* /dev/sd[a-z]*' > /etc/mdadm.confソス@ソスソスソス@RAIDソスン抵ソスtソス@ソスCソスソスソス成(1/3)

[root@centos ~]# mdadm --detail --scan >> /etc/mdadm.confソス@ソスソスソス@RAIDソスン抵ソスtソス@ソスCソスソスソス成(2/3)

[root@centos ~]# echo MAILADDR root >> /etc/mdadm.confソス@ソスソスソス@RAIDソスン抵ソスtソス@ソスCソスソスソス成(3/3)

[root@centos ~]# cat /etc/mdadm.confソス@ソスソスソス@RAIDソスン抵ソスtソス@ソスCソスソスソスmソスF
DEVICE /dev/hd[a-z]* /dev/sd[a-z]*
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=8822f2a7:9bf2a98a:b6dc96e9:bbc95816
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=6465453d:77c15499:86530cb3:b2ee8976
MAILADDR root

ソスソス/bootソスソスRAIDソスソス

[root@centos ~]# mkfs -t ext3 /dev/md0ソス@ソスソスソス@RAIDソスfソスoソスCソスX(/dev/md0)ソスヨフソス@ソスCソスソスソスVソスXソスeソスソスソス成
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
26104 inodes, 104320 blocks
5216 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
13 block groups
8192 blocks per group, 8192 fragments per group
2008 inodes per group
Superblock backups stored on blocks: 
        8193, 24577, 40961, 57345, 73729

Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 36 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

[root@centos ~]# mount /dev/md0 /mnt/ソス@ソスソスソス@RAIDソスfソスoソスCソスX(/dev/md0)ソスソス/mntソスヨマソスEソスソスソスg

[root@centos ~]# rsync -avz -e ssh --delete /boot/ /mnt/ソス@ソスソスソス@/bootソスソス/mntソスヨコソスsソス[(ソス~ソスソスソス[ソスソスソスソスソスO)

[root@centos ~]# umount /mnt/ソス@ソスソスソス@/mntソスAソスソスソス}ソスEソスソスソスg

[root@centos ~]# umount /boot/ソス@ソスソスソス@/bootソスAソスソスソス}ソスEソスソスソスg

[root@centos ~]# mount /dev/md0 /boot/ソス@ソスソスソス@RAIDソスfソスoソスCソスX(/dev/md0)ソスソス/bootソスヨマソスEソスソスソスg

[root@centos ~]# dfソス@ソスソスソス@ソスfソスBソスXソスNソスソスヤ表ソスソス
Filesystem           1K-ソスuソスソスソスbソスN    ソスgソスp   ソスgソスpソスソス ソスgソスp% ソス}ソスEソスソスソスgソスハ置
/dev/mapper/VolGroup00-LogVol00
                       3428080   1227404   2023732  38% /
tmpfs                   127852         0    127852   0% /dev/shm
/dev/md0                101018     10960     84842  12% /bootソス@ソスソスソス@RAIDソスfソスoソスCソスX(/dev/md0)ソスソス/bootソスノマソスEソスソスソスgソスソスソスソストゑソスソス驍アソスニゑソスソスmソスF

[root@centos ~]# vi /etc/fstabソス@ソスソスソス@/etc/fstabソスメ集
LABEL=/boot             /boot                   ext3    defaults        1 2
ソスソス
/dev/md0                /boot                   ext3    defaults        1 2
ソス@ソスソスソス@ソスVソスXソスeソスソスソスNソスソスソスソスソスソスRAIDソスfソスoソスCソスX(/dev/md0)ソスソス/bootソスニゑソスソストマソスEソスソスソスgソスソスソスソス

ソスソスソス{ソスソスソスソスソス[ソスソスソスOソスソスソス[ソスvソスソスRAIDソスソス

[root@centos ~]# pvcreate /dev/md1ソス@ソスソスソス@RAIDソスfソスoソスCソスX(/dev/md1)ソス物暦ソスソス{ソスソスソスソスソス[ソスソスソスニゑソスソスト登ソス^
  Physical volume "/dev/md1" successfully created

[root@centos ~]# vgextend VolGroup00 /dev/md1ソス@ソスソスソス@ソスソスソスソスソス{ソスソスソスソスソス[ソスソス(/dev/md1)ソスソスソス{ソスソスソスソスソス[ソスソスソスOソスソスソス[ソスvソスヨ登ソス^
  Volume group "VolGroup00" successfully extended

[root@centos ~]# pvmove /dev/sda2 /dev/md1ソス@ソスソスソス@/dev/sda2ソスフデソス[ソス^ソスソス/dev/md1ソスヨ移難ソス
ソスソスソスfソスBソスXソスNソスeソスハにゑソス闔橸ソスヤゑソスソスソスソスソスソスソス(4GBソスナ厄ソス10ソスソス)

[root@centos ~]# vgreduce VolGroup00 /dev/sda2ソス@ソスソスソス@/dev/sda2ソスソスソス{ソスソスソスソスソス[ソスソスソスOソスソスソス[ソスvソスソスソスソス除
  Removed "/dev/sda2" from volume group "VolGroup00"

ソスソスソスVソスXソスeソスソスソスト起ソスソス

[root@centos ~]# mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`ソス@ソスソスソス@ソスCソスjソスVソスソスソスソスRAMソスfソスBソスXソスNソスCソスソスソス[ソスWソスト作成

[root@centos ~]# rebootソス@ソスソスソス@ソスVソスXソスeソスソスソスト起ソスソス
  1. ソスuソス[ソスgソスソスソスjソスソスソス[ソス\ソスソス
    ソスKソスソスソスネキソス[ソスソスソスソスソスソス



  2. ソスuソス[ソスgソスRソス}ソスソスソスhソスメ集
    eソスLソス[ソスソスソスソス



  3. rootソスRソス}ソスソスソスhソスメ集
    eソスLソス[ソスソスソスソス



  4. ソスVソスnソス[ソスhソスfソスBソスXソスNソスソスrootソスノ変更
    hd0ソスソスhd1ソスノ変更ソスソスソスソスENTER



  5. ソスuソス[ソスg
    bソスLソス[ソスソスソスソス




ソスソスソスソスソスソスソスnソス[ソスhソスfソスBソスXソスNソスソスソスソスソスソス

[root@centos ~]# pvremove /dev/sda2ソス@ソスソスソス@/dev/sda2ソスソスソス{ソスソスソスソスソス[ソスソスソスOソスソスソス[ソスvソスソスソスソス除
  Labels on physical volume "/dev/sda2" successfully wiped

[root@centos ~]# fdisk -l /dev/sdbソス@ソスソスソス@ソスVソスnソス[ソスhソスfソスBソスXソスNソスpソス[ソスeソスBソスVソスソスソスソスソス\ソスソス

Disk /dev/sdb: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   fd  Linux raid autodetect
/dev/sdb2              14         522     4088542+  fd  Linux raid autodetect

[root@centos ~]# fdisk /dev/sdaソス@ソスソスソス@ソスソスソスソスソスnソス[ソスhソスfソスBソスXソスNソスpソス[ソスeソスBソスVソスソスソスソスソスン抵ソス

Command (m for help): pソス@ソスソスソス@p(ソスpソス[ソスeソスBソスVソスソスソスソスソス\ソスソス)ソスソスソスソス

Disk /dev/sda: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14         522     4088542+  8e  Linux LVM

Command (m for help): dソス@ソスソスソス@d(ソスpソス[ソスeソスBソスVソスソスソスソスソス除)ソスソスソスソス
Partition number (1-4): 1ソス@ソスソスソス@1(ソス除ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス

Command (m for help): dソス@ソスソスソス@d(ソスpソス[ソスeソスBソスVソスソスソスソスソス除)ソスソスソスソス
Selected partition 2ソス@ソスソスソス@ソスソスソスナ鯉ソスフパソス[ソスeソスBソスVソスソスソスソスソス除ソスソスソスヘ削除ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソスソスソスソスソスソスsソスv(ソスソスソスソスソスIソスソスソスソスソスソスソス)

Command (m for help): pソス@ソスソスソス@p(ソスpソス[ソスeソスBソスVソスソスソスソスソス\ソスソス)ソスソスソスソス

Disk /dev/sda: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
ソス@ソス@ソスpソス[ソスeソスBソスVソスソスソスソスソスソスソスネゑソスソスソスソスニゑソスソスmソスF

Command (m for help): nソス@ソスソスソス@n(ソスVソスKソスpソス[ソスeソスBソスVソスソスソスソスソス成)ソスソスソスソス
Command action
   e   extended
   p   primary partition (1-4)
pソス@ソスソスソス@p(ソスソス{ソスpソス[ソスeソスBソスVソスソスソスソス)ソスソスソスソス
Partition number (1-4): 1ソス@ソスソスソス@1(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス
First cylinder (1-522, default 1): 1ソス@ソスソスソス@1(/dev/sdb1ソスフパソス[ソスeソスBソスVソスソスソスソスソスソスソスソスソスト開ソスnソスハ置)ソスソスソスソス
Last cylinder or +size or +sizeM or +sizeK (1-522, default 522): 13ソス@ソスソスソス@13(/dev/sdb1ソスフパソス[ソスeソスBソスVソスソスソスソスソスソスソスソスソスト終ソスソスソスハ置)ソスソスソスソス

Command (m for help): nソス@ソスソスソス@n(ソスVソスKソスpソス[ソスeソスBソスVソスソスソスソスソス成)ソスソスソスソス
Command action
   e   extended
   p   primary partition (1-4)
pソス@ソスソスソス@p(ソスソス{ソスpソス[ソスeソスBソスVソスソスソスソス)ソスソスソスソス
Partition number (1-4): 2ソス@ソスソスソス@2(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス
First cylinder (14-522, default 14): 14ソス@ソスソスソス@14(/dev/sdb2ソスフパソス[ソスeソスBソスVソスソスソスソスソスソスソスソスソスト開ソスnソスハ置)ソスソスソスソス
Last cylinder or +size or +sizeM or +sizeK (14-522, default 522): 522ソス@ソスソスソス@522(/dev/sdb2ソスフパソス[ソスeソスBソスVソスソスソスソスソスソスソスソスソスト終ソスソスソスハ置)ソスソスソスソス

Command (m for help): tソス@ソスソスソス@t(ソスVソスXソスeソスソスIDソスン抵ソス)ソスソスソスソス
Partition number (1-4): 1ソス@ソスソスソス@1(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス
Hex code (type L to list codes): fdソス@ソスソスソス@fd(RAIDソスVソスXソスeソスソスID)ソスソスソスソス
Changed system type of partition 1 to fd (Linux raid autodetect)

Command (m for help): tソス@ソスソスソス@t(ソスVソスXソスeソスソスIDソスン抵ソス)ソスソスソスソス
Partition number (1-4): 2ソス@ソスソスソス@2(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス
Hex code (type L to list codes): fdソス@ソスソスソス@fd(RAIDソスVソスXソスeソスソスID)ソスソスソスソス
Changed system type of partition 2 to fd (Linux raid autodetect)

Command (m for help): aソス@ソスソスソス@a(ソスuソス[ソスgソスツ能ソスtソスソスソスOソスン抵ソス)ソスソスソスソス
Partition number (1-4): 1ソス@ソスソスソス@1(ソスpソス[ソスeソスBソスVソスソスソスソスソスヤ搾ソス)ソスソスソスソス

Command (m for help): pソス@ソスソスソス@p(ソスpソス[ソスeソスBソスVソスソスソスソスソス\ソスソス)ソスソスソスソス

Disk /dev/sda: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   fd  Linux raid autodetect
/dev/sda2              14         522     4088542+  fd  Linux raid autodetect
BootソスAStartソスAEndソスAIdソスASystemソスソスソスVソスnソス[ソスhソスfソスBソスXソスN/dev/sdbソスニ難ソスソスソスソスン抵ソスノなゑソスソストゑソスソス驍アソスニゑソスソスmソスF

Command (m for help): wソス@ソスソスソス@w(ソスpソス[ソスeソスBソスVソスソスソスソスソスソスソスfソスBソスXソスNソスヨ擾ソスソスソスソスソスソスソス)ソスソスソスソス
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

ソスソスソスソスソスソスソスnソス[ソスhソスfソスBソスXソスNソスソスRAIDソスfソスoソスCソスXソスヨ組ソスン搾ソスソスソス

[root@centos ~]# mdadm /dev/md0 --add /dev/sda1ソス@ソスソスソス@/dev/sda1ソスソスRAIDソスfソスoソスCソスX(/dev/md0)ソスヨ組ソスン搾ソスソスソス
mdadm: added /dev/sda1

[root@centos ~]# mdadm /dev/md1 --add /dev/sda2ソス@ソスソスソス@/dev/sda2ソスソスRAIDソスfソスoソスCソスX(/dev/md1)ソスヨ組ソスン搾ソスソスソス
mdadm: added /dev/sda2

[root@centos ~]# watch cat /proc/mdstatソス@ソスソスソス@RAIDソスfソスoソスCソスXソスソスソスソスソスソスヤ確ソスF
RAIDソスfソスoソスCソスXソスソスソスソスソスソスソスソスソス
Personalities : [raid1] 
md0 : active raid1 sda1[0] sdb1[1]
      104320 blocks [2/2] [UU]
      
md1 : active raid1 sda2[2] sdb2[1]
      4088448 blocks [2/1] [_U]
      [=>...................]  recovery =  5.6% (230272/4088448) finish=3.9min speed=16448K/sec
      
unused devices: 
ソスE
ソスE
ソスE
RAIDソスfソスoソスCソスXソスソスソスソスソスソスソスソスソスソスソス
Personalities : [raid1] 
md0 : active raid1 sda1[0] sdb1[1]
      104320 blocks [2/2] [UU]
      
md1 : active raid1 sda2[0] sdb2[1]
      4088448 blocks [2/2] [UU]
      
unused devices: 

CTRL+CソスLソス[ソスソスソスソスソスナ終ソスソス

ソスソスGRUB(ソスuソス[ソスgソスソスソス[ソス_ソス[)ソスCソスソスソスXソスgソス[ソスソス

[root@centos ~]# grubソス@ソスソスソス@GRUBソスVソスFソスソスソスソスソス[ソスhソスNソスソス

    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]

grub> root (hd1,0)ソス@ソスソスソス@ソスVソスnソス[ソスhソスfソスBソスXソスNソスソスrootソスノゑソスソスソス
 Filesystem type is ext2fs, partition type 0xfd

grub> setup (hd1)ソス@ソスソスソス@ソスVソスnソス[ソスhソスfソスBソスXソスNソスソスGRUBソスCソスソスソスXソスgソス[ソスソス
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd1)"...  15 sectors are embedded.
succeeded
 Running "install /grub/stage1 (hd1) (hd1)1+15 p (hd1,0)/grub/stage2 /grub/grub.conf"... succeeded
Done.

grub> root (hd0,0)ソス@ソスソスソス@ソスソスソスnソス[ソスhソスfソスBソスXソスNソスソスrootソスノゑソスソスソス
 Filesystem type is ext2fs, partition type 0xfd

grub> setup (hd0)ソス@ソスソスソス@ソスソスソスnソス[ソスhソスfソスBソスXソスNソスソスGRUBソスCソスソスソスXソスgソス[ソスソス
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd0)"...  15 sectors are embedded.
succeeded
 Running "install /grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/grub/stage2 /grub/grub.conf"... succeeded
Done.

grub> quitソス@ソスソスソス@GRUBソスVソスFソスソスソスソスソス[ソスhソスIソスソス

[root@centos ~]# vi /etc/sysconfig/selinuxソス@ソスソスソス@SELinuxソスン抵ソスtソス@ソスCソスソスソスメ集
SELINUX=enforcing
ソスソス
SELINUX=disabledソス@ソスソスソス@SELinuxソスソスソスソスソスソス
ソスソスkernelソスAソスbソスvソスfソス[ソスgソスソスフサソス[ソスoソス[ソスト起ソスソスソスソスソスソスkernel panicソスノなゑソスソストサソス[ソスoソス[ソスソスソスNソスソスソスナゑソスソスネゑソスソスネるたソス゚、SELinuxソスヘ厄ソスソスソスソスソスソスソスソスソス

[root@centos ~]# rebootソス@ソスソスソス@ソスVソスXソスeソスソスソスト起ソスソス


ソスソスソスヨ連ソスRソスソスソスeソスソスソスc

<!ソス\ソスeソスLソスXソスgソスフみゑソス4ソスsソス\ソスソスソスノ追会ソスソスソスCソスソスソスソスソスソス\>



ソスソスソスソスソスフペソス[ソスWソスフトソスbソスvソスヨ戻ゑソス

ソスvソスソスソスCソスoソスVソス[ソス|ソスソスソスVソス[
centossrv.com