Forrest logo
back to context overview

btrfs-device

List of commands for btrfs-device:

  • btrfs-device:tldr:514c8 btrfs-device: Scan all disks and inform the kernel of all detected btrfs filesystems.
    $ sudo btrfs device scan --all-devices
    try on your machine
    explain this command
  • btrfs-device:tldr:68da9 btrfs-device: Display detailed per-disk allocation statistics.
    $ sudo btrfs device usage ${path-to-btrfs_filesystem}
    try on your machine
    explain this command
  • btrfs-device:tldr:7d0f3 btrfs-device: Display error statistics.
    $ sudo btrfs device stats ${path-to-btrfs_filesystem}
    try on your machine
    explain this command
  • btrfs-device:tldr:8a3e7 btrfs-device: Remove a device from a btrfs filesystem.
    $ sudo btrfs device remove ${select} [${---}]
    try on your machine
    explain this command
  • btrfs-device:tldr:8b29c btrfs-device: Add one or more devices to a btrfs filesystem.
    $ sudo btrfs device add ${path-to-block_device1} [${path-to-block_device2}] ${path-to-btrfs_filesystem}
    try on your machine
    explain this command
back to context overview