Skip to content

Instantly share code, notes, and snippets.

@jinsnet
Created December 21, 2016 04:31
Show Gist options
  • Save jinsnet/06a94bef0b685c0a93a8f2b400c0330e to your computer and use it in GitHub Desktop.
Save jinsnet/06a94bef0b685c0a93a8f2b400c0330e to your computer and use it in GitHub Desktop.
NAS DISK MOUNT
Use an USB enclosure and install the hard disk
Download Hiren’s Boot CD from here or Gparted :
Boot to the linux operating system by using Gparted
Select Linux based rescue environment
Press enter on Start
Try to access the partition. In my example the partition with the share folder was /dev/sdc6
When I opened up try to click on the partition, I received the following error message
udevil: /dev/sdc6 is known to mount – running mount as current user
udevil: warning 45:options ignored for device in fstab (or specify mount point)
mount: unknown filesystem type ‘linux_raid_member’
After a bit of research I discovered that the hard disk could have been setup as a raid drive.
Click on ROXTerm (Screen with a $ sign) and type
mdadm –assemble –run /dev/md6 /dev/sdc6
mdadm: /dev/md6 has been started with 1 drive (out of 2)
mkdir /mnt/recovery
mount /dev/md6 /mnt/recovery
cd /mnt/recovery
ls
you should see a share folder. This is where all the files are located. Then copy the files you need to your local computer or map a drive to another network share by using the File Manager. This was much faster than trying to run the raw file recovery.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment