fdisk -l 

/dev/sda1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : ad67629c:35b2d41c:0d3a3325:e6adbcf0
           Name : FileServerbak:0
  Creation Time : Wed Oct 19 08:58:12 2016
     Raid Level : raid5
   Raid Devices : 6

 Avail Dev Size : 3906761858 sectors (1862.89 GiB 2000.26 GB)
     Array Size : 9766901760 KiB (9.10 TiB 10.00 TB)
  Used Dev Size : 3906760704 sectors (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262064 sectors, after=1154 sectors
          State : clean
    Device UUID : 454556e1:10162901:db3ff48a:6b332589

    Update Time : Fri Mar 12 14:17:05 2021
       Checksum : 3630bdf2 - correct
         Events : 3605

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)

(下略-----)

 

mdadm --examine /dev/sd*1

mdadm --assemble --scan


[root@localhost ~]# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : active raid5 sdk1[0] sdh1[6] sdc1[4] sdb1[3] sda1[2] sdl1[1]
      9766901760 blocks super 1.2 level 5, 512k chunk, algorithm 2 [6/6] [UUUUUU]

unused devices: <none>

[root@localhost ~]# mdadm --detail /dev/md127
/dev/md127:
           Version : 1.2
     Creation Time : Wed Oct 19 08:58:12 2016
        Raid Level : raid5
        Array Size : 9766901760 (9.10 TiB 10.00 TB)
     Used Dev Size : 1953380352 (1862.89 GiB 2000.26 GB)
      Raid Devices : 6
     Total Devices : 6
       Persistence : Superblock is persistent

       Update Time : Fri Mar 12 14:17:05 2021
             State : clean
    Active Devices : 6
   Working Devices : 6
    Failed Devices : 0
     Spare Devices : 0

            Layout : left-symmetric
        Chunk Size : 512K

Consistency Policy : resync

              Name : FileServerbak:0
              UUID : ad67629c:35b2d41c:0d3a3325:e6adbcf0
            Events : 3605

    Number   Major   Minor   RaidDevice State
       0       8      161        0      active sync   /dev/sdk1
       1       8      177        1      active sync   /dev/sdl1
       2       8        1        2      active sync   /dev/sda1
       3       8       17        3      active sync   /dev/sdb1
       4       8       33        4      active sync   /dev/sdc1
       6       8      113        5      active sync   /dev/sdh1

 

 

 


# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
# that this script will be executed during boot.

touch /var/lock/subsys/local
/bin/mount /dev/md127p1 /RAID1
/bin/mount /dev/md127p2 /RAID2
 

 

arrow
arrow
    全站熱搜

    阿貴貴 發表在 痞客邦 留言(0) 人氣()