All of lore.kernel.org
 help / color / mirror / Atom feed
* btrfs send/receive error
@ 2015-05-11 21:38 Matt McKinnon
  2015-05-11 23:46 ` Marc MERLIN
  0 siblings, 1 reply; 9+ messages in thread
From: Matt McKinnon @ 2015-05-11 21:38 UTC (permalink / raw)
  To: linux-btrfs

Hello,

What's the best way to deal with this send/receive error?

---

Create a readonly snapshot of 'users' in 
'/export/r2/.incrementals/users_ro.20150511_17:28:53'
At subvol /export/r2/.incrementals/users_ro.20150511_17:28:53
At snapshot users_ro.20150511_17:28:53
ERROR: rename o46709324-421364-0 -> fspace2/120430RU/bold_nopace/SPMana 
failed. Directory not empty

---

./btrfs --version
btrfs-progs v4.0


-Matt

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

* Re: btrfs send/receive error
  2015-05-11 21:38 btrfs send/receive error Matt McKinnon
@ 2015-05-11 23:46 ` Marc MERLIN
  2015-05-12  1:00   ` Matt McKinnon
  0 siblings, 1 reply; 9+ messages in thread
From: Marc MERLIN @ 2015-05-11 23:46 UTC (permalink / raw)
  To: Matt McKinnon; +Cc: linux-btrfs

On Mon, May 11, 2015 at 05:38:15PM -0400, Matt McKinnon wrote:
> Hello,
> 
> What's the best way to deal with this send/receive error?
 
Typically get a new kernel where this is fixed, Filipe
has been working on fixing them.
What kernel was this on?

Marc

> ---
> 
> Create a readonly snapshot of 'users' in
> '/export/r2/.incrementals/users_ro.20150511_17:28:53'
> At subvol /export/r2/.incrementals/users_ro.20150511_17:28:53
> At snapshot users_ro.20150511_17:28:53
> ERROR: rename o46709324-421364-0 ->
> fspace2/120430RU/bold_nopace/SPMana failed. Directory not empty
> 
> ---
> 
> ./btrfs --version
> btrfs-progs v4.0
> 
> 
> -Matt
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

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

* Re: btrfs send/receive error
  2015-05-11 23:46 ` Marc MERLIN
@ 2015-05-12  1:00   ` Matt McKinnon
  2015-05-12 14:41     ` Marc MERLIN
  0 siblings, 1 reply; 9+ messages in thread
From: Matt McKinnon @ 2015-05-12  1:00 UTC (permalink / raw)
  To: Marc MERLIN; +Cc: linux-btrfs

> Typically get a new kernel where this is fixed, Filipe
> has been working on fixing them.
> What kernel was this on?
>
> Marc

Send box is 3.16.6 .  Receive box is 3.17.4 .

Just upgraded the receiving box to 4.0.2 which didn't fix it, so I'll 
schedule a reboot of the sending box.

-Matt

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

* Re: btrfs send/receive error
  2015-05-12  1:00   ` Matt McKinnon
@ 2015-05-12 14:41     ` Marc MERLIN
  2015-05-13 15:51       ` Matt McKinnon
  0 siblings, 1 reply; 9+ messages in thread
From: Marc MERLIN @ 2015-05-12 14:41 UTC (permalink / raw)
  To: Matt McKinnon; +Cc: linux-btrfs

On Mon, May 11, 2015 at 09:00:03PM -0400, Matt McKinnon wrote:
> >Marc
> 
> Send box is 3.16.6 .  Receive box is 3.17.4 .
> 
> Just upgraded the receiving box to 4.0.2 which didn't fix it, so
> I'll schedule a reboot of the sending box.

Yeah, usually these problems are because the sender sent a sequence of
events that doesn't make sense and can't be replicated by the receiver.
Hopefully the server upgrade will fix it.

Otherwise Filipe will be very interested in getting the output of btrfs
send -v -v from the sending and receiving side just around the time
where it dies.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

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

* Re: btrfs send/receive error
  2015-05-12 14:41     ` Marc MERLIN
@ 2015-05-13 15:51       ` Matt McKinnon
  0 siblings, 0 replies; 9+ messages in thread
From: Matt McKinnon @ 2015-05-13 15:51 UTC (permalink / raw)
  To: Marc MERLIN; +Cc: linux-btrfs

On 05/12/2015 10:41 AM, Marc MERLIN wrote:
> On Mon, May 11, 2015 at 09:00:03PM -0400, Matt McKinnon wrote:
>>> Marc
>>
>> Send box is 3.16.6 .  Receive box is 3.17.4 .
>>
>> Just upgraded the receiving box to 4.0.2 which didn't fix it, so
>> I'll schedule a reboot of the sending box.
>
> Yeah, usually these problems are because the sender sent a sequence of
> events that doesn't make sense and can't be replicated by the receiver.
> Hopefully the server upgrade will fix it.
>
> Otherwise Filipe will be very interested in getting the output of btrfs
> send -v -v from the sending and receiving side just around the time
> where it dies.
>
> Marc
>

The kernel upgrade on both ends fixed it.  Thanks Marc, Filipe.

-Matt

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

* Re: btrfs send/receive error
  2016-06-23  7:02   ` Lubos Kolouch
