Advertisement
teknoraver

zfs reflink

Oct 5th, 2024 (edited)
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. root@pve:/zfs# mount |grep -w $PWD
  2. zfs on /zfs type zfs (rw,relatime,xattr,noacl,casesensitive)
  3.  
  4. root@pve:/zfs# cat /sys/module/zfs/parameters/zfs_bclone_enabled
  5. 1
  6.  
  7. root@pve:/zfs# strace tar xf systemd.tar --reflink
  8. execve("/usr/local/bin/tar", ["tar", "xf", "systemd.tar", "--reflink"], 0x7ffe2eb77ee8 /* 19 vars */) = 0
  9. [...]
  10. openat(AT_FDCWD, "systemd/sleep.conf", O_WRONLY|O_CREAT|O_EXCL|O_NOCTTY|O_NONBLOCK|O_CLOEXEC, 0600) = 4
  11. ioctl(4, BTRFS_IOC_CLONE_RANGE or FICLONERANGE, {src_fd=3, src_offset=20480, src_length=4096, dest_offset=0}) = -1 EINVAL (Invalid argument)
  12. read(3, "# This file is part of systemd."..., 10240) = 10240
  13. write(4, "# This file is part of systemd."..., 953) = 953
  14. utimensat(4, NULL, [UTIME_OMIT, {tv_sec=1706304939, tv_nsec=0} /* 2024-01-26T22:35:39+0100 */], 0) = 0
  15. fchown(4, 0, 0) = 0
  16. fchmod(4, 0644) = 0
  17. close(4) = 0
  18. openat(AT_FDCWD, "systemd/logind.conf", O_WRONLY|O_CREAT|O_EXCL|O_NOCTTY|O_NONBLOCK|O_CLOEXEC, 0600) = 4
  19. ioctl(4, BTRFS_IOC_CLONE_RANGE or FICLONERANGE, {src_fd=3, src_offset=24576, src_length=4096, dest_offset=0}) = -1 EINVAL (Invalid argument)
  20. write(4, "# This file is part of systemd."..., 1539) = 1539
  21. utimensat(4, NULL, [UTIME_OMIT, {tv_sec=1706305716, tv_nsec=0} /* 2024-01-26T22:48:36+0100 */], 0) = 0
  22. fchown(4, 0, 0) = 0
  23. fchmod(4, 0644) = 0
  24. close(4) = 0
  25. openat(AT_FDCWD, "systemd/networkd.conf", O_WRONLY|O_CREAT|O_EXCL|O_NOCTTY|O_NONBLOCK|O_CLOEXEC, 0600) = 4
  26. ioctl(4, BTRFS_IOC_CLONE_RANGE or FICLONERANGE, {src_fd=3, src_offset=28672, src_length=4096, dest_offset=0}) = -1 EINVAL (Invalid argument)
  27. write(4, "# This file is part of systemd."..., 846) = 846
  28. utimensat(4, NULL, [UTIME_OMIT, {tv_sec=1706304939, tv_nsec=0} /* 2024-01-26T22:35:39+0100 */], 0) = 0
  29. fchown(4, 0, 0) = 0
  30. fchmod(4, 0644) = 0
  31. close(4) = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement