I still would call myself a beginner here. Anyway, i do a bit of web development, and use npm a lot. The node-ipc debacle last week makes me think i need to move my workflow to a container to avoid future headaches…
I installed lxd from the community repository but ran into issues. Most of the documentation says to use snap, do i did
pamac remove lxd, and then
pamac remove lxcfs lxc because there were some leftovers (the network bridge). I have now installed lxd as a snap, things are properly working so far, but i see i have some btrf subvolumes and possibly other leftovers from the package:
sudo du -sh /var/lib/lxd 1.4G /var/lib/lxd
sudo btrfs su li -a / ID 256 gen 109807 top level 5 path <FS_TREE>/@ ID 257 gen 109810 top level 5 path <FS_TREE>/@home ID 258 gen 109785 top level 5 path <FS_TREE>/@cache ID 259 gen 109810 top level 5 path <FS_TREE>/@log ID 501 gen 109601 top level 5 path <FS_TREE>/timeshift-btrfs/snapshots/2022-03-17_15-49-13/@ ID 504 gen 109601 top level 5 path <FS_TREE>/timeshift-btrfs/snapshots/2022-03-18_19-09-07/@ ID 505 gen 109602 top level 5 path <FS_TREE>/timeshift-btrfs/snapshots/2022-03-21_10-27-38/@ ID 506 gen 109743 top level 256 path @/var/lib/lxd/storage-pools/default ID 507 gen 109664 top level 506 path <FS_TREE>/@/var/lib/lxd/storage-pools/default/images/06460ff79260729ba686608f11eb3d6eff26a72449dfd71e9d22a42f0038b897
How can i properly clean this up? Can i just
rm -r /var/lib/lxd? What about the btrfs subvolumes? Where else should i look for leftovers here?