McLean IT Consulting

WORRY FREE IT SUPPORT

Call Us: 250-412-5050
  • About
  • Services
    • IT Infrastructure Design
    • Remote & Onsite IT Support
    • Disaster Recovery
    • IT System Monitoring
    • IT Audit
    • Documentation
    • Medical IT Solutions
    • Wireless Networks
    • Cloud Computing
    • Virtualization
  • Partners
    • Lenovo
    • Ubiquiti Networks
    • Dragon Medical Practice Edition (Nuance)
    • Synology
    • Drobo
    • Adobe
    • Bitdefender
    • NAKIVO
  • Contact
  • Blog
  • Remote Support

Synology — How to Check RAID Rebuild Progress

May 21, 2015 By Andrew McLean 3 Comments

Synology DS1815+
Synology DS1815+

So you’re minding your own business, when out of nowhere you get a text from your Synology NAS has experienced a drive failure. Your heart skips a beat but you remember that the drive is still under warranty, and you silently pat yourself on the back for having the foresight to implement the notification service, and for setting up dual-disk redundancy RAID so that even if a second drive were to fail, you could still recover all your data.

You submit the hard drive warranty claim (making sure to choose the “advanced replacement” option where they send you the new drive before you return the defective one) and pretty soon you have the brand new replacement drive to install.

Out comes the old drive, in goes the new, and you tell the Synology to repair the degraded RAID array. Before long, the Storage Manager shows you an indicator that slowly crawls up from 0.0%.

...but what does that mean in hours?
…but what does that mean in hours?

A percentage indicator is great! But it doesn’t mean much without context. It would be nice for the RAID rebuild progress indicator to give you an ETA, so you can start breathing again.

Oddly enough, the system is already estimating how long it will take, but for some reason the number is hidden, and of course is only revealed by a command line session through SSH.

Unlike some other command line tricks for Synology NAS devices, this one does not require logging in as root, however it does require a user who actually has SSH access, in other words an admin user. Once you’re logged in it’s quite simple.

[code lang=”bash”]cat /proc/mdstat[/code]

It will then output something like this:

Synology mdadm rebuild progress via SSH
Hint: it’s the one that is rebuilding.

Yours may not look the same depending on how you structured your drives. Each volume is identified by an MD (Multiple Device) which is just a linux term meaning it can be an aggregate of many drives. You may see more MD designations rebuilding simultaneously. In this case MD2 is rebuilding, and shows that it will finish in just over 980 minutes — roughly 16 hours. So you can go for a walk. Or stream some videos because your Synology can rebuild itself without interrupting its other duties.

Filed Under: Tips

Comments

  1. Mark Zakariya says

    April 2, 2018 at 9:26 pm

    This was very helpful when rebuilding the RAID 1 array in my DS218+ – thank you! :)

    Log in to Reply
  2. Robert says

    June 23, 2019 at 2:25 pm

    This may be all very handy and such but how do you know which arrays its already completed? Ive seen “check parity consistency” go from 0-100% twice, its on its third round at just over 60%. When I SSH and do a mdsat, it shows MD0 through 6, how does one know which ones are completed?

    Log in to Reply
    • Andrew McLean says

      June 24, 2019 at 9:26 am

      It will need to go to 100% on each of the MD0 through MD6. You should see “resync=DELAYED” at the bottom of the MD# entries that have not yet completed their parity check. Delayed resync just means it’s waiting its turn.

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Contact Us

McLean IT Consulting Inc.
Serving Greater Victoria

P: 250-412-5050
E: info@mcleanit.ca
C: 250-514-2639

Featured Article

When Should You Upgrade Your Computer?

As an IT consultant, I am frequently asked for either an opinion or a judgement call regarding whether or not a system is a better candidate for … Continue Reading

Blog Categories

Our Mission

We seek to enrich and improve small and medium businesses by delivering best-in-class technology solutions, and offering a premier customer service experience. Contact Us Now!

Quick Menu

  • About
  • Testimonials
  • Contact
  • Blog
  • Sitemap

Let’s Get Social

  • Email
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube

Copyright © 2025