(Snap) LXD cannot Resize default BTRFS storage pool

Yeah, so about halfway through and so far looking very much not good…

What exactly did you run the first time you attempted to resize that pool?
Because it seems like you somehow erase a big chunk in the middle of it…

btrfs is functional enough to detect the damage but there’s really not much it can do about the data that got wiped…

yeah! i followed this topic (Snap) LXD Resize default BTRFS storage pool. I did your suggestions and then tried bluis8’s as well. So, what would be the best approach for this.

Please tell me that when following my suggestion you updated the seek= to point to the end of your existing disk?

if you didn’t, then that command would have wiped everything after the 10GB mark on your drive.

bluis8’s suggestion is better and is what is in our official documentation these days:

https://linuxcontainers.org/lxd/docs/master/storage#growing-a-loop-backed-btrfs-pool

It looks like by mistake that’s what i did.
But i really appreciate your help and time.

Thanks a lot for all this walk through.