Page 75 - RHEL8 BOOK
P. 75

6.     Faulty the partition (Corrupted / Removed)
                 [root@sun Raid5]# mdadm -f /dev/md0 /dev/sda10

          7.     Removed the partition
                 [root@sun Raid5]# mdadm -r /dev/md0 /dev/sda10

          8.     To Re add the partition
                 [root@sun Raid5]# mdadm -a /dev/md0 /dev/sda10

          9.     To see the RAID information
                 [root@sun Raid5]# mdadm /dev/md0

          10.    To stop the RAID
                 [root@sun~]# umount /Raid5
                 [root@sun~]# mdadm –s /dev/md0

          11.    Activate the RAID disk
                 [root@sun~]#mdadm –A /dev/md0 /dev/sda9 /dev/sda10 /dev/sda11 /dev/sda12

          12.    To see the RIAD information with file
                 [root@sun~]#cat /proc/mdstat

                 Note:- Before stopping RAID, we should note the partition list because while activation we must
                 maintains the partition list.






















                                                       S. Pradhan
                             (MCA, MBA-IT, BCA, CCNA, MCSA 2012, RHCE, ETHICAL HACKING)
                                             Email Id:-spradhan.iiht@gmail.com
                                                           75
   70   71   72   73   74   75   76   77   78   79   80