NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
roryt
Nov 03, 2016Aspirant
ReadyNAS RN214 corruption on BTRFS
4x4TB in X-RAID, holds about 4TB in daily data and 1TB in daily snapshots. Used to work fine, when suddenly last Saturday it crashed. The shares disappeared. In a move to find a solution (and since I...
StephenB
Nov 03, 2016Guru - Experienced User
If you format one (or more) USB drives as btrfs, you should be able to do what you want with btrfs send and btrfs receive. Since each share is it's own BTRFS subvolume, you should be able to use multiple USB disks.
The only catch I see is on the restore - if the readynas database needs records of the snapshots, they might not show up in the web ui. Hopefully that's not the case. Maybe a netgear person (perhaps mdgm-ntgr or kohdee) can comment on that.
- rorytNov 03, 2016Aspirant
Thank you Stephen for the ultra-fast answer, it gives me a road to follow, I had seen the commands but I had not realized what they were doing. So, let me see if I got it ok:
1) Format a -let say -6TB USB disk in btrfs and mount it (let say to /media/USB_HDD_6)
2) I'll use something like
btrfs send /data/daily -c /data/daily/snapshot/c_2016_09_24__00_00_19 -c /data/daily/snapshot/c_2016_09_30__00_00_00 (and so on for all of my 30 snapshots) | btrfs receive /media/USB_HDD_6
3) Factory reset. Restore configuration. Maybe make my shares again from scratch (I have only two and only one has snaphots)
4) Restore form USB with something like:
btrfs send /media/USB_HDD_6/data/daily -c /media/USB_HDD_6/data/daily/snapshot/c_2016_09_24__00_00_19 (etc etc for all snapshots) | btrfs receive /data/daily
and I'm good to go ?
- StephenBNov 03, 2016Guru - Experienced User
Exactly. There might be some snags (though I've read about these commands I haven't actually used them).
On 3) you should definitely recreate your shares, since they need to be in the ReadyNAS database.
- mdgm-ntgrNov 03, 2016NETGEAR Employee Retired
I haven't tested this either and doing something like this yourself via SSH you'd have to deal with it on your own or perhaps with some help from the community if it doesn't work.
Related Content
NETGEAR Academy

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