O'Reilly logo

Red Hat Enterprise Linux Troubleshooting Guide by Benjamin Cane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using mdadm to examine the superblock

To view the event count, we will use the mdadm command with the --examine flag to examine the disk devices:

[nfs]# mdadm --examine /dev/sda1
/dev/sda1:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x1
     Array UUID : 7adf0323:b0962394:387e6cd0:b2914469
           Name : localhost:boot
  Creation Time : Wed Apr 15 09:39:22 2015
     Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 1023968 (500.07 MiB 524.27 MB)
     Array Size : 511936 (500.02 MiB 524.22 MB)
  Used Dev Size : 1023872 (500.02 MiB 524.22 MB)
   Super Offset : 1023984 sectors
   Unused Space : before=0 sectors, after=96 sectors
          State : clean
    Device UUID : 92d97c32:1f53f59a:14a7deea:34ec8c7c

Internal Bitmap : -16 sectors from superblock
 Update Time : Mon May ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required