Voilà, j'ai redémarré sur le clone. Ça marche mais c'est vraiment lent... et puis j'ai re-éteint et démarré sur le disque Macintosh HD .
Dernière édition par un modérateur:
diskutil eraseDisk apfs "Macintosh HD" gpt disk0
Last login: Sun Dec 27 16:09:14 on ttys000
MacBook-Air-de-Ludovic:~ ludovicschoy$ diskutil eraseDisk apfs "Macintosh HD" gpt disk0
Started erase on disk0
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk0s2 as APFS with name Macintosh HD
Mounting disk
Finished erase on disk0
MacBook-Air-de-Ludovic:~ ludovicschoy$
Last login: Sat Jan 2 08:47:59 on ttys000
ImacofUniverse:~ romain$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 500.0 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +500.0 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 11.1 GB disk1s1
2: APFS Volume Macintosh HD - Data 460.9 GB disk1s2
3: APFS Volume Preboot 82.0 MB disk1s3
4: APFS Volume Recovery 542.2 MB disk1s4
5: APFS Volume VM 2.1 GB disk1s5
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS KOHANA 999.7 GB disk2s2
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *1.0 TB disk3
1: Windows_NTFS LaCie 1.0 TB disk3s1
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_HFS Time Machine 499.7 GB disk4s2
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme +20.6 MB disk5
1: Apple_partition_map 32.3 KB disk5s1
2: Apple_HFS Disk Inventory X 1.3 20.6 MB disk5s2
ImacofUniverse:~ romain$
diskutil verifyVolume disk1
Last login: Sat Jan 2 09:06:19 on console
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
ImacofUniverse:~ romain$ diskutil verifyVolume disk1
Started file system verification on disk1
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 Macintosh HD was formatted by asr (1412.141.1) and last modified by apfs_kext (1412.141.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 6 (live_BCCCE29E-08DC-4C12-90C9-A8A04BE14487)
Checking snapshot 2 of 6 (com.apple.TimeMachine.2021-01-01-203240.local)
Checking snapshot 3 of 6 (com.apple.TimeMachine.2021-01-01-213311.local)
Checking snapshot 4 of 6 (com.apple.TimeMachine.2021-01-01-231648.local)
Checking snapshot 5 of 6 (com.apple.TimeMachine.2021-01-02-055823.local)
Checking snapshot 6 of 6 (com.apple.TimeMachine.2021-01-02-062837.local)
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Macintosh HD - Data was formatted by asr (1412.141.1) and last modified by apfs_kext (1412.141.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 6 (live_ED89AB77-070E-4491-8236-594CA9636158)
Checking snapshot 2 of 6 (com.apple.TimeMachine.2021-01-01-203240.local)
Checking snapshot 3 of 6 (com.apple.TimeMachine.2021-01-01-213311.local)
Checking snapshot 4 of 6 (com.apple.TimeMachine.2021-01-01-231648.local)
Checking snapshot 5 of 6 (com.apple.TimeMachine.2021-01-02-055823.local)
Checking snapshot 6 of 6 (com.apple.TimeMachine.2021-01-02-062837.local)
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by asr (1412.141.1) and last modified by apfs_kext (1412.141.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Recovery was formatted by asr (1412.141.1) and last modified by apfs_kext (1412.141.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume VM was formatted by apfs.util (1412.141.1) and last modified by apfs_kext (1412.141.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Verifying allocated space
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Finished file system verification on disk1
ImacofUniverse:~ romain$
csrutil status
csrutil disable
sudo find -x /System/Volumes/Data -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Last login: Sat Jan 2 11:54:15 on console
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
ImacofUniverse:~ romain$ sudo find -x /System/Volumes/Data -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:
Sorry, try again.
Password:
find: /System/Volumes/Data/.Spotlight-V100: No such file or directory
find: /System/Volumes/Data/mnt: No such file or directory
find: /System/Volumes/Data/.DocumentRevisions-V100: No such file or directory
find: /System/Volumes/Data/.TemporaryItems: No such file or directory
0B /System/Volumes/Data/sw
1,0K /System/Volumes/Data/home
3,5M /System/Volumes/Data/usr
666M /System/Volumes/Data/.Spotlight-V100
4,0K /System/Volumes/Data/.installer-compatibility
1,6M /System/Volumes/Data/.TempReceipt.bom
12G /System/Volumes/Data/Library
3,9G /System/Volumes/Data/System
0B /System/Volumes/Data/mnt
2,8M /System/Volumes/Data/.fseventsd
5,4G /System/Volumes/Data/private
272K /System/Volumes/Data/.DocumentRevisions-V100
198G /System/Volumes/Data/Users
45G /System/Volumes/Data/Applications
203M /System/Volumes/Data/opt
128K /System/Volumes/Data/Volumes
0B /System/Volumes/Data/.TemporaryItems
0B /System/Volumes/Data/cores
ImacofUniverse:~ romain$