linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ERROR: rename o3528-7220-0 -> usr failed: Directory not empty
@ 2017-04-30 17:10 J. Hart
  0 siblings, 0 replies; 5+ messages in thread
From: J. Hart @ 2017-04-30 17:10 UTC (permalink / raw)
  To: linux-btrfs

I am seeing the following error in one of a series of "btrfs send" 
operations.   The error is as follows:

At subvol /mnt/ArchPri/backup/primary/thinkcentre/root/backup.0.2
At snapshot backup.0.2017.04.21.03.11.40
ERROR: rename o3528-7220-0 -> usr failed: Directory not empty

It looks like it might be a btrfs bug, but I'm not sure.

A similar (?) bug was reported back on Feb 27, 2015 in the following 
message:
https://www.spinics.net/lists/linux-btrfs/msg42278.html

The resulting thread has since moved to :
https://www.spinics.net/lists/linux-btrfs/thrd34.html#42278

I am currently using a custom built 4.10.0 kernel from kernel.org. The 
linux system it's running on is one I built entirely from source (not 
Linux From Scratch) using a set of procedures I designed and so is not a 
common commercial one.

I will be happy to provide whatever further information or diagnostics I 
can.

J. Hart


^ permalink raw reply	[flat|nested] 5+ messages in thread
* re: ERROR: rename o3528-7220-0 -> usr failed: Directory not empty
@ 2017-05-01 15:17 J. Hart
  2017-05-01 18:52 ` Filipe Manana
  0 siblings, 1 reply; 5+ messages in thread
From: J. Hart @ 2017-05-01 15:17 UTC (permalink / raw)
  To: linux-btrfs

I've got more information on the following error :

At subvol /mnt/ArchPri/backup/primary/thinkcentre/root/backup.0.2
At snapshot backup.0.2017.04.21.03.11.40
ERROR: rename o3528-7220-0 -> usr failed: Directory not empty

I've filed a bug report with additional details at:

https://bugzilla.kernel.org/show_bug.cgi?id=195619

This error occurs during a series of "btrfs send" invocations.  It does 
not occur on all of them, but always at the same point in the operation, 
and so appears to be specific to (dependent on) the data being sent.

I have a test case down to the following:

su -
btrfs send --no-data temp/backup.0.2017.04.17.07.57.17 | btrfs rec temp/test
sync
btrfs send --no-data -p temp/backup.0.2017.04.17.07.57.17 
temp/backup.0.2017.04.21.03.11.40 | btrfs rec temp/test

The error should be something like:
At subvol temp/backup.0.2017.04.21.03.11.40
At snapshot backup.0.2017.04.21.03.11.40
ERROR: rename o3528-7220-0 -> usr failed: Directory not empty

I will probably need to provide the data somehow, or at least the output 
from "btrfs send".  The original data is several GB in size.

J. Hart


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-17 15:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-30 17:10 ERROR: rename o3528-7220-0 -> usr failed: Directory not empty J. Hart
  -- strict thread matches above, loose matches on Subject: below --
2017-05-01 15:17 J. Hart
2017-05-01 18:52 ` Filipe Manana
2017-05-02  2:52   ` J. Hart
2017-05-17 15:36     ` Filipe Manana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).