Chris2017 Posted January 31, 2018 Report Share Posted January 31, 2018 Hi, I have two raspberry pi's set up with Resilio sync and a WD Pi Drive. I set them up a year apart. The first one works flawlessly. The second one is constantly indexing at least one directory. The green status checkmark will constantly disappear on random folders and Resilio will act as if it's re-downloading files even when there are no changes. If I pause the folder that is causing problems, another folder that was previously showing the green check mark will start doing the same thing. Usually multiple random folders will exhibit the same behaviour. I have read all the topics I can finds and feel that it is related to how I've mounted this drive (although I believe I've done them both the same, I can't remember). I am a novice with raspberry pi's and cannot solve this. Below I will post some of the sync.log file as well as the steps that I followed to mount the drive. Hopefully one of you will be able to tell me where I've gone wrong. Thanks in advance. [20180131 12:32:27.425] JOURNAL[5C6B]: writing new attributes to file "/mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG" [20180131 12:32:27.425] SyncFileEntry: writing file attributes to file "/mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG", mt:1515072244 [20180131 12:32:27.425] SyncFileEntry: Failed to write attributes for file /mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG - 1 [20180131 12:32:27.425] SyncFileEntry: Can't set file attributes 0 for file /mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG - 1 [20180131 12:32:27.425] Set new pvinfo for file "/mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG" = pvi[NULL] (reset) [20180131 12:32:27.425] Finished downloading file "/mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG" [20180131 12:32:27.425] Set new pvinfo for file "/mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG" = pvi[NULL] [20180131 12:32:27.425] Set new pvinfo for file "/mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG" = pvi[NULL] (reset) [20180131 12:32:27.425] JOURNAL[5C6B]: erase file_id 2050:24730 assigned to entry with path "/mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG" [20180131 12:32:27.426] JOURNAL[5C6B]: assign file_id 2050:24730 to entry with path "/mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG" [20180131 12:32:27.426] JOURNAL[5C6B]: remote entry job complete for entry "/mnt/WD/Lisa's iPhone 6s Camera backup/115APPLE/IMG_5197.JPG", result = 1 [20180131 12:32:27.426] GS: Added file "115APPLE/IMG_5197.JPG" with hash D1021FDA1207CB55D14DBF8922A0CFC616F6B771 [20180131 12:32:27.426] JOURNAL[5C6B]: { "dl_failed": false, "file_hash": "D1021FDA1207CB55D14DBF8922A0CFC616F6B771", "file_id": "2050:24730", "fs_error": false, "have_pieces": 88, "ignored": fal$ [20180131 12:32:27.524] JOURNAL[5C6B]: tf completed for "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG" - avg hash speed: <unknown> [20180131 12:32:27.525] Update have pieces for entry "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG", was: 0, now: 58 [20180131 12:32:27.525] Set new pvinfo for file "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG" = pvi[type:1 s:1888384 mt:1514553809 h:C6F9B26EB69885A5FCD413A5F06BB46EA32AD4C8] [20180131 12:32:27.525] Update have pieces for entry "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG", was: 58, now: 0 [20180131 12:32:27.525] JOURNAL[5C6B]: set fs error for entry "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG", type 1, will be recreated (R/O) [20180131 12:32:27.525] JOURNAL[5C6B]: will recreate entry "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG", type 1 [20180131 12:32:27.526] JOURNAL[5C6B]: Setup entry job "FileEntryJob" for path "109APPLE/IMG_9776.JPG", next state is "PERFORM", queue size 0 1 199 16 [20180131 12:32:27.526] JOURNAL[5C6B]: file entry job for path "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG" [20180131 12:32:27.526] JOURNAL[5C6B]: { "dl_failed": false, "file_hash": "C6F9B26EB69885A5FCD413A5F06BB46EA32AD4C8", "file_id": "2050:24684", "fs_error": true, "have_pieces": 0, "ignored": false$ [20180131 12:32:27.527] JOURNAL[5C6B]: entry "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG" has state CREATED, current/desired entry type: 1/1 [20180131 12:32:27.527] JOURNAL[5C6B]: writing new attributes to file "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG" [20180131 12:32:27.527] SyncFileEntry: writing file attributes to file "/mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG", mt:1487185509 [20180131 12:32:27.527] SyncFileEntry: Failed to write attributes for file /mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG - 1 [20180131 12:32:27.527] SyncFileEntry: Can't set file attributes 0 for file /mnt/WD/Lisa's iPhone 6s Camera backup/109APPLE/IMG_9776.JPG - 1 Steps I followed during setup. Raspberry Pi Prepare SD Card Raspbian-stretch-lite User:pi Pass:********* sudo raspi-config set boot options for auto-boot set ra pi to use all of SD card update tool enable ssh change location/timezone On Mac Terminal ssh-keygen -R 10.0.1.50. —>allows your Mac to connect On RaPi sudo apt-get update sudo apt-get dist-upgrade Setup WIFI Setup ExFat HDD sudo fdisk -l sudo apt-get install exfat-fuse sudo blkid —>. Get PARTUUID sudo nano /etc/fstab add —> PARTUUID=11257dd8-11b0-46c2-919b-ca62eef9c2b7 /mnt/WD exfat defaults,auto,unmask=000,user,rw 0 0 Resilio Create file —> sudo nano /etc/apt/sources.list.d/resilio-sync.list Add this line —>deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | sudo apt-key add - sudo dpkg --add-architecture armhf sudo apt-get update sudo apt-get install resilio-sync sudo systemctl enable resilio-sync sudo nano /usr/lib/systemd/user/resilio-sync.service —>change "WantedBy=multi-user.target" to "WantedBy=default.target" systemctl --user enable resilio-sync sudo loginctl enable-linger pi sudo service resilio-sync start Apply license from —>Sync_Pro_Purchase_27207.btskey ---> cut and paste the contents into the license section Quote Link to comment Share on other sites More sharing options...
Helen Posted February 1, 2018 Report Share Posted February 1, 2018 really have you searched the forum 1) [Solved] Raspberry Pi Indexing forever 2) [Solved] Sync - High CPU, large logs, constant indexing 3) High CPU usage, log spam (Failed to write attributes) -- same as yours 4) Folder re-scan stops re-scanning after a day Quote Link to comment Share on other sites More sharing options...
Chris2017 Posted February 1, 2018 Author Report Share Posted February 1, 2018 Hi Helen, I had read all of those, and I agree they are the same but I'm having trouble applying their solutions to my setup. Probably because I'm not familiar with linux, that's why I posted here. I didn't come looking for attitude. If you can help then please do. Quote Link to comment Share on other sites More sharing options...
Helen Posted February 2, 2018 Report Share Posted February 2, 2018 sorry, but what else can I do to help if the solution was already given in the linked topics. In this post even the exact command was given to remap the folder. Is this post as well. You just need do it on your raspberry, only adjust the paths I guess, cause you have different path - /mnt/WD Quote Link to comment Share on other sites More sharing options...
Chris2017 Posted February 2, 2018 Author Report Share Posted February 2, 2018 Okay, I see. I just wasn't making the connection as to how to do it since I have not used the mount command. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.