jaytaylor / shipbuilder

The Open-source self-hosted Platform-as-a-Service written in Go
https://shipbuilder.gigawatt.io
Other
409 stars 50 forks source link

Need a way to reliably destroy ZFS containers #15

Open jaytaylor opened 10 years ago

jaytaylor commented 10 years ago

Need a way to reliably destroy ZFS containers when there are child dependencies.

ubuntu@ip-10-60-86-207:~$ sudo lxc-destroy -n myapp-s5
cannot destroy 'tank/myapp-s5': filesystem has children
use '-r' to destroy the following datasets:
tank/myapp-s5@myapp-s5_v2_web_10002
tank/myapp-s5@myapp-s5_v3_web_10001
lxc_container: Error destroying rootfs for myapp-s5
Destroying myapp-s5 failed
ubuntu@ip-10-60-86-207:~$