Encryption in Mac

External Drive


右键 - Encrypt

输入密码后, 右键会显示encrypting..., 但没有进度.


$ diskutil cs list

   +-> Logical Volume 37AD1D2C-10EA-4EA7-B63E-86DA3D89B160
            Disk:                  disk2
            Status:                Online
            Size (Total):          899354853376 B (899.4 GB)
            Conversion Progress:   6%
            Revertible:            Yes (unlock and decryption required)
            LV Name:               Encrypt
            Volume Name:           Encrypt
            Content Hint:          Apple_HFS

加密速度: Estimate roughly 4.5 hours per TB on a disk that is not in use.

Create a password-protected volumn

  1. Open DiskUtility
  2. File > New > Blank Disk Image.

Change password

Open DiskUtility



➜  diskutil list

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *160.0 GB   disk2
   1:                  Apple_HFS Hitachi                 160.0 GB   disk2s1

➜  diskutil eraseDisk JHFS+ "Hitachi" GPT disk2

Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name Hitachi
Initialized /dev/rdisk2s2 as a 149 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
Finished erase on disk2

10.13之后有新格式APFS, 是否适合用,参看APFS on different disk types


Show Comments