{"id":28815,"date":"2020-04-28T17:04:14","date_gmt":"2020-04-28T21:04:14","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28815"},"modified":"2020-04-28T17:04:14","modified_gmt":"2020-04-28T21:04:14","slug":"apfs-sparse-bundle-bugs","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/04\/28\/apfs-sparse-bundle-bugs\/","title":{"rendered":"APFS Sparse Bundle Bugs"},"content":{"rendered":"<p><a href=\"https:\/\/eclecticlight.co\/2020\/04\/27\/sparse-bundles-what-they-are-and-how-to-work-around-their-bugs\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2020\/04\/27\/sparse-bundles-what-they-are-and-how-to-work-around-their-bugs\/\">\n<p>One of the strangest and most irritating bugs with sparse bundles in APFS format is the unreliability of their estimates of size and free space. Whether you look at free space shown in the Finder or in Disk Utility, there is no correlation between what is shown and what is actually available for use in the sparse bundle.\n\nFor example, the smallest APFS sparse bundle allowed is 8.4 MB, which is stated as having 8 MB of free space. Yet you&rsquo;ll find it impossible to copy a 7 MB file to that sparse bundle, as you&rsquo;ll be told that it&rsquo;s full even when it&rsquo;s completely empty. macOS simply refuses to let you use the claimed free space on APFS sparse bundles, although HFS+ sparse bundles aren&rsquo;t as unreliable.<\/p>\n<p>[&#8230;]<\/p>\n<p>Despite their widespread use and advantages, macOS features supporting the use of APFS-format sparse bundles are at present riddled with bugs (I count 6 above) and have serious shortcomings. Their inability to self-compact is a major failing which makes their use clumsy at best, and Disk Utility&rsquo;s lack of support for basic maintenance functions through the last 2.5 years reflects badly on Apple&rsquo;s engineering priorities. Disk Utility remains of early beta-test quality and far from complete.<\/p>\n<\/blockquote>\n\n<p>I don&rsquo;t see much reason to use APFS disk images, except for testing how an app works with APFS. HFS+ sparse bundles are dependable and can be <a href=\"https:\/\/c-command.com\/dropdmg\/help\/compact-image\">compacted<\/a> with <a href=\"https:\/\/c-command.com\/dropdmg\/\">DropDMG<\/a>.<\/p>\n\n<p>The Disk Utility reliability problems go back to the rewrite in macOS 10.11. Usually the command-line tools work better.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/02\/26\/what-you-see-in-the-finder-should-always-be-correct\/\">What You See in the Finder Should Always Be Correct<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/02\/15\/data-loss-on-apfs-sparse-disk-images\/\">Data Loss on APFS Sparse Disk Images<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/10\/13\/disk-utility-in-el-capitan\/\">Disk Utility in El Capitan<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Howard Oakley: One of the strangest and most irritating bugs with sparse bundles in APFS format is the unreliability of their estimates of size and free space. Whether you look at free space shown in the Finder or in Disk Utility, there is no correlation between what is shown and what is actually available for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-04-28T21:04:17Z","apple_news_api_id":"7f1b4a73-980a-41b0-bc4c-573a8b01dc89","apple_news_api_modified_at":"2020-04-28T21:04:17Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AfxtKc5gKQbC8TFc6iwHciQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1395,131,1396,538,30,1666],"class_list":["post-28815","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-file-system-apfs","tag-bug","tag-disk-image","tag-diskutility","tag-mac","tag-macos-10-15"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=28815"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28815\/revisions"}],"predecessor-version":[{"id":28817,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28815\/revisions\/28817"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}