Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


recover_data_from_failed_netgear_stora_ms2110_nas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
recover_data_from_failed_netgear_stora_ms2110_nas [2018/07/13 21:17] juckinsrecover_data_from_failed_netgear_stora_ms2110_nas [2018/07/14 17:02] (current) juckins
Line 1: Line 1:
 ==== Recover Data from failed Netgear STORA MS2110 NAS ==== ==== Recover Data from failed Netgear STORA MS2110 NAS ====
  
-The NETGEAR MS2110-1000NAS failed It would only power on but disks would not sync and attempt to forcefully reset it did not work.  Below are the steps used to successfully access the data using 1 of the hard disks.  This device appears to use a software RAID configuration and the data is formatted using the Linux XFS file system.+  * The NETGEAR MS2110-1000NAS failed 
 +  It would only power on but disks would not sync 
 +  * Attempts to forcefully reset it did not work
  
 +Below are the steps used to successfully access the data using 1 of the hard disks.  The main internet links used to establish this procedure are [[https://www.experts-exchange.com/questions/26952383/How-do-I-access-data-on-a-Netgear-Stora-formatted-drive.html|How do I access data on a Netgear Stora formatted drive?]] and [[https://www.spinics.net/lists/raid/msg44459.html|Desperate: mdadm fails to assemble raid saying devices are busy]] (use 'next by thread' to see all the email discussion)
  
 +This STORA appears to use a software RAID configuration and the data is formatted using the Linux XFS file system.
 +
 +The basic idea is to have a desktop PC running linux, such as 64-bit Red Hat Enterprise Linux 6 (RHEL6) or [[https://www.centos.org/|CentOS6]] which supports the XFS file system.  Power it off, and attach the STORA hard disk as a secondary drive (it uses a SATA connection).  Linux should recognize the hard drive (probably as /dev/sdb1) and using the steps below you can mount the drive.  Then the data can be copied off the drive, or rsync'd to a remote machine.  
 +
 +<code>
 +# cat /proc/mdstat
 +Personalities : [raid1] 
 +md127 : active (auto-read-only) raid1 sdb1[0]
 +      976562432 blocks [2/1] [U_]
 +      
 +unused devices: <none>
 +</code>
 +The result shows what the active RAID1 device is, as seen above it is **md127**.
 +
 +<code>
 +# mdadm --stop /dev/md127
 +mdadm: stopped /dev/md127
 +</code>
 +This stops the RAID device so you can act upon it.  Look for confirmation that it is **stopped**.
 +
 +<code>
 +# mdadm --assemble /dev/md127 --run /dev/sdb1
 +mdadm: /dev/md127 has been started with 1 drive (out of 2).
 +</code>
 +This starts the RAID with 1 drive
 +
 +<code>
 +# mkdir /stora
 +</code>
 +This creates a local mount point for the STORA drive you are about to access
 +
 +<code>
 +mount /dev/md127 /stora
 +</code>
 +The NAS hard disk is now accessible in /stora.  
 +
 +<code>
 +cd /stora
 +</code>
 +View the files and copy them to another location, rsync is a good tool for this.
recover_data_from_failed_netgear_stora_ms2110_nas.1531531079.txt.gz · Last modified: 2018/07/13 21:17 by juckins