asr restore --s /Volumes/"Recovery HD" --t /Volumes/Boot --erase --noprompt ; diskutil list disk1
asr restore --s /Volumes/"Recovery HD" --t /Volumes/Boot --erase --noprompt ; diskutil list disk1
Validating target...done
Validating source...done
Validating sizes...done
Restoring ....10....20....30....40....50....60....70....80....90....100
Verifying ....10....20....30....40....50....60....70....80....90....100
Restored target device is /dev/disk1s4.
Remounting target volume...done
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Macintosh HD 799.8 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
4: Apple_HFS Recovery HD 650.0 MB disk1s4
3: Apple_Boot Recovery HD 650.0 MB disk1s3
4: Apple_HFS Recovery HD 650.0 MB disk1s4
diskutil repairDisk disk1 ; diskutil list disk1
diskutil repairDisk disk1 ; diskutil list disk1
Repairing the partition map might erase disk1s1, proceed? (y/N) y
Started partition map repair on disk1
Checking prerequisites
Checking the partition list
Adjusting partition map to fit whole disk as required
Checking for an EFI system partition
Checking the EFI system partition's size
Checking the EFI system partition's file system
Checking the EFI system partition's folder content
Checking all HFS data partition loader spaces
Checking booter partitions
Checking booter partition disk1s3
Verifying file system
Volume is already unmounted
Performing fsck_hfs -fn -x /dev/rdisk1s3
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Recovery HD appears to be OK
File system check exit code is 0
Restoring the original state found as unmounted
Reviewing boot support loaders
Checking Core Storage Physical Volume partitions
Verifying storage system
Performing fsck_cs -n -x --lv --uuid E9AB2027-786F-4BDE-8B78-90E8C9998245
Checking volume
disk1s2: Scan for Volume Headers
disk0s2: Scan for Volume Headers
disk1s2: Scan for Disk Labels
disk0s2: Scan for Disk Labels
Logical Volume Group E9AB2027-786F-4BDE-8B78-90E8C9998245 spans 2 devices
disk0s2+disk1s2: Scan for Metadata Volume
Logical Volume Group has a 62 MB Metadata Volume with no redundancy
Start scanning metadata for a valid checkpoint
Load and verify Segment Headers
Load and verify Checkpoint Payload
Load and verify Transaction Segment
Incorporate 0 newer non-checkpoint transactions
Load and verify Virtual Address Table
Load and verify Segment Usage Table
Load and verify Metadata Superblock
Load and verify Logical Volumes B-Trees
Logical Volume Group contains 1 Logical Volume
Load and verify C0E3E8FB-8391-4260-9380-AEEAA02F4531
Load and verify 2557800D-8843-4936-A95B-AE2EEAD4C284
Load and verify Freespace Summary
Load and verify Block Accounting
Load and verify Live Virtual Addresses
Newest transaction commit checkpoint is valid
Load and verify Segment Cleaning
The volume E9AB2027-786F-4BDE-8B78-90E8C9998245 appears to be OK
Storage system check exit code is 0
Repairing storage system
Performing fsck_cs -y -x --lv --uuid E9AB2027-786F-4BDE-8B78-90E8C9998245
The volume disk1s2+disk0s2 cannot be repaired when it is in use
Checking volume
disk1s2: Scan for Volume Headers
disk0s2: Scan for Volume Headers
disk1s2: Scan for Disk Labels
disk0s2: Scan for Disk Labels
Logical Volume Group E9AB2027-786F-4BDE-8B78-90E8C9998245 spans 2 devices
disk0s2+disk1s2: Scan for Metadata Volume
Logical Volume Group has a 62 MB Metadata Volume with no redundancy
Start scanning metadata for a valid checkpoint
Load and verify Segment Headers
Load and verify Checkpoint Payload
Load and verify Transaction Segment
Incorporate 0 newer non-checkpoint transactions
Load and verify Virtual Address Table
Load and verify Segment Usage Table
Load and verify Metadata Superblock
Load and verify Logical Volumes B-Trees
Logical Volume Group contains 1 Logical Volume
Load and verify C0E3E8FB-8391-4260-9380-AEEAA02F4531
Load and verify 2557800D-8843-4936-A95B-AE2EEAD4C284
Load and verify Freespace Summary
Load and verify Block Accounting
Load and verify Live Virtual Addresses
Newest transaction commit checkpoint is valid
Load and verify Segment Cleaning
The volume E9AB2027-786F-4BDE-8B78-90E8C9998245 appears to be OK
Storage system check exit code is 0
The partition map appears to be OK
Finished partition map repair on disk1
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Macintosh HD 799.8 GB disk1s2
3: Apple_HFS Recovery HD 650.0 MB disk1s4
4: Apple_Boot Recovery HD 650.0 MB disk1s3
3: Apple_HFS Recovery HD 650.0 MB disk1s4
4: Apple_Boot Recovery HD 650.0 MB disk1s3
diskutil eraseVolume free null disk1s3 ; diskutil list disk1
diskutil eraseVolume free null disk1s3 ; diskutil list disk1
Started erase on disk1s3 Recovery HD
Unmounting disk
Finished erase on disk1
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Macintosh HD 799.8 GB disk1s2
3: Apple_HFS Recovery HD 650.0 MB disk1s4
diskutil umount force disk1s4
Volume Recovery HD on disk1s4 force-unmounted
asr adjust --t /dev/disk1s4 --settype "Apple_Boot" ; diskutil list disk1
diskutil umount force disk1s4
Volume Recovery HD on disk1s4 force-unmounted
asr adjust --t /dev/disk1s4 --settype "Apple_Boot" ; diskutil list disk1
Fsck /dev/disk1s4 ....10....20....30....40....50....60....70....80....90....100
Adjust completed successfully
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Macintosh HD 799.8 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s4
3: Apple_Boot Recovery HD 650.0 MB disk1s4
gpt show disk1
gpt show disk1
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 1562026496 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
1562436136 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
1563705672 389819463
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header
1562436136 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
1563705672 389819463
diskutil cs list
diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group E9AB2027-786F-4BDE-8B78-90E8C9998245
=========================================================
Name: Macintosh HD
Status: Online
Size: 827308732416 B (827.3 GB)
Free Space: 249856 B (249.9 KB)
|
+-< Physical Volume 5D3A5542-0617-4B85-8C42-2F16A863C3E5
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 27551166464 B (27.6 GB)
|
+-< Physical Volume 2FBA5CA2-5877-4B5B-B9A7-824BCD159FAC
| ----------------------------------------------------
| Index: 1
| Disk: disk1s2
| Status: Online
| Size: 799757565952 B (799.8 GB)
|
+-> Logical Volume Family C0E3E8FB-8391-4260-9380-AEEAA02F4531
----------------------------------------------------------
Encryption Type: None
|
+-> Logical Volume 2557800D-8843-4936-A95B-AE2EEAD4C284
---------------------------------------------------
Disk: disk3
Status: Online
Size (Total): 826392838144 B (826.4 GB)
Revertible: No
LV Name: Macintosh HD
Volume Name: Macintosh HD
Content Hint: Apple_HFS
LVG Type: Fusion, Sparse
+-< Physical Volume 2FBA5CA2-5877-4B5B-B9A7-824BCD159FAC
diskutil coreStorage resizePV 2FBA5CA2-5877-4B5B-B9A7-824BCD159FAC 0b
coreStorage resizePV 2FBA5CA2-5877-4B5B-B9A7-824BCD159FAC 0b
Started CoreStorage operation
Growing Core Storage Physical Volume from 799 757 565 952 to 999 345 127 424 bytes
Copying booter
Growing disk partition
Modifying partition map
Growing Core Storage data structures
Resizing Core Storage Physical Volume structures
Resized Core Storage Physical Volume to 999 345 127 424 bytes
Finished CoreStorage operation
diskutil list disk1
diskutil list disk1
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Macintosh HD 999.3 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
diskutil coreStorage resizeLV 2557800D-8843-4936-A95B-AE2EEAD4C284 0b
diskutil coreStorage resizeLV 2557800D-8843-4936-A95B-AE2EEAD4C284 0b
The Core Storage Logical Volume UUID is 2557800D-8843-4936-A95B-AE2EEAD4C284
Started CoreStorage operation
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk3
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Macintosh HD appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Growing Logical Volume
Resizing Core Storage Logical Volume structures
Resized Core Storage Logical Volume to 1 025 980 628 992 bytes
Growing file system
Finished CoreStorage operation
diskutil list