mmcblk1p2 Partition Fills up Until Syncthing Crashes

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • mmcblk1p2 Partition Fills up Until Syncthing Crashes

      I have just gotten my new install on an Odroid to run smoothly. Running Syncthing to sync two Macs to each other and the Odroid. As the sync is in progress my mmcblk1p2 partition space continues to fill up until at about 13% complete sync for the Odroid the mmcblk1p2 partition usage indicator turns red at 85%/6.13gb full. At this point Syncthing shuts down. I am new at this. Any direction would be helpful.

      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
    • Well, I guess I will reply to my own thread. Today I loaded a fresh install of OMV on a Raspberry Pi 3B+ and the same thing happened as did with the Odroid. On this install I had only one shared folder and it was on Disk1, a 750gb 2.5" Hitachi. I was syncing from the pi to just one desktop mac. Surely someone out there can give me an answer to my plight.

      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
    • You need to check what is filling the partition. I'm guessing it is logging a lot of errors. What is the output of: du -d1 -x -h / | sort -h
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • It looks like syncthing is syncing the files to a user's home directory. What is the output of: du -d1 -h -x /home/ | sort -h
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      It looks like syncthing is syncing the files to a user's home directory. What is the output of: du -d1 -h -x /home/ | sort -h

      I ran the same command with /home/Wayne, and what do you know, a whole bunch of my synced folders were in there. So I'm guessing I am suppose to allow home directories? Just a guess. What is the command to delete those files/folders in /home/Wayne? Should I delete the folder /Wayne and its contents?
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.

      The post was edited 1 time, last by Agricola ().

    • Enabling home directories would put the /home/wayne directory on a data disk (which seems to be what you want). It won't move it now though. So, you need to enable home directories, either create a new username or delete the old one and recreate. If your data can be re-sync'd, then rm -rf /home/wayne will remove the files.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      Enabling home directories would put the /home/wayne directory on a data disk (which seems to be what you want). It won't move it now though. So, you need to enable home directories, either create a new username or delete the old one and recreate. If your data can be re-sync'd, then rm -rf /home/wayne will remove the files.
      Enable home directories under User Setting - and choose a data disk as the destination?
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
    • Agricola wrote:

      Enable home directories under User Setting - and choose a data disk as the destination?
      Yep
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Agricola wrote:

      Should I enable user home directories in SMB and/or Apple Filing as well?
      You can if you use those protocols but they won't affect syncthing.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • New

      After implementing Syncthing for a few days I have been getting "failed to setup inotify handler. Please increase inotify limits, see docs.syncthing.net/users/faq.html#inotify-limits" warnings at the top of my Syncthing GUI. Going to the link there are some commands to run, but after searching for how to implement it in omv, I'm not sure if I log into root and run the given commands, or if I should cd into some directory first. Just a little bread crumb in the right direction would be much appreciated.
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
    • New

      Agricola wrote:

      After implementing Syncthing for a few days I have been getting "failed to setup inotify handler. Please increase inotify limits, see docs.syncthing.net/users/faq.html#inotify-limits" warnings at the top of my Syncthing GUI. Going to the link there are some commands to run, but after searching for how to implement it in omv, I'm not sure if I log into root and run the given commands, or if I should cd into some directory first. Just a little bread crumb in the right direction would be much appreciated.
      Yes, you should run it as a root (file /etc/sysctl.conf most likely belongs to your root user), but you could also use any other user as long as it has privileged access (the sudo part takes care of that).
      It doesn't matter what your current directory is, because these commands modify files using an absolute path (in most cases, any path that starts with "/" is an absolute path).
    • New

      @dziekon thank you. I just did so and the warnings cleared up. Everything is running smoothly.

      Anybody have any knowledge/opinion on the question above about plugin vs. Docker version of Syncthing. I am getting ready to install it on an Odroid-HC1 and would like to do it just once.
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.