I don't have enough space on my hard drive on my computer, I'm trying to put the google drive where I have 5TB to be able to use it as a cache drive for 7z and then use that drive to upload the file.
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.1
- os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
- os/kernel: 10.0.19045.3930 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.5
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
One command to set the drive as a cache drive rclone.exe mount --vfs-cache-mode full --local-no-sparse Drive:/ S:
Another command to place the drive for upload (same drive with a different drive name) rclone.exe mount --vfs-cache-mode full --local-no-sparse --cache-dir s:/ Drive:/ Z: -P
A command for 7z to make it use s: as a working cache drive 7z.exe a -mx0 -p -wS:\ -mhe=on S:\M.7z D:\m
where -wS:\ specifies the S drive for a location to store the cache files in
Please run 'rclone config redacted' and share the full output
A log from the command that you were trying to run with the -vv flag
2024/01/23 17:21:38 ERROR : myfile.7z: vfs cache: truncate: failed to set as a sparse file: DeviceIoControl FSCTL_SET_SPARSE: Incorrect function.
2024/01/23 17:21:38 ERROR : myfile.7z: vfs cache: failed to set as a sparse file: DeviceIoControl FSCTL_SET_SPARSE: Incorrect function.
Do you think maybe there is a way I can make it work?
These errors should have been resolved when I added --local-no-sparse
But it seems to keep showing up.
What do you think?
I don't have enough space on my local drive, so I want to use Google Drive both as a cache memory and as a final upload drive, since I have unlimited storage space on Google Drive
I found it:
But it talks about continuous copying of a file, I'm looking to first compress the file with 7z and then upload it
I saw that there is also a remote called compress, but it does not support adding a password
Do you know of a way I can still make this happen?
If you want to use 7zip or some tool to compress something, 99% of the time you need writes or full.
if write or full is required, you need enough space to store the biggest file.
You can generally copy files directly to remote from somewhere else without using local space, but in this case, you need somewhere to stage your files.
this command will compress the file(s) and upload the archive to cloud, without using harddrive, without using cache.
7z a dummy -tgzip -so file.ext | rclone rcat gdrive01:zork/zork.gz -vv
DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "rcat" "gdrive01:zork/zork.gz" "-vv"]
DEBUG : Creating backend with remote "gdrive01:zork/"
DEBUG : Using config file from "c:\\data\\rclone\\rclone.conf"
DEBUG : Google drive root 'zork': 'root_folder_id = 0AIYnsu88uXytUk9PVA' - save this in the config to speed up startup
DEBUG : fs cache: renaming cache item "gdrive01:zork/" to be canonical "gdrive01:zork"
DEBUG : Google drive root 'zork': File to upload is small (46 bytes), uploading instead of streaming
DEBUG : zork.gz: md5 = 6241c7721f2825bb29175cd62d1df875 OK
INFO : zork.gz: Copied (new)