Question about reflink support in nilfs

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

 



Some places, I see people say, that nilfs is a copy-on-write filesystem.
But when I try to copy a file inside nilfs, using reflinks, this happens:

$ cp --reflink=always README.txt README2.txt
cp: failed to clone 'README2.txt' from 'README.txt': Operation not supported

Normal copying works fine:
$ cp --reflink=never README.txt README2.txt

So it looks like nilfs doesn't support copy-on-write, where you can copy a file without using extra space. E.g. copying a 5 GB file won't take 5 GB of free space.

Is this a bug or just a missing feature, that could be implemented in the future?




[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux