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 revision Previous revision
Next revision
Previous revision
recover_data_from_failed_netgear_stora_ms2110_nas [2018/07/13 21:33]
juckins
recover_data_from_failed_netgear_stora_ms2110_nas [2018/07/14 17:02]
juckins
Line 9: Line 9:
 This STORA appears to use a software RAID configuration and the data is formatted using the Linux XFS file system. 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 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.  +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 --stop /dev/md127
 +mdadm: stopped /dev/md127
 </code> </code>
-This stops the RAID device so you can act upon it.  You should see something like **stopped**.+This stops the RAID device so you can act upon it.  Look for confirmation that it is **stopped**.
  
 <code> <code>
 # mdadm --assemble /dev/md127 --run /dev/sdb1 # mdadm --assemble /dev/md127 --run /dev/sdb1
 +mdadm: /dev/md127 has been started with 1 drive (out of 2).
 </code> </code>
 This starts the RAID with 1 drive This starts the RAID with 1 drive
recover_data_from_failed_netgear_stora_ms2110_nas.txt ยท Last modified: 2018/07/14 17:02 by juckins