So now for an update. 

After turning the machine off, waiting, and turning it back on. Would not boot 
up.

Playing around in single user mode: turns out that the root partition would not 
mount (complaining about being unable to open the journal), yet fsck -f would 
pass it as good. Trying to boot normally would fail. (can't mount the root).

Went over to Lion Recovery. Fsck there worked; "Verify Disk" complained about 
the journal, "Repair Disk" succeeded. USB drive could be inserted, and it 
seemed to work just fine -- all the partitions show up. "Verify Disk" at the 
drive level complains; "Verify Disk" at the three standard partitions work.

"Verify Disk" at the "encrypted" partition fails.

Rebooting, and this time it boots up. Lion Recovery was able to clean the root, 
and mark it clean; system is now happy.

But ... when I log in, I am asked for the password to unlock the drive. And it 
does not accept the password.

The wonders of "hidden passwords" -- I could not verify what I was typing in 
when I entered the password, all I know is that if I mistyped it, I had two 
identical mistypings. I tried a few plausible variants of capitalizings, extra 
spaces, etc; nothing.

I was never asked to make a recovery password. I was never asked about storing 
a password with Apple.

I even tried my own account password (I am marked as a user allowed to 
administer the computer). No good.

Is there any way to recover this? Disk Utility.app now complains that the drive 
contains a core storage physical partition, and it won't do anything to the 
drive (tells me to use the command line diskutil), and I don't know how to use 
diskutil to manipulate anything more than emergency ejects / getting 
information about partitions.



On Jul 14, 2013, at 6:02 PM, Michael wrote:

> I decided that I wanted to turn on encryption for my hard drive. I figured 
> that 10.7.5 and file vault 2 have been out for long enough that any problems 
> are solved. Right?
> 
> Well, as far as I could tell, it will only encrypt my root partition -- which 
> only has Apple software, not my personal stuff. So it's a no-go.
> 
> I did, however, discover that I could at least encrypt my backup USB drive. I 
> thought that was a good idea. So I told Time Machine to start encrypting it.
> 
> In the middle of the encryption, the drive decided it had been disconnected 
> (can happen if the cable gets knocked -- very loose/weak connection, and my 
> cats will walk on my desk).
> 
> At this point, the drive does not appear to be there to the system. Plugging 
> it in does not show anything in Finder. "diskutil list" does not show it. 
> Disk Utility.app has spent 20+ minutes spinning a cursor just trying to 
> gather disk information.
> 
> Is there any way to recover/salvage this drive? 
> 
> Somehow, I was expecting that the "preparing disk for encryption" stage would 
> involve using the free space on the drive to build a new set of metadata for 
> the partitions/file systems/etc, and leave the old GUID table / metadata 
> intact until it was all done and just needed two or three blocks written out 
> with the updated data. Instead, as I said, I cannot even get a "The disk 
> cannot be read. Initialize? yes/no" prompt, nor any indication it is seen.
> 
> Details from the console log:
> 
> Here is where I started to upgrade my backup drive to encrypted:
> 
> Jul 14 16:02:02 keybounceMBP corestoraged[499]: 0x7fff7f07d960 unlockLVF: 
> LVF=8E72EC34-C9FB-407F-8735-EDCCDA44064C, "AES-XTS", status = "Unlocked"
> Jul 14 16:02:02 keybounceMBP com.apple.kextd[12]: Unable to get DiskArb info 
> for corestorage logical volume object.
> Jul 14 16:02:03 keybounceMBP corestoraged[499]: 0x7fff7f07d960 
> startBackgroundConversion: background conversion started.
> Jul 14 16:02:04 keybounceMBP UserEventAgent[13]: com.apple.backupd-auto 
> launchd job enabled
> Jul 14 16:02:04 keybounceMBP UserEventAgent[13]: com.apple.backupd-wake 
> launchd job enabled
> Jul 14 16:02:04 keybounceMBP UserEventAgent[13]: com.apple.backupd-attach 
> launchd job enabled
> Jul 14 16:02:05 keybounceMBP AppleFileServer[469]: _Assert: 
> /SourceCache/afpserver/afpserver-585.7/afpserver/../afpserver/SharePointSyncTask.cpp,
>  215 (4294967253)
> Jul 14 16:02:35: --- last message repeated 4 times ---
> Jul 14 16:04:03 keybounceMBP com.apple.backupd[516]: Starting standard backup
> Jul 14 16:04:04 keybounceMBP com.apple.backupd[516]: Backing up to: 
> /Volumes/System Time Machine/Backups.backupdb
> Jul 14 16:04:11 keybounceMBP com.apple.backupd[516]: Event store UUIDs don't 
> match for volume: UserData
> Jul 14 16:04:11 keybounceMBP com.apple.backupd[516]: Event store UUIDs don't 
> match for volume: Backups
> Jul 14 16:04:11 keybounceMBP com.apple.backupd[516]: Event store UUIDs don't 
> match for volume: MainSystem
> Jul 14 16:04:12 keybounceMBP com.apple.backupd[516]: Deep event scan at 
> path:/Volumes/UserData reason:must scan subdirs|new event db|
> 
> ... Disk cable got touched ...
> 
> Jul 14 16:09:06 keybounceMBP com.apple.revisiond[65]: [ERROR] 
> GSManager.m:-[GSManager _markLibraryCleanWithFSEventID:]:4858  Failed to mark 
> library at path "/.vol/234881031/2/.DocumentRevisions-V100" clean.
> Jul 14 16:09:06 keybounceMBP corestoraged[499]: 0x7fff7f07d960 handleIOError: 
> handleIOError: IO error 0xe00002d9 for disk disk1s4
> Jul 14 16:09:06 keybounceMBP mds[70]: 
> (/Volumes/107/.Spotlight-V100/Store-V1/Stores/038A04F3-5EBA-48A3-AFF5-080585DDDBD8)(Error)
>  IndexStore in db_store_dirty_chunk_info:Error storing dirty sdb pages: 6
> Jul 14 16:09:06 keybounceMBP mds[70]: 
> (/Volumes/107/.Spotlight-V100/Store-V1/Stores/038A04F3-5EBA-48A3-AFF5-080585DDDBD8)(Error)
>  IndexGeneral in sync_datastore:db_store_dirty_chunk_info err:6
> Jul 14 16:09:06 keybounceMBP mds[70]: 
> (/Volumes/107/.Spotlight-V100/Store-V1/Stores/038A04F3-5EBA-48A3-AFF5-080585DDDBD8)(Error)
>  IndexCI in _SLCISyncContextSync:preSync error:6 6
> Jul 14 16:09:06 keybounceMBP com.apple.revisiond[65]: [ERROR] 
> GSManager.m:-[GSManager _markLibraryCleanWithFSEventID:]:4858  Failed to mark 
> library at path "/.vol/234881036/2/.DocumentRevisions-V100" clean.
> Jul 14 16:09:06 keybounceMBP mds[70]: (/Volumes/System Time 
> Machine/.Spotlight-V100/Store-V2/F5E6CE03-151E-43C9-81EF-3031201B3946)(Error) 
> IndexStore in db_store_dirty_chunk_info:Error storing dirty sdb pages: 6
> Jul 14 16:09:06 keybounceMBP mds[70]: (/Volumes/System Time 
> Machine/.Spotlight-V100/Store-V2/F5E6CE03-151E-43C9-81EF-3031201B3946)(Error) 
> IndexGeneral in sync_datastore:db_store_dirty_chunk_info err:6
> Jul 14 16:09:06 keybounceMBP mds[70]: (/Volumes/System Time 
> Machine/.Spotlight-V100/Store-V2/F5E6CE03-151E-43C9-81EF-3031201B3946)(Error) 
> IndexCI in _CISyncContextSync:preSync error:6 6
> Jul 14 16:09:06 keybounceMBP kernel[0]: 
> Jul 14 16:09:06: --- last message repeated 42 times ---
> Jul 14 16:09:06 keybounceMBP com.apple.backupd[516]: Backup failed because 
> the destination disk was ejected or disconnected unexpectedly!
> Jul 14 16:09:06 keybounceMBP kernel[0]: 
> Jul 14 16:09:06: --- last message repeated 3 times ---
> Jul 14 16:09:06 keybounceMBP com.apple.backupd[516]: Error writing to backup 
> log.  NSFileHandleOperationException:*** -[NSConcreteFileHandle writeData:]: 
> Input/output error
> Jul 14 16:09:06: --- last message repeated 3 times ---
> Jul 14 16:09:06 keybounceMBP kernel[0]: 
> Jul 14 16:09:07: --- last message repeated 11 times ---
> Jul 14 16:09:07 keybounceMBP com.apple.backupd[516]: Backup failed because a 
> backup source disk was ejected or disconnected unexpectedly!
> Jul 14 16:09:07 keybounceMBP corestoraged[499]: 0x7fff7f07d960 handleIOError: 
> CoreStorageClearIOErrorForVolume failed
> Jul 14 16:09:08 keybounceMBP com.apple.backupd[516]: Backup canceled.
> Jul 14 16:09:28 keybounceMBP kernel[0]: 
> Jul 14 16:09:28: --- last message repeated 13 times ---
> Jul 14 16:09:28 keybounceMBP diskarbitrationd[18]: unable to probe 
> /dev/disk1s2 (status code 0xFFFFFFFC).
> 
> After that:
> 
> Jul 14 16:09:33 keybounceMBP kernel[0]: USBMSC Identifier (non-unique): 
> 57442D575837304136395239313734 0x1058 0x705 0x175
> Jul 14 16:09:34 keybounceMBP kernel[0]: [0xffffff800fcf3a00](1)/(5) Device 
> not responding
> Jul 14 16:09:34 keybounceMBP kernel[0]: USBMSC Identifier (non-unique): 
> 57442D575837304136395239313734 0x1058 0x705 0x175
> Jul 14 16:22:31 keybounceMBP kernel[0]: CODE SIGNING: 
> cs_invalid_page(0x1000): p=674[GoogleSoftwareUp] clearing CS_VALID
> Jul 14 16:34:28 keybounceMBP kernel[0]: USBF:   4345.332        
> AppleUSBHubPort: Port 3 of Hub at 0xfa100000 about to terminate a busy device 
> (External HDD    ) after waiting 10 seconds
> Jul 14 16:34:44 keybounceMBP kernel[0]: USBF:   4361.564        
> AppleUSBHubPort: Port 3 of Hub at 0xfa100000 about to terminate a busy device 
> (External HDD    ) after waiting 10 seconds
> Jul 14 16:34:55 keybounceMBP kernel[0]: USBF:   4372.444        
> AppleUSBHubPort: Port 3 of Hub at 0xfa100000 about to terminate a busy device 
> (External HDD    ) after waiting 10 seconds
> Jul 14 16:35:39 keybounceMBP kernel[0]: USBF:   4415.805        
> AppleUSBHubPort: Port 3 of Hub at 0xfa100000 about to terminate a busy device 
> (External HDD    ) after waiting 10 seconds
> Jul 14 17:21:15 keybounceMBP kernel[0]: CODE SIGNING: 
> cs_invalid_page(0x1000): p=749[GoogleSoftwareUp] clearing CS_VALID
> Jul 14 17:34:27 keybounceMBP kernel[0]: USBF:   7944.737        
> AppleUSBHubPort: Port 3 of Hub at 0xfa100000 about to terminate a busy device 
> (External HDD    ) after waiting 10 seconds
> 
> 
> 
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: **********
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: Disk Utility started.
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: Restore - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: First Aid - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: Erase - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: Information - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: preBootEnvironmentFlag: 
> DMPreBootEnvironmentEFI
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: Partition - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: RAID - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: Restore - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: First Aid - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: Erase - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: Information - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: preBootEnvironmentFlag: 
> DMPreBootEnvironmentEFI
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: Partition - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: module: RAID - loaded
> Jul 14 17:45:02 keybounceMBP Disk Utility[820]: ## rebuildMasterList ##
> Jul 14 17:45:02 keybounceMBP com.apple.SecurityServer[26]: Succeeded 
> authorizing right 'system.burn' by client '/Applications/Utilities/Disk 
> Utility.app' [820] for authorization created by '/Applications/Utilities/Disk 
> Utility.app' [820]
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]: **********
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                 Disk:   disk0 
> (TOSHIBA MK7559GSXF Media) - 0x7feafae8e640
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                 Optical 
> Device: SuperDrive - 0x7feafaa4f190
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                 
> =============================
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                 Disk:   disk0 
> (TOSHIBA MK7559GSXF Media) - 0x7feafae8e640
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                         
> Partition:      disk0s1 (disk0s1) - 0x7feafa872560
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                         
> Partition:      disk0s2 (MainSystem)    [* boot volume] - 0x7feafaecbe30
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                         
> Partition:      disk0s3 (UserData) - 0x7feafaecc700
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                         
> Partition:      disk0s4 (Backups) - 0x7feafaecca90
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                 Optical 
> Device: SuperDrive - 0x7feafaa4f190
> Jul 14 17:45:05 keybounceMBP Disk Utility[820]:                 
> =============================
> 
> 
> My questions:
> 1. Is there any way to recover the old data on the drive (there were 
> partitions with backups for my computers, as well as another computer, plus 
> additional video files I had put on that drive for space reasons).
> 
> 2. If not, is there a way to at least make it usable again?
> 
> 3. Is "complete loss of everything if the encryption is interrupted" 
> something that should be considered a bug and reported to Apple?
> 
> 4. Is there any way to turn on File Vault for the UserData partition?
> 
> keybounceMBP:~ michael$ mount
> /dev/disk0s2 on / (hfs, local, journaled)
> devfs on /dev (devfs, local, nobrowse)
> map -hosts on /net (autofs, nosuid, automounted, nobrowse)
> map auto_home on /home (autofs, automounted, nobrowse)
> /dev/disk0s3 on /Volumes/UserData (hfs, local, journaled)
> /dev/disk0s4 on /Volumes/Backups (hfs, local, journaled)
> keybounceMBP:~ michael$ ls -ld /Users
> 4 lrwxr-xr-x 1 root admin 24 Mar 10  2012 /Users -> /Volumes/UserData/Users//
> 
> 
> ---
> This message was composed with the aid of a laptop cat, and no mouse
> 

---
This message was composed with the aid of a laptop cat, and no mouse

_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@omnigroup.com
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to