g2p / bedup

Btrfs deduplication
http://pypi.python.org/pypi/bedup
GNU General Public License v2.0
322 stars 50 forks source link

OSError: [Errno 95] Operation not supported #103

Open telsch opened 5 years ago

telsch commented 5 years ago

Recently i got following error: OSError: [Errno 95] Operation not supported

4.19.14-1-lts btrfs-progs v4.19.1

also tried with

4.19.75-1-lts btrfs-progs v5.2.2


00.16 Flushing /home/
Scanning volume /home/ generations from 33279 to 33300, with size cutoff 1024
00.23 Scanned 8820 retained 1
Deduplicating filesystem {ea026c02-1244-49b8-8bda-8cfebabf6128}
19.20 Size group 42/8713 (9763) sampled 1048 hashed 36 freed 0
Traceback (most recent call last):
  File "/root/.local/bin/bedup", line 11, in <module>
    load_entry_point('bedup==0.10.1', 'console_scripts', 'bedup')()
  File "/root/.local/lib/python3.7/site-packages/bedup-0.10.1-py3.7-linux-x86_64.egg/bedup/__main__.py", line 503, in script_main
    sys.exit(main(sys.argv))
  File "/root/.local/lib/python3.7/site-packages/bedup-0.10.1-py3.7-linux-x86_64.egg/bedup/__main__.py", line 490, in main
    return args.action(args)
  File "/root/.local/lib/python3.7/site-packages/bedup-0.10.1-py3.7-linux-x86_64.egg/bedup/__main__.py", line 200, in vol_cmd
    dedup_tracked(sess, volset, tt, defrag=args.defrag)
  File "/root/.local/lib/python3.7/site-packages/bedup-0.10.1-py3.7-linux-x86_64.egg/bedup/tracking.py", line 409, in dedup_tracked
    dedup_tracked1(ds, comm1)
  File "/root/.local/lib/python3.7/site-packages/bedup-0.10.1-py3.7-linux-x86_64.egg/bedup/tracking.py", line 620, in dedup_tracked1
    dedup_fileset(ds, fileset, fd_names, fd_inodes, size)
  File "/root/.local/lib/python3.7/site-packages/bedup-0.10.1-py3.7-linux-x86_64.egg/bedup/tracking.py", line 643, in dedup_fileset
    deduped = clone_data(dest=dfd, src=sfd, check_first=True)
  File "/root/.local/lib/python3.7/site-packages/bedup-0.10.1-py3.7-linux-x86_64.egg/bedup/platform/btrfs.py", line 602, in clone_data
    ioctl_pybug(dest, lib.BTRFS_IOC_CLONE, src)
  File "/root/.local/lib/python3.7/site-packages/bedup-0.10.1-py3.7-linux-x86_64.egg/bedup/platform/btrfs.py", line 361, in ioctl_pybug
    return fcntl.ioctl(fd, ioc, arg)
OSError: [Errno 95] Operation not supported
telsch commented 5 years ago

Maybe duplicate of #74