cp --reflink 失败

linux 提供了copy  on write  的功能, cp   带上--reflink

cp  --reflink 失败的情况: 

cp --reflink=always几乎肯定能正常工作。如果不是,您将收到错误。按照设计,这是--reflink=always--reflink=auto之间的区别。错误看起来像这样:

# Filesystem that does not support the feature at all
cp: failed to clone `xx' from `yy': Inappropriate ioctl for device

# Filesystem that does support it, but copy across filesystems
cp: failed to clone `xx' from `yy': Invalid cross-device link
posted @ 2020-01-07 22:27  you_magic  阅读(1001)  评论(0编辑  收藏  举报