Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is one snapshot created by apt-btrfs-snapshot that won't delete

  Delete subvolume '/tmp/foo/@apt-snapshot-2013-04-XX_1X:3X:XX'
  ERROR: cannot delete '/tmp/foo/@apt-snapshot-2013-04-XX_1X:3X:XX' - Directory not empty

How can I delete it?

share|improve this question

Answering my own question:

Problem was there was a subvolume within a subvolume. You need to delete all inner subvols before deleting containing vol.

btrfs subvol delete /tmp/foo/@apt-snapshot-2013-04-XX_1X:3X:XX/@ btrfs subvol delete /tmp/foo/@apt-snapshot-2013-04-XX_1X:3X:XX

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.