XMEN BLOGGER: NAS DNS-320L w/ Alt-F - Check RAID status

Wednesday, March 01, 2017

NAS DNS-320L w/ Alt-F - Check RAID status



[root@DNS-320L]# cat /proc/mdstat

[root@DNS-320L]# mdadm --detail /dev/md1

[root@DNS-320L]# mdadm --examine /dev/sda2

[root@DNS-320L]# mdadm --examine /dev/sdb2

[root@DNS-320L]# cat /etc/mdadm.conf



- Examples:

[root@DNS-320L]# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4]
md1 : active raid1 sda2[2] sdb2[0]
      2929550672 blocks super 1.0 [2/1] [U_]
      [>....................] recovery = 1.6% (49317824/2929550672) finish=349.9min speed=137164K/sec
      bitmap: 22/22 pages [88KB], 65536KB chunk

unused devices: <none>
[root@DNS-320L]#

[root@DNS-320L]# mdadm --detail /dev/md1
/dev/md1:
        Version : 1.0
  Creation Time : Wed Mar 1 04:25:39 2017
     Raid Level : raid1
     Array Size : 2929550672 (2793.84 GiB 2999.86 GB)
  Used Dev Size : 2929550672 (2793.84 GiB 2999.86 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Wed Mar 1 22:11:06 2017
          State : clean, degraded, recovering
 Active Devices : 1
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 1

 Rebuild Status : 6% complete

           Name : DNS-320L:1 (local to host DNS-320L)
           UUID : 564d0424:9767531a:a3506da0:25799038
         Events : 49999

  Number Major Minor RaidDevice State
     0     8     18      0      active sync   /dev/sdb2
     2     8      2      1      spare rebuilding   /dev/sda2
[root@DNS-320L]#

0 comentarios: