Unable to Remove Backup Directory After Failed Incus Container Export

Hi All,

I’m experiencing an issue with a failed Incus container export that has left behind a backup directory I cannot remove.

Specific Details:

  • Incus version: 6.5
  • Attempted to export an Incus container
  • Export process failed and filled up my disk
  • Left with a directory at: /var/lib/incus/storage-pools/default/backup.785101817
  • When attempting to remove the directory, I receive an error about a read-only file system
  • File system appears to be BTRFS (possibly on a loopback device)

Questions:

  1. What are the recommended steps to safely remove this backup directory?
  2. Are there any specific BTRFS-related commands or considerations for removing this directory?
  3. How can I prevent similar issues in future container exports?

Attempted Removal Attempts:

  • Standard rm commands have failed
  • Received “read-only file system” error

Any guidance would be greatly appreciated in resolving this backup directory issue.