Status of a Software RAID under Linux
February 14th, 2010 Category: Linux, Linux ServerYou might want to check the rebuild status of your Linux software RAID e.g. after a disc failure or a hard server crash. As you know this might take several hours, depending on the disc size.
In my case mdadm is used to configure the software RAID and mdadm –detail /dev/md1 can be used to show the rebuild status:
[root@hxxxxxxx ~]# mdadm --detail /dev/md1 /dev/md1: Version : 00.90 Creation Time : Thu Nov 9 18:57:15 2006 Raid Level : raid1 Array Size : 159726144 (152.33 GiB 163.56 GB) Used Dev Size : 159726144 (152.33 GiB 163.56 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Sun Feb 14 19:45:21 2010 State : active, resyncing Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Rebuild Status : 31% complete UUID : be29700c:083d0c62:67a9c130:e044323b Events : 0.3626065 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3
In my case 31% of the rebuilt process are finished. We still have to wait a little bit..
Links













Leave a Reply