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:25] juckinsrecover_data_from_failed_netgear_stora_ms2110_nas [2018/07/14 17:02] (current) juckins
Line 5: Line 5:
   * Attempts to forcefully reset it did not work   * Attempts 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 software RAID configuration and the data is formatted using the Linux XFS file system.+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)
  
-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 and using the steps below will mount the drive.  Then the data can be copied off the drive, or rsync'd to a remote machine.  +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> <code>
 # cat /proc/mdstat # cat /proc/mdstat
 +Personalities : [raid1] 
 +md127 : active (auto-read-only) raid1 sdb1[0]
 +      976562432 blocks [2/1] [U_]
 +      
 +unused devices: <none>
 </code> </code>
-The result shows what the active RAID1 device is, for example "md127"+The result shows what the active RAID1 device is, as seen above it is **md127**.
  
 <code> <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> </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.1531531516.txt.gz · Last modified: 2018/07/13 21:25 by juckins