performance of cp and mv between subvolumes

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

 



Shouldn't be possible to move or copy (COW) big files between two
subvolumes of one btrfs filesystem instantly - without real data
movement?

cp --reflink between subvolumes is returning error: cp: failed to
clone `...': Invalid cross-device link
mv between subvolumes is really slow - looks like it is moving all data

To circumvent this I can create new snapshot and then remove
everything except files I want to copy/move to this new subvolume and
I gained the same effect quite fast, but indirectly, is there some way
how to do it directly when subvolume already exists?

Roman Kapusta
--
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