`btrfs check --force` 没有 --repair 在已安装的设备上

Tom*_*ale 7 btrfs

我尝试检查包含的设备/home并查看:

$ sudo btrfs check --force /dev/vg_svelte/home
WARNING: filesystem mounted, continuing because of --force
ERROR: cannot open device '/dev/vg_svelte/home': Device or resource busy
ERROR: cannot open file system
Run Code Online (Sandbox Code Playgroud)

注意: btrfs check是只读操作。添加--repair是进行任何更改所必需的。

btrfs-check手册页说明它应该工作:

   --force
       allow to work on a mounted filesystem. Note that this should work
       fine on a quiescent or read-only mounted filesystem but may crash if
       the device is changed externally, eg. by the kernel module. Repair
       without mount checks is not supported right now.
Run Code Online (Sandbox Code Playgroud)

这个问题是关于如何检查 btrfs 根文件系统。

为什么我不能btrfs check --force没有--repair安装的设备?

我正在运行 Manjaro Linux。

Tom*_*ale 2

btrfs-progsv5.17 中,btrfs check --force现在可以在已安装的文件系统上运行。