anybox / buttervolume

BTRFS Volume plugin for Docker
Apache License 2.0
81 stars 11 forks source link

broken volume #21

Open ccomb opened 6 years ago

ccomb commented 6 years ago

It happened a few times that we find a subvolume under a volume directory, instead of the volume itself being the suvolume. We suspect this comes from either a restore on an existing volume or something else we have to reproduce.

petrus-v commented 6 years ago

I believe that happens when directory wasn't remove properly, it could be a lot of case while moving apps failed. So in buttervolume we have to make a choice remove existing target directory or raise an exception.

regards