NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bhsmith
Feb 11, 2018Aspirant
btrfs corruption
I had to reboot my system today and when it came backup it was missing the volumes. I had tried everything I could find in the forums but ended up doing a repair. All my files came back and I thoug...
bhsmith
Feb 11, 2018Aspirant
The repair was btrfsck --repair
I am getting all of my files and so far they are 100% good. I am comparing them to my backups and just restoring the files I need on a USB backup drive.
What got me into all this trouble was I had a backup on another USB drive and I was trying to save time by compying those files over to the /data dir without using windows. I had ssh'ed into the NAS and was doing a cp to my /data dir. I suddenly received read only file system messages and then everything was corrupted. So my question is after I get the files I want on the USB drive and reset the ReadyNas to factory defaults. How do I get my 10 TB of data back onto the NAS without having to go through windows which is painfully slow? I am afraid to do the cp again as that my corrupt it again.
StephenB
Feb 11, 2018Guru - Experienced User
Using cp shouldn't have corrupted the data volume. You probably should double-check the SMART stats in the log zip file.
Another option is to organize the data on the USB drives into folders, and copy them onto the data volume using the built-in backup job facility. You can do this folder-by-folder (editing the backup job after each one completes).
- mdgm-ntgrFeb 11, 2018NETGEAR Employee Retired
It is possible that the repair operation you ran may do additional damage. It’s best to recover what you can using btrfs restore before doing potentially destructive repair operations. See e.g. https://btrfs.wiki.kernel.org/index.php/Btrfsck
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!