-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please implement "cp --reflink=always" with ZoL #1063
Comments
BTW the pastebin example is with btrfs |
oh apparently this is a duplicate of #405 |
For now you can always use clones. |
Clones and snapshots are too heavy duty. |
bookmarks then? |
pcd1193182
pushed a commit
to pcd1193182/zfs
that referenced
this issue
Sep 26, 2023
…zfs#1063) Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.71 to 0.1.72. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](dtolnay/async-trait@0.1.71...0.1.72) --- updated-dependencies: - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please implement "cp --reflink=always" with ZoL
I am using it happily with btrfs. For example I downloaded xen 4.1.3 source and wanted to try a few things with it, so I made 3 or 4 copies of the tree (taking little space and being nearly instant due to reflinks) and then did my hacks and tests without having to rebuild each time to install each from the same tree.
using "cp --reflink=always" is like dedup without dedup enabled
it is not ordinary hardlinks... it is like dedup without the dedup table
http://pastebin.com/2zE9D36u
it's just like dedup... modify the original, and the reflinked copies don't chnage
I don't think it is ever file level... only block. That way if you modify some blocks of a file, it cows only those blocks, not the whole file, just like dedup or snapshots.
ryao on freenode tried this and reported this result:
cp: failed to clone ‘portage/app-cdr/k3b/metadata.xml’ from ‘/usr/portage/app-cdr/k3b/metadata.xml’: Inappropriate ioctl for device
The text was updated successfully, but these errors were encountered: