I'm trying to turn off encryption in my Time Machine backup, But this error Comes Up. Please Help.
Can you revert via command line?
First step, with the drive connected and mounted, open terminal.app and type:
Code:diskutil list
then paste all the output so we can see it.
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *160.0 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_CoreStorage 152.8 GB disk0s2
3: Apple_Boot Recovery HD 792.2 MB disk0s3
4: Apple_CoreStorage 6.2 GB disk0s4
5: Apple_Boot Boot OS X 134.2 MB disk0s5
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS MACINTOSH HD *152.4 GB disk1
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFSX TimeMachine *5.8 GB disk2
carlos-paiva-raposos-macbook:~ carlospaivaraposo$
Well... my thinking is that if you set time machine to encrypt, then run a bunch of time machine backups (say a week's worth), then you'd have perhaps 50 gb on the time machine that is encrypted, so in order to turn it off, you would need to somehow un-encrypt all that data and rewrite it.
I'm suspecting that you would have to turn off time machine, erase the TM partition, and start over unencrypted.
diskutil cs list
Try typingin terminal it will tell if the disk is still being encrypted. It looks like a couple are but we don't know their state. That listing will tell us more.Code:diskutil cs list
carlos-paiva-raposos-macbook:~ carlospaivaraposo$ diskutil cs list
CoreStorage logical volume groups (2 found)
|
+-- Logical Volume Group AD97CE6D-F3D9-431A-B8BC-648662C4F77F
| =========================================================
| Name: MACINTOSH HD
| Sequence: 1
| Free Space: 0 B (0 B)
| |
| +-< Physical Volume D5B4A181-A7B9-4A18-86FF-E312A3E08F6E
| | ----------------------------------------------------
| | Index: 0
| | Disk: disk0s2
| | Status: Online
| | Size: 152753934336 B (152.8 GB)
| |
| +-> Logical Volume Family 3AFEA11B-960E-4609-881B-608663E5B4D9
| ----------------------------------------------------------
| Sequence: 9
| Encryption Status: Unlocked
| Encryption Type: AES-XTS
| Encryption Context: Present
| Conversion Status: Complete
| Has Encrypted Extents: Yes
| Conversion Direction: -none-
| |
| +-> Logical Volume AD7A4A45-6C15-49AD-A0A2-3D71A7CCBECA
| ---------------------------------------------------
| Disk: disk1
| Status: Online
| Sequence: 4
| Size (Total): 152435163136 B (152.4 GB)
| Size (Converted): 152435163136 B (152.4 GB)
| Revertible: Yes (unlock and decryption required)
| LV Name: MACINTOSH HD
| Volume Name: MACINTOSH HD
| Content Hint: Apple_HFS
|
+-- Logical Volume Group 34C1E9FD-2C07-49CB-89FD-4892FF8C6998
=========================================================
Name: Time Machine
Sequence: 1
Free Space: 276824064 B (276.8 MB)
|
+-< Physical Volume 6F4499B3-F859-4A4E-965A-B114DF29F388
| ----------------------------------------------------
| Index: 0
| Disk: disk0s4
| Status: Online
| Size: 6151802880 B (6.2 GB)
|
+-> Logical Volume Family 3DB844AD-FE06-4CA0-9628-9690D8455841
----------------------------------------------------------
Sequence: 2
Encryption Status: Unlocked
Encryption Type: AES-XTS
Encryption Context: Present
Conversion Status: NoConversion
Has Encrypted Extents: Yes
Conversion Direction: -none-
|
+-> Logical Volume 563706D1-8D30-4759-8CB7-DBA844EFCB31
---------------------------------------------------
Disk: disk2
Status: Online
Sequence: 3
Size (Total): 5833031680 B (5.8 GB)
Size (Converted): -none-
Revertible: No
LV Name: TimeMachine
Volume Name: TimeMachine
Content Hint: Apple_HFSX
carlos-paiva-raposos-macbook:~ carlospaivaraposo$
=========================================================
Name: Time Machine
Sequence: 1
Free Space: 276824064 B (276.8 MB)
|
+-< Physical Volume 6F4499B3-F859-4A4E-965A-B114DF29F388
| ----------------------------------------------------
| Index: 0
| Disk: disk0s4
| Status: Online
| Size: 6151802880 B (6.2 GB)
|
+-> Logical Volume Family 3DB844AD-FE06-4CA0-9628-9690D8455841
----------------------------------------------------------
Sequence: 2
Encryption Status: Unlocked
Encryption Type: AES-XTS
Encryption Context: Present
Conversion Status: NoConversion
Has Encrypted Extents: Yes
Conversion Direction: -none-
|
+-> Logical Volume 563706D1-8D30-4759-8CB7-DBA844EFCB31
---------------------------------------------------
Disk: disk2
Status: Online
Sequence: 3
Size (Total): 5833031680 B (5.8 GB)
Size (Converted): -none-
Revertible: No
LV Name: TimeMachine
Volume Name: TimeMachine
Content Hint: Apple_HFSX
carlos-paiva-raposos-macbook:~ carlospaivaraposo$
I don't think Carols can remove filefault 2 without formatting or repartitioning the drive.
Conversion Status: NoConversion (mine has "Complete")
Revertible: No (mine has "Yes (unlock and decryption required)")
I have a feeling that the problem is that the drive wasn't "converted" - whatever that means in this context. I'll look around as time permits.
Update: Even when you create an encrypted volume with Disk Utility, the encryption can be removed. Just select File => Disable encryption in DU.
But from what I've read in diskutil's manpage, it is only possible to convert Core Storage volumes to normal volumes that were created by converting a normal volume in the first place. So I guess that disabling encryption on a volume that was created by formatting a partition as "Mac OS Extended (journaled, encrypted) will result in an unencrypted Core Storage volume.
I'm trying this right now and will report back when decryption is finished.
I'm trying to turn off encryption in my Time Machine backup, But this error Comes Up. Please Help.
diskutil cs convert disk2s1
diskutil cs convert disk2s1 --passphrase
diskutil cs revert disk2s1
You can only revert disks that were originally converted from plain-text. If you partioned your disk anew and had it encrypted at that point, decrypting it requires copying the data, formatting it again (this time without encryption) and copying it back.
"Convert a CoreStorage logical volume back to its native type. The volume must have been created by means of conversion, e.g. with diskutil coreStorage convert."
I have not used the revert command but it is there for a reason, and the man page says it will ,
so using the GUI or the command line to encrypt, the revert command should not erase the data, but decrypt and leave the drive in the format it started in.
Note the language: it will convert it back to its native type. If it was created as a core storage volume, it can't do that because the information required to do so is missing (and there may be some header space issues, too.)
Yes, it says " The volume must have been created by means of conversion, e.g. with diskutil coreStorage convert", which is exactly what the convert command does. It encrypts the volume. The revert command does the opposite, as long as the volume was created with the CS convert command which an encrypted TM volume would be.
Yes yes, but what you're missing here is the volume in question was not made with the diskutil cs convert command. Therefore it cannot be reverted.
Oh, my bad, I did not see where the OP stated how he encrypted the volume.
Conversion Status: NoConversion
Or a bug that will be addressed in 10.7.XHe didn't, but the fact it can't be reverted tells us he didn't do it as a conversion.
Or a bug that will be addressed in 10.7.X