Btrfs Filesystem Defragmentation: Excluding Subvolumes
The 'btrfs filesystem defragment' command is used to defragment a Btrfs filesystem. By default, it scans and defragments all subvolumes in the filesystem. However, if you don't want to scan a specific subvolume, you can exclude it from the defragmentation process.
To exclude a subvolume from defragmentation, you can use the '--exclude' option followed by the path to the subvolume. For example:
btrfs filesystem defragment --exclude='/path/to/subvolume'
This command will defragment the Btrfs filesystem, excluding the specified subvolume from the process.
原文地址: http://www.cveoy.top/t/topic/foe7 著作权归作者所有。请勿转载和采集!