Dne 22.4.2016 v 0:44 Chris Murphy napsal(a):
> On Thu, Apr 21, 2016 at 6:53 AM, Martin Svec <martin.s...@zoner.cz> wrote:
>> Hello,
>>
>> we use btrfs subvolumes for rsync-based backups. During backups btrfs often 
>> fails with "No space
>> left" error and goes to readonly mode (dmesg output is below) while there's 
>> still plenty of
>> unallocated space:
> Are you snapshotting near the time of enospc?

What do you mean by "near"? Milliseconds, seconds, minutes? In general, yes, 
but it's hard to say
exactly because multiple backup jobs run in parallel every night.

> If so it's a known problem that's been around for a while. There are some 
> suggestions in
> the archives but I think the main thing is to back off on the workload
> momentarily, take the snapshot, and then resume the workload. I don't
> think it has to come to a complete stop but it's a lot more
> reproducible with heavy writes.

I'm afraid we cannot throttle the workload, due to backup jobs concurrency. I 
would expect this to
be done at the filesystem level.

Anyway, how can I help to fix this bug? Is there anybody who works on fixing it 
or is it considered
a "feature"?

Best regards
Martin Svec


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to