@ 2016-06-23 22:51     ` Michael Duell
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Duell @ 2016-06-23 22:51 UTC (permalink / raw)
  To: Lubos Kolouch, linux-btrfs


[-- Attachment #1.1: Type: text/plain, Size: 1203 bytes --]

Hallo Lubos!

I am not the right one to adress with this issue.

I, too, am only suffering from the bug, but not 
technically apt to address the problem.

You should search this ML and the internet for the
appropriate threads and help out there.

I am just a user :)

Greetings, Michael

On 2016-06-23 09:02, Lubos Kolouch wrote:
> Michael Duell <michael.duell <at> rub.de> writes:
> 
>>
>> Hallo Lubos!
>>
>> I have got the same problems with send/receive. Had those problems
>> for several weeks or months now. Not sure when those started.
>>
>> These send/receive problems are known and there are several bug 
>> reports all over the internet and also on this list.
>>
>> Not sure if or when this gets fixed. It's broken atm.
>>
>> Michael
>>
> 
> 
> Hallo Michael,
> 
> I would like to help to debug the issue. Something I can do/get
> logs/whatever to speed up the root cause analysis and get it fixed?
> 
> MfG/Best regards,
> 
> Lubos
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

* Re: btrfs send/receive error
  2016-06-22 16:10 ` Michael Duell
@ 2016-06-23  7:02   ` Lubos Kolouch
  2016-06-23 22:51     ` Michael Duell
  0 siblings, 1 reply; 9+ messages in thread
From: Lubos Kolouch @ 2016-06-23  7:02 UTC (permalink / raw)
  To: linux-btrfs

Michael Duell <michael.duell <at> rub.de> writes:

> 
> Hallo Lubos!
> 
> I have got the same problems with send/receive. Had those problems
> for several weeks or months now. Not sure when those started.
> 
> These send/receive problems are known and there are several bug 
> reports all over the internet and also on this list.
> 
> Not sure if or when this gets fixed. It's broken atm.
> 
> Michael
> 


Hallo Michael,

I would like to help to debug the issue. Something I can do/get
logs/whatever to speed up the root cause analysis and get it fixed?

MfG/Best regards,

Lubos



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

* Re: btrfs send/receive error
  2016-06-22 12:01 Lubos Kolouch
@ 2016-06-22 16:10 ` Michael Duell
  2016-06-23  7:02   ` Lubos Kolouch
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Duell @ 2016-06-22 16:10 UTC (permalink / raw)
  To: linux-btrfs


[-- Attachment #1.1: Type: text/plain, Size: 1427 bytes --]

Hallo Lubos!

I have got the same problems with send/receive. Had those problems
for several weeks or months now. Not sure when those started.

These send/receive problems are known and there are several bug 
reports all over the internet and also on this list.

Not sure if or when this gets fixed. It's broken atm.

Michael


On 2016-06-22 14:01, Lubos Kolouch wrote:
> Hello,
> 
> I am having strange issue with btrfs send/receive:
> 
> #btrfs send -p /mnt/a/_btrbk_snap/debian.20160621_1 /mnt/a/_btrbk_snap/debian.20160622 | btrfs receive /mnt/ext/backups/vaclfw/
> 
> At subvol /mnt/a/_btrbk_snap/debian.20160622
> At snapshot debian.20160622
> ERROR: unlink var/lib/samba/private/msg.sock/7992 failed. No such file or directory
> 
> 
> But :
> 
> ls -la /mnt/a/_btrbk_snap/debian.20160621_1/var/lib/samba/private/msg.sock/
> 2330   2388   2394   29375  7992
> 
> ls -la /mnt/ext/backups/vaclfw/debian.20160621_1/var/lib/samba/private/msg.sock/
> 2330   2388   2394   29375  7992
> 
> uname -a
> Linux vaclfw 4.6.0-1-amd64 #1 SMP Debian 4.6.2-1 (2016-06-15) x86_64 GNU/Linux
> 
> # btrfs version
> # btrfs-progs v4.5.2
> 
> What could be wrong?
> 
> Thanks
> 
> Lubos
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

* btrfs send/receive error
@ 2016-06-22 12:01 Lubos Kolouch
  2016-06-22 16:10 ` Michael Duell
  0 siblings, 1 reply; 9+ messages in thread
From: Lubos Kolouch @ 2016-06-22 12:01 UTC (permalink / raw)
  To: linux-btrfs

Hello,

I am having strange issue with btrfs send/receive:

#btrfs send -p /mnt/a/_btrbk_snap/debian.20160621_1 
/mnt/a/_btrbk_snap/debian.20160622 | btrfs receive 
/mnt/ext/backups/vaclfw/

At subvol /mnt/a/_btrbk_snap/debian.20160622
At snapshot debian.20160622
ERROR: unlink var/lib/samba/private/msg.sock/7992 failed. No such file 
or directory


But :

ls -la 
/mnt/a/_btrbk_snap/debian.20160621_1/var/lib/samba/private/msg.sock/
2330   2388   2394   29375  7992

ls -la 
/mnt/ext/backups/vaclfw/debian.20160621_1/var/lib/samba/private/msg.sock/
2330   2388   2394   29375  7992

uname -a
Linux vaclfw 4.6.0-1-amd64 #1 SMP Debian 4.6.2-1 (2016-06-15) x86_64 
GNU/Linux

# btrfs version
# btrfs-progs v4.5.2

What could be wrong?

Thanks

Lubos

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

end of thread, other threads:[~2016-06-23 22:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-11 21:38 btrfs send/receive error Matt McKinnon
2015-05-11 23:46 ` Marc MERLIN
2015-05-12  1:00   ` Matt McKinnon
2015-05-12 14:41     ` Marc MERLIN
2015-05-13 15:51       ` Matt McKinnon
2016-06-22 12:01 Lubos Kolouch
2016-06-22 16:10 ` Michael Duell
2016-06-23  7:02   ` Lubos Kolouch
2016-06-23 22:51     ` Michael Duell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.