Forrest logo
back to context overview

btrfs-filesystem

List of commands for btrfs-filesystem:

  • btrfs-filesystem:tldr:11717 btrfs-filesystem: Force syncing unwritten data blocks to disk(s).
    $ sudo btrfs filesystem sync ${path-to-btrfs_mount}
    try on your machine
    explain this command
  • btrfs-filesystem:tldr:3f2d2 btrfs-filesystem: Defragment a directory recursively (does not cross subvolume boundaries).
    $ sudo btrfs filesystem defragment -v -r ${path-to-directory}
    try on your machine
    explain this command
  • btrfs-filesystem:tldr:47653 btrfs-filesystem: Show usage by individual devices.
    $ sudo btrfs filesystem show ${path-to-btrfs_mount}
    try on your machine
    explain this command
  • btrfs-filesystem:tldr:4ec59 btrfs-filesystem: Defragment a single file on a btrfs filesystem (avoid while a deduplication agent is running).
    $ sudo btrfs filesystem defragment -v ${filename}
    try on your machine
    explain this command
  • btrfs-filesystem:tldr:73997 btrfs-filesystem: Summarize disk usage for the files in a directory recursively.
    $ sudo btrfs filesystem du --summarize ${path-to-directory}
    try on your machine
    explain this command
  • btrfs-filesystem:tldr:b0898 btrfs-filesystem: Show filesystem usage (optionally run as root to show detailed information).
    $ btrfs filesystem usage ${path-to-btrfs_mount}
    try on your machine
    explain this command
back to context overview