Split "Storage Folder" into persistent and impersistent parts


eltopo

Recommended Posts

Hello,

I am running Resilio Sync client on a respberry pi, with a usb drive.

I notice that in the storage folder (i.e., main .sync folder), Sync is constantly writing sync.log. This may not be good for usb/flash devices.

Can you split the storage folder into 2 parts:

1. persistent: Sync needs these files saved persistently, they should survive between system/Sync shutdown/reboot;

2. impersistent: such as sync.log, Sync does not need them saved, they will be re-created if necessary.

impersistent files can be moved to a tmpfs parition, so the constant writings won't wear out usb/flash devices. I have the 1GB RAM raspberry pi, it has 500+MB tmpfs paritions for log.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.