我尝试检查包含的设备/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。