NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mslaterhk
Sep 15, 2015Aspirant
Data recovery nightmare
Ok so I'm usually a pretty level-headed guy but this has me sweating - hope someone can help... QUESTION: If ReadyNas has somehow over-written (MBR?) root folder structure of logical volume, and...
- Sep 15, 2015
What you are looking at is the 4GB OS partition.
You will need to install mdadm and lvm2 if they are not already on your system# apt-get install mdadm # apt-get install lvm2
If you have not already you need to start the RAID
# mdadm --assemble --scan
We use LVM on legacy ReadyNAS so you need to do
# vgscan # vgchange -a y
Then you should be able to mount the volume
# mount /dev/c/c /mnt
where /mnt is the mountpoint (could be anything, needs to be an empty directory).
On ubuntu you would need to put sudo at the start of these commands, I think.
mslaterhk
Sep 15, 2015Aspirant
Many thanks for the reply!
I should have mentioned I have already installed MDADM.
I can read the partition properly, but the c folder is empty.
By doing the vgscan and vgchange and then the mount will this allow me to view contents of c folder?
I should have mentioned I have already installed MDADM.
I can read the partition properly, but the c folder is empty.
By doing the vgscan and vgchange and then the mount will this allow me to view contents of c folder?
mdgm-ntgr
Sep 15, 2015NETGEAR Employee Retired
mslaterhk wrote:
By doing the vgscan and vgchange and then the mount will this allow me to view contents of c folder?
All going well, yes.
You may wish to do a read-only mount e.g.
# mount -o ro /dev/c/c /mnt
mslaterhk wrote:
but the c folder is empty.
It is a mount point. Mount points are empty directories.
- mslaterhkSep 20, 2015Aspirant
Firstly, a really big thank you for your replies.
I've mounted the volume now and data integrity is good. Your commands work perfectly!
So this thread can be marked as solved now.
One more thing as I'm not a Linux command line guru:
I'm trying to copy my files in the gui but keep coming up with "cannot copy .AppleDouble" folder. There are literally thousands of these. I'm trying to copy to new NAS network share.
should I mount network share in cli and use cp and ignore errors, or is there a way in the gui to ignore the errors when copying?
Many thanks!
- mslaterhkSep 20, 2015Aspirant
And as an FYI if anyone else comes across this and tries to do the same thing: for some reason when using a virtual Ubuntu and attempting to copy files from the mounted disk, Ubuntu will crash if you try to copy the files directly from mounted disk to another USB mounted drive.
I've had to copy from RAID disk to local folder, and then copy from local folder to actual destination.
Don't know why, but copying to local first seems to work. Hope it helps someone.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!