NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
joki
Oct 08, 2015Tutor
btrfs-cleaner frequently stuck at 100% CPU after 6.4.0 upgrade
Since I upgraded my RN102 to 6.4.0 last night I frequently have trouble reaching the admin interface, and my laptop has reported not being able to reach Time Machine. When I login by ssh and use ...
- Oct 21, 2015
It seems like I found a way to get rid of the hanging btrfs-cleaner: After switching off quota
btrfs quota disable /data
btrfs-cleaner did never show up again (in top).
(After booting I usualy had about a minute to issue the command before btrfs-cleaner did spawn and prevented the command to respond.)
I did not intentionally enable quota - i guess it was enabled by default.
Good luck,
HansW
PS: Maybe the problem is known by Netgear - in their "FAQs on recently released firmware 6.4.0" (see link on top of page) they talk about "... this is likely due to the ReadyNAS performing a quota check".
Some websites also describe problems with quota and btrfs (Rockstor forum), other sites cite the quota support in btrfs as experimental (but these might be out of date).
I did not extensive testing after diabling quota that way - I'm happy that I can acces my files again ...
HansWeihnacht
Oct 21, 2015Guide
It seems like I found a way to get rid of the hanging btrfs-cleaner: After switching off quota
btrfs quota disable /data
btrfs-cleaner did never show up again (in top).
(After booting I usualy had about a minute to issue the command before btrfs-cleaner did spawn and prevented the command to respond.)
I did not intentionally enable quota - i guess it was enabled by default.
Good luck,
HansW
PS: Maybe the problem is known by Netgear - in their "FAQs on recently released firmware 6.4.0" (see link on top of page) they talk about "... this is likely due to the ReadyNAS performing a quota check".
Some websites also describe problems with quota and btrfs (Rockstor forum), other sites cite the quota support in btrfs as experimental (but these might be out of date).
I did not extensive testing after diabling quota that way - I'm happy that I can acces my files again ...
joki
Oct 22, 2015Tutor
HansWeihnacht wrote:It seems like I found a way to get rid of the hanging btrfs-cleaner: After switching off quota
btrfs quota disable /data
Thanks a lot Hans, this sounds like the first sensible, workable solution in this thread. I don't have access to my NAS until November, but this is the first thing I'll try when I do.
Joachim
- HansWeihnachtOct 22, 2015Guide
I have no idea what side-effects it may bring - I'm not too deep into the details of BTRFS.
What I noticed so far:
* Read- and write-acces as before
* Snapshot creation and deletion works as before (according to ReadyNAS-Logs)
* btrfs-cleaner never used noticeable CPU since (logging in intervals of 15min)
* ReadyNAS Admin-Page shows data-usage only "Snapshots" and "Free" (no "Data" any more, but I'm not sure wheter that's related to switching off quota - might be, because tha data on disk tends to be "old")
- nybblesandbytesOct 29, 2015Star
HansWeihnacht You sir, are a legend.
For the first time in 2 weeks, something of use to my conundrum...
Found btrfs-cleaner running at 97% CPU usage and disabled the quota as per your post.
The process stopped, and slowly things seem to have normalised - LAN access, web interface etc.
I also noticed the data usage as "Free" and "Snapshots" - this worries me, because if quota somehow becomes enabled again and it sees the data volume as snapshots, who knows what it may do?
As it stands I am going to run with this for now, and hope that Netgear release a patch for all of this mess soon, so that we don't have to dabble around in SSH to blindly try fix issues which should not be present in a final firmware release...
Thank you again!
- mdgm-ntgrOct 29, 2015NETGEAR Employee Retired
Quotas are used to determine how much space is used by snapshots. The system does not need quotas to know what is a snapshot and what isn't.
If you haven't been running volume maintenance I would suggest you run it and once it is complete turn quotas back on.
As you have seen some code is not designed to handle btrfs quota being disabled as we don't support doing that.
Related Content
NETGEAR Academy

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