[{"data":1,"prerenderedAt":236},["ShallowReactive",2],{"article-20210728-apfs-encryption-status":3},{"article":4,"surround":225},{"id":5,"title":6,"authorKey":7,"body":8,"codeLinks":199,"createdAt":200,"description":201,"excerpt":202,"extension":213,"image":214,"meta":215,"navigation":216,"path":217,"published":218,"readingTime":75,"revisedAt":199,"seo":219,"stem":220,"tags":221,"__hash__":224},"articles\u002Farticles\u002F20210728-apfs-encryption-status.md","APFS Encryption Status","philip",{"type":9,"value":10,"toc":197},"minimark",[11,23,31,38,176,187,190,193],[12,13,14,15,22],"p",{},"macOS offers us a super simple way to fully encrypt an APFS formatted external drive: Right-click on the volume in the Finder and choose the option \"Encrypt\". Carbon Copy Cloner (CCC) also recommends this in its KB article ",[16,17,21],"a",{"href":18,"rel":19},"https:\u002F\u002Fbombich.com\u002Fkb\u002Fccc6\u002Fworking-filevault-encryption",[20],"nofollow","Enabling encryption on a volume that will not contain an installation of macOS",".",[12,24,25,26,30],{},"But macOS is a bit too transparent on that task. It simply starts encrypting the volume without any feedback or progress bar (WTF?). Even Disk Utility just shows the volume as ",[27,28,29],"code",{},"APFS (Encrypted)"," - as it would have already completed full volume encryption.",[12,32,33,34,37],{},"The ",[27,35,36],{},"fdesetup"," utility (FileVault configuration tool) gives us more details, e.g.:",[39,40,45],"pre",{"className":41,"code":42,"language":43,"meta":44,"style":44},"language-bash shiki shiki-themes github-light-default github-light-default github-dark-default","$ fdesetup status -device \u002FVolumes\u002FMY_DRIVE -extend\nFileVault is On.\nVolume is APFS. (FileVault Enabled)\nEncryption in progress: Percent completed = 11. Estimated completion in (Calculating)\nEncryption in progress: Percent completed = 47. Estimated completion in 5 hours 5 minutes\n","bash","",[27,46,47,73,85,106,141],{"__ignoreMap":44},[48,49,52,56,60,63,67,70],"span",{"class":50,"line":51},"line",1,[48,53,55],{"class":54},"sQJ0q","$",[48,57,59],{"class":58},"s-BGO"," fdesetup",[48,61,62],{"class":58}," status",[48,64,66],{"class":65},"sDkKp"," -device",[48,68,69],{"class":58}," \u002FVolumes\u002FMY_DRIVE",[48,71,72],{"class":65}," -extend\n",[48,74,76,79,82],{"class":50,"line":75},2,[48,77,78],{"class":54},"FileVault",[48,80,81],{"class":58}," is",[48,83,84],{"class":58}," On.\n",[48,86,88,91,93,96,100,103],{"class":50,"line":87},3,[48,89,90],{"class":54},"Volume",[48,92,81],{"class":58},[48,94,95],{"class":58}," APFS.",[48,97,99],{"class":98},"s_bOF"," (FileVault ",[48,101,102],{"class":58},"Enabled",[48,104,105],{"class":98},")\n",[48,107,109,112,115,118,121,124,127,130,133,136,138],{"class":50,"line":108},4,[48,110,111],{"class":54},"Encryption",[48,113,114],{"class":58}," in",[48,116,117],{"class":58}," progress:",[48,119,120],{"class":58}," Percent",[48,122,123],{"class":58}," completed",[48,125,126],{"class":58}," =",[48,128,129],{"class":58}," 11.",[48,131,132],{"class":58}," Estimated",[48,134,135],{"class":58}," completion",[48,137,114],{"class":58},[48,139,140],{"class":98}," (Calculating)\n",[48,142,144,146,148,150,152,154,156,159,161,163,165,168,171,173],{"class":50,"line":143},5,[48,145,111],{"class":54},[48,147,114],{"class":58},[48,149,117],{"class":58},[48,151,120],{"class":58},[48,153,123],{"class":58},[48,155,126],{"class":58},[48,157,158],{"class":58}," 47.",[48,160,132],{"class":58},[48,162,135],{"class":58},[48,164,114],{"class":58},[48,166,167],{"class":65}," 5",[48,169,170],{"class":58}," hours",[48,172,167],{"class":65},[48,174,175],{"class":58}," minutes\n",[12,177,178,179,182,183,186],{},"In case you won't specify ",[27,180,181],{},"-device",", it will just display the FileVault encryption status of your system volume. On APFS volumes, the ",[27,184,185],{},"-extended"," option will give continuous updates and estimated completion times during encryption and decryption phases.",[12,188,189],{},"Exactly what I was looking for!",[12,191,192],{},"... and in case you have plugged the device into the wrong MacBook, the one with which you need to run out of house and hop on your bike right now: No worries, simply unmount the external drive. Full disk encryption will continue next time you plug it in again.",[194,195,196],"style",{},"html pre.shiki code .sQJ0q, html code.shiki .sQJ0q{--shiki-light:#953800;--shiki-default:#953800;--shiki-dark:#FFA657}html pre.shiki code .s-BGO, html code.shiki .s-BGO{--shiki-light:#0A3069;--shiki-default:#0A3069;--shiki-dark:#A5D6FF}html pre.shiki code .sDkKp, html code.shiki .sDkKp{--shiki-light:#0550AE;--shiki-default:#0550AE;--shiki-dark:#79C0FF}html pre.shiki code .s_bOF, html code.shiki .s_bOF{--shiki-light:#1F2328;--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":44,"searchDepth":75,"depth":87,"links":198},[],null,"2021-07-28","Show APFS encryption status of an external drive on macOS.",{"type":9,"value":203},[204,209],[12,205,14,206,22],{},[16,207,21],{"href":18,"rel":208},[20],[12,210,25,211,30],{},[27,212,29],{},"md","\u002Fimages\u002Fcovers\u002Fapfs-apple-file-system.jpg",{},true,"\u002Farticles\u002F20210728-apfs-encryption-status",false,{"title":6,"description":201},"articles\u002F20210728-apfs-encryption-status",[222,223],"macos","security","L2OIm5jKf9Ij4THp5Hd4Hb6_plHKzHJ2GRnan17jKQk",[226,231],{"title":227,"path":228,"stem":229,"createdAt":230,"children":-1},"MySQL FEDERATED Storage Engine and Replication","\u002Farticles\u002F20210724-mysql-federated","articles\u002F20210724-mysql-federated","2021-07-24",{"title":232,"path":233,"stem":234,"createdAt":235,"children":-1},"Secure External Backup with ZFS Native Encryption","\u002Farticles\u002F20210803-secure-zfs-encrypted-extbackup","articles\u002F20210803-secure-zfs-encrypted-extbackup","2021-08-03 12:00",1794961391393]