* btrfs send/receive symlink bug
@ 2012-11-14 22:34 David Arendt
2012-11-15 4:21 ` Marios Titas
0 siblings, 1 reply; 3+ messages in thread
From: David Arendt @ 2012-11-14 22:34 UTC (permalink / raw)
To: linux-btrfs
Hi,
I am using kernel 3.7.0-rc5 and latest btrfs-progs git.
I am trying btrfs send/receive. When I have a filesystem containing a
symlink pointing to a nonexistent destination or a destination created
after the symlink was created, btrfs receive aborts with: ERROR: chown
link1.txt failed. No such file or directory.
Steps to reproduce (/dev/loop0 and /dev/loop1 are test images):
mkfs.btrfs /dev/loop0
mount /dev/loop0 /u00
btrfs subvolume create /u00/test
cd /u00/test
ln -s test1.txt link1.txt
btrfs subvolume snapshot -r /u00/test /u00/test.snapshot
mkfs.btrfs /dev/loop1
mount /dev/loop1 /u01
btrfs send /u00/test.snapshot | btrfs receive /u01
ERROR: chown link1.txt failed. No such file or directory
Bye,
David Arendt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: btrfs send/receive symlink bug
2012-11-14 22:34 btrfs send/receive symlink bug David Arendt
@ 2012-11-15 4:21 ` Marios Titas
2012-11-15 5:59 ` David Arendt
0 siblings, 1 reply; 3+ messages in thread
From: Marios Titas @ 2012-11-15 4:21 UTC (permalink / raw)
To: David Arendt; +Cc: linux-btrfs
On Wed, Nov 14, 2012 at 5:34 PM, David Arendt <admin@prnet.org> wrote:
> Hi,
>
> I am using kernel 3.7.0-rc5 and latest btrfs-progs git.
>
> I am trying btrfs send/receive. When I have a filesystem containing a
> symlink pointing to a nonexistent destination or a destination created
> after the symlink was created, btrfs receive aborts with: ERROR: chown
> link1.txt failed. No such file or directory.
>
> Steps to reproduce (/dev/loop0 and /dev/loop1 are test images):
>
> mkfs.btrfs /dev/loop0
> mount /dev/loop0 /u00
> btrfs subvolume create /u00/test
> cd /u00/test
> ln -s test1.txt link1.txt
> btrfs subvolume snapshot -r /u00/test /u00/test.snapshot
> mkfs.btrfs /dev/loop1
> mount /dev/loop1 /u01
> btrfs send /u00/test.snapshot | btrfs receive /u01
> ERROR: chown link1.txt failed. No such file or directory
A patch [1] for btrfs-progs that solves this issue was posted a month
ago but has landed yet on the btrfs-progs git repository.
[1] http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg19539.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: btrfs send/receive symlink bug
2012-11-15 4:21 ` Marios Titas
@ 2012-11-15 5:59 ` David Arendt
0 siblings, 0 replies; 3+ messages in thread
From: David Arendt @ 2012-11-15 5:59 UTC (permalink / raw)
To: Marios Titas; +Cc: linux-btrfs
Hi,
thanks,
this patch fixes the problem
Bye,
David Arendt
On 11/15/12 05:21, Marios Titas wrote:
> On Wed, Nov 14, 2012 at 5:34 PM, David Arendt <admin@prnet.org> wrote:
>> Hi,
>>
>> I am using kernel 3.7.0-rc5 and latest btrfs-progs git.
>>
>> I am trying btrfs send/receive. When I have a filesystem containing a
>> symlink pointing to a nonexistent destination or a destination created
>> after the symlink was created, btrfs receive aborts with: ERROR: chown
>> link1.txt failed. No such file or directory.
>>
>> Steps to reproduce (/dev/loop0 and /dev/loop1 are test images):
>>
>> mkfs.btrfs /dev/loop0
>> mount /dev/loop0 /u00
>> btrfs subvolume create /u00/test
>> cd /u00/test
>> ln -s test1.txt link1.txt
>> btrfs subvolume snapshot -r /u00/test /u00/test.snapshot
>> mkfs.btrfs /dev/loop1
>> mount /dev/loop1 /u01
>> btrfs send /u00/test.snapshot | btrfs receive /u01
>> ERROR: chown link1.txt failed. No such file or directory
>
> A patch [1] for btrfs-progs that solves this issue was posted a month
> ago but has landed yet on the btrfs-progs git repository.
>
> [1] http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg19539.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-15 5:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-14 22:34 btrfs send/receive symlink bug David Arendt
2012-11-15 4:21 ` Marios Titas
2012-11-15 5:59 ` David Arendt
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).