CoreStorage: what does LVG status ‘offline’ and PV status ‘checking’ mean and how can it be fixed

core-storagedisk-utilityfilevault

I converted a partition to a CoreStorage volume using this command:

sudo diskutil cs convert disk0s2 -passphrase test123

Now when I run `diskutil cs list' the output shows that I still only have a Logical Volume Group and a Physical Volume attached to it (from what I gather, I should have a Logical Volume Family and a Logical Volume as well). The status of the LVG is 'Offline' and the status of the PV is 'Checking'. It has been this way for over 10 hours on a 128GB SSD.

To me it seems this status indicates some kind of intermediary status, as if the conversion/encryption has not completed yet, is that assumption correct?

Is it safe to shut down the machine in this state?


In Disk Utility.app the disk name is shown in red! I can run the Verify Disk command and the output seems ok (ends with 'The volume {UUID of the LVG} appears to be OK' and 'The partition map appears to be OK').

But in the output of Verify Disk I see mention of a logical volume ('Logical Volume Group contains 1 Logical Volume'), which the output of diskutil cs list does not show. And following that, I see mention of two UUID's to which diskutil cs info {UUID} responds '{UUID} is not a CoreStorage UUID'.

To me this seems inconsistent, and I'd like to resolve this.

Edit:

I tried to manually create a Logical Volume (since it seems to be missing form the diskutil cs list output) using diskutil cs createVolume {LVGUUID} jhfs+ "Macintosh HD" 100% which resulted in:

Error: -69780: Unable to create a new CoreStorage Logical Volume

Best Answer

I had the same problem after converting a disk. There was a message displayed by diskutil cs convert:

Couldn't unmount disk0s4; converted volume won't appear until it's unmounted

I solved the problem by unmounting the disk and repairing it :

diskutil unmount force disk0s4
diskutil repairVolume disk0s4