Comments on What’s with cp --reflink: failed to clone: Invalid argument?

Be civil and read the entire article first. This is not a support forum. Comments from new contributors are moderated. English only.

Leave a comment

Required. Optional. E.g. your homepage, Twitter. or Email required unless anonymous. Not published or shared. Reuse to be recognized as the same commenter.
Plain-text only. Begin lines with a > character to quote.

Stephen Kestle

Also the 'c' attribute (compression) makes it fail.

In my situation, I was trying to move files between 2 shared folders on Synology DSM (on the same btrfs volume), except one of them was marked for compression. Rather than take compression off the whole shared folder, I targeted the parent folder with "chattr -c".

I wouldn't have though this would prevent the CoW, but it worked fine after that.