{"id":3854,"date":"2021-09-06T13:59:14","date_gmt":"2021-09-06T20:59:14","guid":{"rendered":"https:\/\/www.meehawl.com\/Blogfiles\/?p=3854"},"modified":"2021-09-06T13:59:17","modified_gmt":"2021-09-06T20:59:17","slug":"btrfs-vs-the-docker-borganism","status":"publish","type":"post","link":"https:\/\/www.meehawl.com\/Blogfiles\/2021\/09\/06\/13\/59\/btrfs-vs-the-docker-borganism\/","title":{"rendered":"Btrfs vs the Docker Borganism"},"content":{"rendered":"\n<p>Laptop with 2 TB of SSD running <a href=\"https:\/\/mutschler.eu\/linux\/install-guides\/fedora-btrfs\/\" target=\"_blank\" rel=\"noreferrer noopener\">btrfs on LUKS<\/a> suddenly ran out of space. Noticed all the <a href=\"https:\/\/github.com\/moby\/moby\/issues\/27653\" target=\"_blank\" rel=\"noreferrer noopener\">docker snapshots were like some sort of borganism<\/a>, eating everything. Solution was either<\/p>\n\n\n\n<p>    1) Finicky <a href=\"https:\/\/btrfs.wiki.kernel.org\/index.php\/Deduplication\" target=\"_blank\" rel=\"noreferrer noopener\">docker+btrfs snapshot\/dedupe management<\/a>, or<\/p>\n\n\n\n<p>    2) Delete docker.<\/p>\n\n\n\n<p>I chose 2).<\/p>\n\n\n\n<p>Not that I could not do 1) (and in fact did a run-through to see how it went) or that I do not occasionally kind of appreciate the joy of <a href=\"https:\/\/wiki.archlinux.org\/title\/btrfs#Tips_and_tricks\" target=\"_blank\" rel=\"noreferrer noopener\">tuning filesystem parameters<\/a>. But it&#8217;s 2021 and I don&#8217;t want to have to do this on my working laptop. Personal filesystems should not require <a href=\"https:\/\/btrfs.wiki.kernel.org\/index.php\/Manpage\/btrfs-balance\" target=\"_blank\" rel=\"noreferrer noopener\">manual maintenance for basic functions, like preserving free space.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laptop with 2 TB of SSD running btrfs on LUKS suddenly ran out of space. Noticed all the docker snapshots were like some sort of borganism, eating everything. Solution was either 1) Finicky docker+btrfs&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[1940,1936,1937,1932,1551,1939,1938],"class_list":["post-3854","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-borg","tag-btrfs","tag-docker","tag-fedora","tag-linux","tag-luks","tag-ssd"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/posts\/3854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/comments?post=3854"}],"version-history":[{"count":0,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/posts\/3854\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/media?parent=3854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/categories?post=3854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/tags?post=3854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}