How to confirm FileVault encryption has fully completed? While it's in progress, diskutil apfs list | grep 'Encryption Progress' ; fdesetup status will shows percentage of conversion.
Later is there any way to know 100% encryption is completed?
How to confirm FileVault encryption has fully completed? While it's in progress, diskutil apfs list | grep 'Encryption Progress' ; fdesetup status will shows percentage of conversion.
Later is there any way to know 100% encryption is completed?
APFS volumes
It seems that the only way to tell for APFS volumes is to use fdesetup status. This fantastic blog offers a script which basically uses that command to determine the status. In the article it reads:
If encrypted, the following message is displayed:
FileVault is On.If not encrypted, the following message is displayed:
FileVault is Off.
These are basically the outputs of fdesetup status.
Non-APFS volumes
For non-APFS volumes there is more information. Try diskutil cs list or diskutil cs list | grep "Conversion Status", respectively and look for Conversion Status. See also the accepted answer here.
$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group XXX-XXX-XXX-XXX
Name: VolumeXY
Status: Online
Size: 196521975808 B (196.5 GB)
Free Space: 0 B (0 B)
|
+-< Physical Volume XXX-XXX-XXX-XXX
| ----------------------------------------------------
| Index: 0
| Disk: disk2s2
| Status: Online
| Size: 196521975808 B (196.5 GB)
|
+-> Logical Volume Family XXX-XXX-XXX-XXX
----------------------------------------------------------
Encryption Type: AES-XTS
Encryption Status: Locked
Conversion Status: Complete
High Level Queries: Fully Secure
| Passphrase Required
| Accepts New Users
| Has Visible Users
| Has Volume Key
|
+-> Logical Volume XXX-XXX-XXX-XXX
---------------------------------------------------
Disk: -none-
Status: Locked
Size (Total): 196169654272 B (196.2 GB)
Revertible: Yes (unlock and decryption required)
LV Name: SD
Content Hint: Apple_HFS
diskutil apfs listdoes not mention encryption status (anymore?). Is that a recent change?diskutil cs listworks as expected for non-APFS volumes. – n1000 May 07 '19 at 06:40