Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.