Edit: well i think I'm doing something wrong, keep on getting mounting errors after a reboot:
plex@scw-855bb7:~/acd$ cd acd2017/01/29 19:18:17 mount helper error: fusermount: failed to access mountpoint /home/plex/acdcrypt: Permission denied
2017/01/29 19:18:17 Fatal error: failed to mount FUSE fs: fusermount: exit status 1
2017/01/29 19:19:23 mount helper error: fusermount: failed to access mountpoint /home/plex/acdcrypt: Permission denied
2017/01/29 19:19:23 Fatal error: failed to mount FUSE fs: fusermount: exit status 1
Too much of a sunday night to get bothered why though. Probably doing something stupid while mounting.
Weirdā¦ I rebooted the vps again, mounted - it seemed to work.
Then when I did a tree --du -h /home/plex/acd to check the size (to compare them to my acdcrypt) my whole putty session quit on me with some kind of MAC error as well.
Tried to reproduce that error, but couldnāt. Figured I could do a sync to continue the copy, but as soon as I started that, I got the same errors again (Failed to copy: Post https://content-eu.drive.amazonaws.com/cdproxy/nodes?suppress=deduplication: remote error: bad record MAC). Checked one of the files mentioned to see if it was corrupted, but this wasnāt the case. Played just fine.
Something weird is going on, not quite sure how to fix this.
So you are copying from your ENCFS unencrypted to your cryptremote ?
This is what I used at the end /usr/bin/rclone copy /storage/acd/ acdcrypt: --no-traverse --no-update-modtime --transfers=30 --checkers=30 --min-age 180m --log-file=/var/log/acd2crypt.log
/storage/acd/ - rclone mount was on /storage/.acd/ that was layered with encfs
acdcrypt - rclone crypt mount
I removed -c that I had at beginning since crypt does not support checksum, -no modtime to keep original ones so plex dont think its updated file, the min-age 180m was there since i was also uploading new files to encfs drive during copy and did not want to risk with copying some partial files.
I think I know what the problem was... I increased block size in my encfs.xml file to 4096. Just set it back to 1024 and now transfers seem to be going ok. I think I might as well rm -Rf everything that's in my crypt folder now and start over with your suggested command. Minus --min-age, since I'm using local storage @ Hetzner for new stuff anyway.
Won't a rclone copy overwrite files that were already transferred anyway? Shouldn't I do a sync?
Btw, spoke to soon - checking the log now and the errors are back.
Ok, so Iāve let it run again last night. Lotās and lotās of errors again. Might be better to actually copy my entire library (itās still <3TB) locally, decrypt it, and upload it with crypt.
Seems like a pain, but this isnāt going to work anyway.
Iāve quit the transfer. Somehow it just kept on going (i guess it had lotās of errors or retries). Was uploading a library @ ~1.1TB and finally quit the upload which had transferred about 4TB.
No idea why this is, but for now Iāll stick with encfs.
I am running a FUSE directory setup for encryption with encfs (local - unencrypted, .local - encrypted, media - plex mount point)
I have a dedicated plex server with 200GB local storage and I have a 14TB encfs encrypted acd library attached that I want to convert to rclone crypt and then push back up to acd as well as gdrive, now as far as I can see I have three options:
Download 100GB chunks from acd library to .local folder, encrypt the decrpyted local folder with crypt, push back up to acd and gdrive
Same as above but get a 2nd dedicated storage server with 12TB of local storage and download the 14TB of data in the respective libraries (Movies, TV, etc) and then re-encrypt and push back to acd and gdrive
Start over, keep the current acd drive live. but re-download my whole library and encrypt it with crypt and then push to gdrive and either the same acd or a new one.
Ideally iād like to give option 1 a try so my question is this, is it possible to use rclone to do what is listed in option 1 or would one of the other options be better.
@Geof_Grouch none of above, you donāt need any local storage since data will be downloaded/encrypted/uploaded in memory. Just copy from encfs mount to crypt drive.