Skip to main content

Questions tagged [reflink]

A reflink is a type of lightweight copy in btrfs and xfs.

0 votes
0 answers
141 views

I have a folder root1 on disk partition sda1 which contain reflink/mnt/sda1/root1/a->/mnt/sda1/root1/raw/a I have another folder root1 on disk partition sdb1, that has reflink /mnt/sdb1/root1/a->...
Wang's user avatar
  • 1,435
2 votes
0 answers
394 views

I'm experiencing a very weird Btrfs "send" issue with file reflinks, and after so many trials, I found the details: First, I created a subvolume called "1": btrfs subvolume create ...
bczhc's user avatar
  • 21
22 votes
1 answer
9k views

btrfs supports reflinks, XFS supports reflinks (since 2017 I think?). Are there any other filesystems that support it? truncate -s 1G test.file; cp --reflink=always test.file ref.test.file;
hanshenrik's user avatar
0 votes
1 answer
321 views

I want to make a behaviour like btrfs send and btrfs receive, but on a per-file basis. As far as I see it, I can use cp -ax --reflink=always to make a "snapshot" of the file. Let's assume that two ...
user1994405's user avatar
8 votes
1 answer
2k views

It's clear, with cp --reflink foo bar I can copy a file on btrfs without wasting space. But how can I detect that the two files (foo and bar here) are using the same "space unit"? If they ...
Daniel Alder's user avatar
22 votes
1 answer
17k views

Btrfs support Copy-On-Write. I tried to use that feature to clone a directory: cp -R --reflink=always foo_directory foo_directory.mirror I expected the command to finish almost instantly (like a ...
Philipp Claßen's user avatar