Re: kernel 4.1: no space left on device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 27, 2015 at 9:32 AM, Stefan Priebe <s.priebe@xxxxxxxxxxxx> wrote:
> Hi,
>
> while having some big btrfs volumes (44TB + 37TB).
>
> I see on a regular basis the "no space left on device" message. I'm only
> able to "fix" this. By running btrfs balance AND unmounting and remounting
> the btrfs volume.
>
> Is there any way to debug / workaround this one?

What kernel version?
Have you tried to reproduce with a newer kernel and an older kernel? I
suggest trying 4.1 for newer, and at oldest 3.18.16 for regression
testing.
You see the message where/when?
And what's the workload happening at the time?
 If you pause/stop that work load, can you reproduce it by by cp'ing
some files? Does it happen with small files (less than 16KB) or medium
(100MB) or large (1+GB) files, or always?
About how many snapshots or reflink'd large files?


If it were me, after the above upgrade and regression testing, I'd do
the following and add all information thus far (version of kernel, and
btrfs-progs, and the workflow description) to a bugzilla.kernel.org
bug and *attach* the long output results as files to that bug:

1. btrfs check, without --repair, attach complete output to bug
2. mount with option enospc_debug
3. strace cp to reproduce the problem, attach output to bug
4. dmesg from the time of mount at #2, through the end of the strace
in 3, attach output to bug
5. remount with option clear_cache and see if you can reproduce the problem



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



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux