MBP-de-Capsicle:~ julie$ df -H /
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk2s1 121G 97G 22G 82% 998015 9223372036853777792 0% /
MBP-de-Capsicle:~ julie$ diskutil verifyVolume disk0s2
Started file system verification on disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume
Checking the APFS volume superblock
The volume MacOS Julie was formatted by newfs_apfs (748.21.6) and last modified by apfs_kext (945.220.38)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 1
error: btn:1: invalid key order (26) oid 462454 / oxid 0
Snapshot is invalid
The volume /dev/disk0s2 could not be verified completely
Storage system check exit code is 0
Finished file system verification on disk0s2
MBP-de-Capsicle:~ julie$
diskutil verifyVolume disk0s2
MBP-de-Capsicle:~ julie$ diskutil verifyVolume disk0s2
Started file system verification on disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume
Checking the APFS volume superblock
The volume MacOS Julie was formatted by newfs_apfs (748.21.6) and last modified by apfs_kext (945.220.38)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 1
error: btn:1: invalid key order (26) oid 462307 / oxid 0
Snapshot is invalid
The volume /dev/disk0s2 could not be verified completely
Storage system check exit code is 0
Finished file system verification on disk0s2
df -H ; sw_vers -productVersion
MacBook-Pro-de-Capsicle:~ julie$ df -H ; sw_vers -productVersion
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk2s1 121G 102G 17G 86% 996499 9223372036853779308 0% /
devfs 342k 342k 0B 100% 1156 0 100% /dev
/dev/disk1s2 1000 350G 650G 36% 172437 4294794842 0% /Volumes/canard
map -hosts 0B 0B 0B 100% 0 0 100% /net
map auto_home 0B 0B 0B 100% 0 0 100% /home
/dev/disk2s4 121G 1.1G 17G 6% 3 9223372036854775804 0% /Volumes/VM
10.14.1
La dernière version de macOS Mojave en cours est la 10.14.6. Il faut faire les mises à jour qui sont proposées (c'est un conseil), car il y en a d'importantes concernant la sécurité.10.14.1
/dev/disk1s2 1000 350G 650G 36% 172437 4294794842 0% /Volumes/canard
diskutil resizeVolume disk1s2 800g jhfs+ Clone 0b
MBP-de-Capsicle:~ julie$ diskutil resizeVolume disk1s2 800g jhfs+ Clone 0b
Resizing to 800000000000 bytes and adding 1 partition
Started partitioning on disk1s2 canard
Verifying the disk
Verifying file system
Volume could not be unmounted
Using live mode
Performing fsck_hfs -fn -l -x /dev/rdisk1s2
Performing live verification
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 canard appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Shrinking file system
Modifying partition map
Initialized /dev/rdisk1s3 as a 186 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
Finished partitioning on disk1s2 canard
/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_HFS canard 800.0 GB disk1s2
3: Apple_HFS Clone 199.7 GB disk1s3
diskutil ap convert disk1s3 ; diskutil list
MBP-de-Capsicle:~ julie$ diskutil ap convert disk1s3 ; diskutil list
Converting the volume on disk1s3 to an APFS Volume on an APFS Container
Started APFS operation on disk1s3 Clone
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Clone" backed by the GPT partition disk1s3
The target is a data disk; it is not a macOS system disk
Found APFS EFI driver /usr/standalone/i386/apfs.efi to install into the APFS Container
The target is not encrypted
Unmounting disk1s3
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk1s3
Reporting pre-conversion statistics
Reporting post-conversion statistics
Successfully finished conversion from HFS to APFS
Successful conversion in commit mode so will switch type to APFS
Setting type of disk1s3 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk1s3 to terminate old content driver
Expecting the new APFS Container at Physical Store disk1s3
Confirmed existence of new unencrypted APFS Volume disk3s1
Mounting APFS Volume disk3s1
APFS Volume mount attempt result was 0
Exiting conversion operations with error code 0
Disk from APFS operation: disk3s1
Finished APFS operation on disk1s3 Clone
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 121.1 GB disk0s2
/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_HFS canard 800.0 GB disk1s2
3: Apple_APFS Container disk3 199.7 GB disk1s3
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk2
Physical Store disk0s2
1: APFS Volume MacOS Julie 102.4 GB disk2s1
2: APFS Volume Preboot 41.9 MB disk2s2
3: APFS Volume Recovery 1.0 GB disk2s3
4: APFS Volume VM 1.1 GB disk2s4
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +199.7 GB disk3
Physical Store disk1s3
1: APFS Volume Clone 978.9 KB disk3s1
nohup caffeinate -dimsu & killall Terminal