Forrest logo
back to context overview

btrfs-rescue

List of commands for btrfs-rescue:

  • btrfs-rescue:tldr:06b31 btrfs-rescue: Create a `/dev/btrfs-control` control device when `mknod` is not installed.
    $ sudo btrfs rescue create-control-device
    try on your machine
    explain this command
  • btrfs-rescue:tldr:7f54d btrfs-rescue: Rebuild the filesystem metadata tree (very slow).
    $ sudo btrfs rescue chunk-recover ${path-to-partition}
    try on your machine
    explain this command
  • btrfs-rescue:tldr:81f45 btrfs-rescue: Recover from an interrupted transactions (fixes log replay problems).
    $ sudo btrfs rescue zero-log ${path-to-partition}
    try on your machine
    explain this command
  • btrfs-rescue:tldr:a4e26 btrfs-rescue: Fix device size alignment related problems (e.g. unable to mount the filesystem with super total bytes mismatch).
    $ sudo btrfs rescue fix-device-size ${path-to-partition}
    try on your machine
    explain this command
back to context overview