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

Forum Discussion

mazerj's avatar
mazerj
Aspirant
Sep 02, 2014

fh_update dropbox errors on ReadyNAS NV+

I was wondering if anyone's got an explanation/src for messages I just found in /var/log/kern.log on my (antique) ReadyNAS NV+. Some examples are:

fh_update: .dropbox/photo.dbx-journal already up-to-date!
fh_update: .dropbox/filecache.dbx-journal already up-to-date!
fh_update: .dropbox.cache/4Z_lDM2lGKmpzEzUDtDgaCGtbRKuHoSs7GnmwzvqNoQ already up-to-date!
fh_update: .dropbox.cache/1NOvDwK8kKXNguOjMkAATRlQcEtGvZfiFgmBePkfGbQ already up-to-date!
...
...
fh_update: .dropbox/filecache.dbx-journal already up-to-date!
fh_update: .dropbox/filecache.dbx-journal already up-to-date!
fh_update: .dropbox/filecache.dbx-journal already up-to-date!
fh_update: .dropbox/filecache.dbx-journal already up-to-date!

They tend to come in bursts. There's no sign of dropbox running on the machine and a quick search of the local filesystem (find / -path /c -prune -o -name \*dropbox\*) turned up nothing. Googling around didn't turn up any info on either dropbox or fh_update in the context of ReadyNAS.

The machine details are as follows:


Model: ReadyNAS NV+ [X-RAID]
Serial: 000da201dc96
Firmware: RAIDiator 4.1.4 [1.00a042]
Memory: 1024 MB [2.5-3-3-7]
Volume C: Online, X-RAID, 4 disks, 34% of 2076 GB used


Should I be worried? The whole things a little concerning, since the Dropbox extensions are not installed, in fact, my understanding is that the NV series is too old to run them. Moreover, pretty much all plugins and extensions are removed or disabled -- the box is pretty much 100% dedicated to being an NFS server.

Thanks!

4 Replies

Replies have been turned off for this discussion
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    That is very odd. You may wish to backup your data and do a factory default (wipes all data, settings, everything), then restore your data from backup.

    Any add-ons installed?

    You are correct. Dropbox is not available for the NV+.
  • StephenB's avatar
    StephenB
    Guru - Experienced User
    I believe fh_update() is a function in nfsd (the linus nfs server) http://lxr.free-electrons.com/source/fs ... sfh.c#L584

    There's an old patch (~2006) which references the "already up to date!" warning here: http://lkml.iu.edu/hypermail/linux/kern ... /1241.html
    It's apparently been applied to the free-electrons version of the modules in the first link. But perhaps the Readynas NV+ kernel predates that change, and it might not have been any reason to backport it.

    So I suggest that you look in any shares that are enabled for nfs, and see if any include a hidden .dropbox folder. Perhaps run your find command over the full data volume.
  • mdgm - no plugins installed at all and I've turned off or removed all the optional plugins that come with the firmware (and the whole system is behind a firewall).

    StephenB - There are definitely .dropbox dirs/files on the nfs shares -- these are generated by the client machines when users run the linux dropbox client, which is common. The NV+ is serving up linux home directories for my lab. This would mean that fh_update in nfsd is generating a kernel error message, but exclusively when reading|writing these dropbox files. Sort of makes sense as to where the error messages are coming from and confirms it's not some sort of rogue dropbox server running on my raid, although doesn't explain why fh_update has problems with stuff in the .dropbox directories. I'll poke around a bit more and see if I can figure out exactly what fh_update is doing. These are not the actual dropbox data dirs, but rather the internal state info..

    Thanks!
  • StephenB's avatar
    StephenB
    Guru - Experienced User
    mazerj wrote:
    StephenB - There are definitely .dropbox dirs/files on the nfs shares -- these are generated by the client machines when users run the linux dropbox client, which is common. The NV+ is serving up linux home directories for my lab. This would mean that fh_update in nfsd is generating a kernel error message, but exclusively when reading|writing these dropbox files. Sort of makes sense as to where the error messages are coming from and confirms it's not some sort of rogue dropbox server running on my raid, although doesn't explain why fh_update has problems with stuff in the .dropbox directories. I'll poke around a bit more and see if I can figure out exactly what fh_update is doing. These are not the actual dropbox data dirs, but rather the internal state info..
    I think that is the basic explanation. The original patch URL I sent before said these "errors" were false alarms.

    There is a perfectly valid situation where fh_update gets called on an already uptodate filehandle - in nfsd_create_v3 where a CREATE_UNCHECKED finds an existing file and wants to just set the size.

    We could possible optimise out the call in that case, but the only harm involved is that fh_update prints a warning, so it is easier to remove the warning.
    I can imagine a dropbox client doing something like that.

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