LeoM
(Leo)
September 14, 2025, 1:12pm
1
Problem
When under the min_free_space
limit on a union remote, I can't delete files, essentially freezing the remote that is full.
Error:
50mbfile: File.Remove file error: 1 error: Unison: no upstreams found with more than min_free_space space spare
Version: rclone v1.71.0
OS: Arch (CachyOS)
Remote in question: Google Drive
Command I was trying to run: rm 50mbfile
Rclone config:
[Unison]
type = union
upstreams = GoogleDrive1:/union Mega1:/union GoogleDrive2:/union GoogleDrive3:/union Mega2:/union
action_policy = mfs
create_policy = mfs
min_free_space = 10Mi
[GoogleDrive1] <-- problematic drive
type = drive
client_id = id
client_secret = secret
token = {"access_token":"token","token_type":"Bearer","refresh_token":"token","expiry":"2025-09-13T21:44:56.608728508+01:00","expires_in":3599}
use_trash = false
team_drive =
asdffdsa
(jojothehumanmonkey)
September 14, 2025, 1:13pm
2
welcome to the forum,
when you posted, there was a template of questions to be answer.
please answer all
of them so we can best help you.
LeoM
(Leo)
September 14, 2025, 1:14pm
3
Hi @asdffdsa , I saw the other questions, however they either weren’t necessary or applicable to the problem.
Edit: GitHub issue template slightly differed. Will upload the config now.
All works exactly as you configured it:
min_free_space
kicks in for mfs
policies - hence you can’t delete (action) anything if there is no space because for reason only known to you action policy is set to mfs
.
All is explained in docs :
Category
Description
Functions
action
Writing Existing file
move, rmdir, rmdirs, delete, purge and copy, sync (as destination when file exist)
create
Create non-existing file
copy, sync (as destination when file not exist)
search
Reading and listing file
ls, lsd, lsl, cat, md5sum, sha1sum and copy, sync (as source)
I guess what you want is set of policies to use all available space arccos all remotes. You only want to use remote with most free space (mfs) when you create new file. So to make it explicit:
action_policy = epall
create_policy = mfs
search-policy = ff
min_free_space = 10Mi
Otherwise please explain what exactly you want to achieve with your union
.
LeoM
(Leo)
September 16, 2025, 5:33pm
5
Thanks @kapitainsky , all working fine now!
1 Like
system
(system)
Closed
September 19, 2025, 5:33pm
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.