Subscribe to RSS  |  Advertise on this Blog

  • HOME
  • ABOUT
    • RESUME
Alberto Matus
  • SERVICES
  • CONTACT
  • HOME
  • ABOUT
    • RESUME
  • SERVICES
  • CONTACT
September 20, 2019  |  By ajMatus In Linux Tips, Open Source, Technology, Technology Tips, Ubuntu

Recovering Data from Synology Crashed Deivce

In the past I’ve recovered data from RAID devices, but I’ve always had to rebuild these arrays which was time consuming. I probably missed something along the way since I didn’t have to perform in a long, but I was surprised to see how easy it was.

I had a Synology DS918+ which had some hardware failures. It consisted of a total of four drives as part of a RAID 5. The following entails the very few steps I had to go through to access the RAID and recover data.

Take note this was done on an Ubuntu 18.04 OS, and the four hard drives were attached via StarTech disk duplicators via USB. However, if you have a desktop with suffiecent SATA ports available it will all do the same. The most important part here is attaching all harddrives to the computer via some form or the other.

Then you proceed by installing mdadm as such:


 

sudo apt-get install mdadm

 

 

 

 

mdadm is a Linux utility used to manage and monitor software RAID devices. It is used in modern GNU/Linux distributions in place of older software RAID utilities such as raidtools2 or raidtools. It is also a  free software maintained by, and copyrighted to, Neil Brown of SUSE, and licensed under the terms of version 2 or later of the GNU General Public License.

After that we have to install the lvm2 package with the following commands.

 


 

sudo apt-get install lvm2

 

 

 

 

LVM2 refers to the userspace toolset that provide logical volume management facilities on linux. It is reasonably backwards-compatible with the original LVM toolset.

To use LVM2 you need 3 things: device-mapper in your kernel, the userspace device-mapper support library (libdevmapper) and the userspace LVM2 tools. Please look at http://sources.redhat.com/dm/ for information about the device-mapper kernel and userspace components.

Next, we want to mount the device RAID via the following command.

 


 

sudo mdadmm -Asf && vgchange -ay

 

 

 

 

Once you’ve completed the prior commands the device should show up in “other devices” of your file manager. If not reboot the computer, and check once more.From there you can explore the device and extract whatever data you need.

Hope you have fun extracting your needed data 🙂

data recovery mdadm ubuntu

Article by ajMatus

Related Articles

  • Ubuntu-20-04-LTS-new-features-Stackscale-blog
    Changing Login Display In Ubuntu 20.04
  • albertomatus - moodle cover
    Installing Moodle on Ubuntu 18.04 LTS

Leave your comment Cancel Reply

(will not be shared)

WELCOME

Hello, and welcome! I'm Alberto - a Cyber Security & Digital Forensics professional specializing in Digital forensics, Incident Response & Vulnerability Assessment. I hold a Master's degree in Cybersecurity with a concentration in Digital Forensics from the University of South Florida and a Bachelor degree in Information Technology from the University of Belize. Through this blog I hope to share tips, information about cybersecurity, cybercrime, digital forensics, open source technologies, business, and a bit of my amazing country. For those interested in any of my services please feel free to contact me using any of the associated contact details on this blog.

SEARCH

ARCHIVE

  • October 2022 (1)
  • July 2021 (2)
  • November 2020 (2)
  • October 2020 (1)
  • September 2020 (2)
  • August 2020 (2)
  • July 2020 (6)
  • June 2020 (6)
  • April 2020 (5)
  • February 2020 (1)
  • November 2019 (2)
  • October 2019 (1)
  • September 2019 (1)
  • June 2019 (1)
  • May 2019 (1)
  • November 2018 (6)
  • September 2018 (3)
  • August 2018 (4)
  • February 2018 (1)
  • January 2018 (3)
  • December 2017 (1)
  • October 2017 (5)
  • September 2017 (1)
  • December 2016 (2)
  • November 2016 (4)
  • October 2016 (1)
  • September 2016 (2)
  • August 2016 (5)
  • July 2016 (2)
  • June 2016 (2)

CALENDAR

March 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Oct    

RECENT POSTS

  • Capture
    WordPress Empty template: Index Friday, 7, Oct
  • Belize – Benque Viejo to San Ignacio Town Drive Tuesday, 6, Jul
  • alberto-matus-digital-piracy
    An Overview of Digital Piracy Thursday, 1, Jul

REMOTE WORK

Remote work is my preferred way or working as I have a home office set up where all the magic happens. This method allows me to work with businesses, organizations, and all brands across the globe. I can manage projects via my own management applications or your own internal project management app. Any calls and meetings can be done through whatever tools fits your business, and I’m flexible to work on your time zone.

ON-SITE

Not every job assignment can be done via remote working methods, and so if it requires me to be on-site for the duration of the work then this can be done based on agreements or contractual work. I prefer doing these types of consultancies or hands-on types of work on the weekends but I am flexible enough depending on the terms. I am also open to traveling outside of Belize. All further afield work requires accommodation and travel expenses.

RETAINER

Sometimes clients are looking for long term partners that share a closer connection to their visions and goals. As such I am open to retainers. A retainer hires me for a certain amount of hours per month at a discounted rate. These discounted rates are usually between 10%-20% off depending on the contractual agreements.

Alberto - open source | technology | belize -Matus

Copyright ©2020. All Rights Reserved

en_USEnglish
en_USEnglish