V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
edis0n0
V2EX  ›  Linux

为什么我的 Ubuntu 不支持 btrfs 去重?

  •  
  •   edis0n0 · Jan 31, 2023 · 3167 views
    This topic created in 1182 days ago, the information mentioned may be changed or developed.

    看 kernel 文档 https://btrfs.wiki.kernel.org/index.php/User_notes_on_dedupe 是能用 btrfs dedup enable /mnt/mybtrfspart 启用去重,但我执行这条命令提示 btrfs: unknown token 'dedup' 底下的参数说明也没长得像的。

    其它教程例如 https://linuxhint.com/save-disk-space-btrfs-deduplication/ 让安装 duperemove 这个工具然后配 crontab 每隔一段时间执行一次去重,我觉得很不优雅。

    2 replies    2023-02-04 11:23:20 +08:00
    Tyris
        1
    Tyris  
       Jan 31, 2023
    往下看完,kernel 和 btrfs-progs 都要特定版本

    或者试试 https://github.com/Zygo/bees
    documentzhangx66
        2
    documentzhangx66  
       Feb 4, 2023
    目前 Windows Server 最新版,以及 btrfs 、zfs ,去重都是定时的。

    没设计为实时,因为实时去重很消耗性能与时间,定时去重本质上是空间换时间的设计。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6062 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 02:05 · PVG 10:05 · LAX 19:05 · JFK 22:05
    ♥ Do have faith in what you're doing.