Re: [bug] btrfs send -e option always fails ERROR: unexpected EOF in stream.

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

 



On Sat, Jan 23, 2016 at 04:48:26PM -0700, Chris Murphy wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=111221
> 
> 4.4.0-1.fc24.x86_64
> btrfs-progs-4.3.1-1.fc23.x86_64
> 
> 
> 
> [...snip...]
> BTRFS_IOC_SEND returned 0
> joining genl thread
> At subvol testsub.1
> ERROR: parent determination failed for 0

   This looks to me like a known and somewhat awkward bug/misfeature
where the mountpoint containing either the subvol being sent or the
target location for the receive is not a top-level mount, which causes
this error. i.e., this will (I think) fail:

# mount -o subvol=@foo /dev/sda1 /mnt
# btrfs send /mnt/@whatever | ...

   Can you try again from within a subvolid=0 mount?

   Hugo.

> chown temp/cockpit-shell-0.91-1.fc23.noarch.rpm - uid=0, gid=0
> chmod temp/cockpit-shell-0.91-1.fc23.noarch.rpm - mode=0644
> utimes temp/cockpit-shell-0.91-1.fc23.noarch.rpm
> mkfile o270-134474-0
> rename o270-134474-0 -> temp/cockpit-networkmanager-0.91-1.fc23.noarch.rpm
> utimes temp
> set_xattr temp/cockpit-networkmanager-0.91-1.fc23.noarch.rpm -
> name=security.selinux data_len=38
> data=unconfined_u:object_r:admin_home_t:s0
> truncate temp/cockpit-networkmanager-0.91-1.fc23.noarch.rpm size=37322
> chown temp/cockpit-networkmanager-0.91-1.fc23.noarch.rpm - uid=0, gid=0
> chmod temp/cockpit-networkmanager-0.91-1.fc23.noarch.rpm - mode=0644
> utimes temp/cockpit-networkmanager-0.91-1.fc23.noarch.rpm
> ERROR: unexpected EOF in stream.
> 
> The same ERROR messages happens even if I use -p to specify the parent.
> 
> Sending conventionally one at a time with -p works OK.
> 
> 

-- 
Hugo Mills             | Great films about cricket: The Third Man
hugo@... carfax.org.uk |
http://carfax.org.uk/  |
PGP: E2AB1DE4          |

Attachment: signature.asc
Description: Digital signature


[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