NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Kev_Kostner's avatar
Kev_Kostner
Aspirant
May 02, 2014

BtrFS version and reliability of RN 102

I have suffered some very bad experiences with scrubbing of BtrFS on kernel version 3.2.26.

From studying the docu I got the impression that ReadyNAS 102 uses an older version with most probably even more bugs in BtrFs.

Before buying that product I therefore need reliable information about the following questions:

a) What kernel version is used in current ReadyNAS?

b) What version are BtrFS and BtrFS-Tools?

c) Are these plain vanilla from that kernel release or some backported newer code?

d) What are your experiences with scrubbing 4 TB of data and how long does that take?

Thank you for competent answers!

9 Replies

Replies have been turned off for this discussion
  • a)
    root@e1:~# cat /proc/version
    Linux version 3.0.101.RN_ARM.1 (jenkins@blocks) (gcc version 4.6.2 (Linaro GCC branch-4.6.2. Marvell GCC 201201-883.01c949de) ) #1 Mon Apr 14 17:24:16 PDT 2014

    b)
    root@e1:~# btrfs version
    Btrfs v0.20-rc1
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    c) There is backported newer code.

    I would recommend you consider the 312 which has an Intel CPU and 2GB RAM as opposed to the ARM CPU and 512 MB RAM in the 102.
  • ljung wrote:
    a)
    root@e1:~# cat /proc/version
    Linux version 3.0.101.RN_ARM.1 (jenkins@blocks) (gcc version 4.6.2 (Linaro GCC branch-4.6.2. Marvell GCC 201201-883.01c949de) ) #1 Mon Apr 14 17:24:16 PDT 2014

    b)
    root@e1:~# btrfs version
    Btrfs v0.20-rc1


    Thank you for your helpful information!
    I have experience with Linux version 3.2.26 and BtrFs v0.19 which is standard for this kernel version.

    It is interesting to see, that with a slightly older kernel 3.0.101 the BtrFs in ReadyNAS has BtrFs version 0.20-rc1.

    I wonder whether that version of BtrFs is so much better than v.019 where it often happened that scrub stopped by GPF.

    Can you confirm that this version of BtrFs and scrubbing is rock solid?

    Thank you!
  • mdgm wrote:
    c) There is backported newer code.

    I would recommend you consider the 312 which has an Intel CPU and 2GB RAM as opposed to the ARM CPU and 512 MB RAM in the 102.

    Thank you for your suggestion.

    I saw from the posting of ljung that the BtrFS code must be back ported.
    Can anybody confirm that in ReadyNAS it is exactly v0.20-rc1?

    Where in the www is that backported source coude available?

    I am aware of the limited resources of a RN 102, but since it is intended only as a remote backup from the production server using ZFS and powerful hardware, do you see any points why RN 102 should not be used for that purpose?

    Thank you!
  • mdgm wrote:
    All open source code used by the ReadyNAS is found in the GPL code: http://kb.netgear.com/app/answers/detail/a_id/2649/~/gpl-open-source-code-for-programmers

    How will you do the backups between the two? Via a VPN?

    Thank you for the link, can you tell me which of the many GPL sources is the latest one for RN 102?

    The backup between the two is by rsync within the LAN behind the firewall.

    In order to avoid unnecessary encryption I always used rsync -avPe rsh ....
    Any suggestions more appropriate for RN 102?

    Thank you!
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    The ReadyNAS OS 6 6.1.7 GPL sources are currently the latest.

    You could use that with the 102 too.
  • Out of curiosity i donwloaded the GPL source and checked the sources.

    The folder for the btrfs-0.20-rc1 tool is named "btrfs-tools-0.20+20131108". I Cross checked with the official btrfs-tools repository, and it seems that changes that occured after the btrf-0.20-rc1 label and before that date are indeed merged into the netgear source...


    Looking at the kernel, i'm not sure, from what point it is up to date.

    I managed to find one random commit from 06/2013 to btrfs of mainline kernel being merged into the readynas kernel...
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    When I said latest I was referring to the latest GPL sources for the 102.

    If you extract the GPL for multiple firmware versions and run diff you can see what files/folders they changed between firmware releases.

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More