Je me demande quand même combien de personnes sont capables de comprendre les arcanes de ce Système…Encore un succès de magic Macomaniac !
diskutil list
diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 1.0 TB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +969.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 924.3 GB disk1s1
2: APFS Volume Preboot 22.8 MB disk1s2
3: APFS Volume Recovery 517.8 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
diskutil ap list
APFS Container (1 found)
|
+-- Container disk1 19A3D967-4A2A-425D-8247-69B3DA962F4A
====================================================
APFS Container Reference: disk1
Size (Capacity Ceiling): 969809166336 B (969.8 GB)
Minimum Size: 955511083008 B (955.5 GB)
Capacity In Use By Volumes: 926144712704 B (926.1 GB) (95.5% used)
Capacity Not Allocated: 43664453632 B (43.7 GB) (4.5% free)
|
+-< Physical Store disk0s2 11E96138-A579-4CF6-A1C8-EBD4F15B091A
| -----------------------------------------------------------
| APFS Physical Store Disk: disk0s2
| Size: 1000345828864 B (1.0 TB)
|
+-> Volume disk1s1 24B6CC83-93D7-3BEF-AEF1-B6A9C5C1B6D5
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s1 (No specific role)
| Name: Macintosh HD (Case-insensitive)
| Mount Point: /
| Capacity Consumed: 924325371904 B (924.3 GB)
| FileVault: Yes (Unlocked)
|
+-> Volume disk1s2 E471BA67-E850-42D4-B8EA-F876A5177942
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s2 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 22822912 B (22.8 MB)
| FileVault: No
|
+-> Volume disk1s3 FCDE2964-2621-4FD7-A3CD-5F35F1188EF8
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s3 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 517783552 B (517.8 MB)
| FileVault: No
|
+-> Volume disk1s4 F17E3357-A018-4EF0-A99A-FA1BFB87FC4B
---------------------------------------------------
APFS Volume Disk (Role): disk1s4 (VM)
Name: VM (Case-insensitive)
Mount Point: /private/var/vm
Capacity Consumed: 1073766400 B (1.1 GB)
FileVault: No
sudo gpt show /dev/disk0
diskutil ap resizeContainer disk1 0b
Merci bien !Salut fzdavid
D'abord bravo pour avoir su transposer à ton propre cas le cas de Saucy. La récupération d'une partition dont le type a été corrompu > par sa suppression suivie de sa recréation dans la table GPT via l'utilitaire gpt --> est un exercice beaucoup plus sûr qu'il n'y paraît. Le tout est de connaître exactement le n° de bloc de départ de la partition > et le nombre de blocs qui constitue son extension.
Les 31 Go qui manquent à l'appel doivent constituer une bande de blocs libres en queue de disque > juste avant le backup de la GPT sur les 32 derniers blocs. Une commande :
Bloc de code:sudo gpt show /dev/disk0
Tu n'as qu'à poster l'affichage retourné par cette commande pour vérification.
- devrait te confirmer cette conjecture. Si tel st bien le cas > enchaîne par la commande :
sudo gpt show /dev/disk0
Password:
gpt show: unable to open device '/dev/disk0': Operation not permitted
csrutil status
csrutil disable
Salut fzdavid
Bloc de code:diskutil ap resizeContainer disk1 0b
- qui récupère l'espace libre situé en-dessous --> au Conteneur et à sa partition de résidence disk0s2
Tu n'as qu'à poster l'affichage retourné par cette commande pour vérification.
diskutil ap resizeContainer disk1 0b
Started APFS operation
Error: -69771: The target disk is too small for this operation
diskutil apfs resizeContainer disk0s2 0
Started APFS operation
Error: -69771: The target disk is too small for this operation
Oui pardon les posts se sont croisésRegarde mon message #47 pour désactiver le SIP > ce qui te permettra d'utiliser la commande gpt ensuite et de poster le tableau des blocs du disque -->
- on verra s'il y a bien une bande d'espace libre en bas de disque
sudo gpt show /dev/disk0
Password:
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 1953800447 2 GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
1954210087 32 Sec GPT table
1954210119 1 Sec GPT header
2: Apple_APFS Container disk1 1.0 TB disk0s2
diskutil ap list
diskutil ap list
APFS Container (1 found)
|
+-- Container disk1 19A3D967-4A2A-425D-8247-69B3DA962F4A
====================================================
APFS Container Reference: disk1
Size (Capacity Ceiling): 969809166336 B (969.8 GB)
Minimum Size: 956259467264 B (956.3 GB)
Capacity In Use By Volumes: 926867017728 B (926.9 GB) (95.6% used)
Capacity Not Allocated: 42942148608 B (42.9 GB) (4.4% free)
|
+-< Physical Store disk0s2 11E96138-A579-4CF6-A1C8-EBD4F15B091A
| -----------------------------------------------------------
| APFS Physical Store Disk: disk0s2
| Size: 1000345828864 B (1.0 TB)
|
+-> Volume disk1s1 24B6CC83-93D7-3BEF-AEF1-B6A9C5C1B6D5
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s1 (No specific role)
| Name: Macintosh HD (Case-insensitive)
| Mount Point: /
| Capacity Consumed: 925047676928 B (925.0 GB)
| FileVault: Yes (Unlocked)
|
+-> Volume disk1s2 E471BA67-E850-42D4-B8EA-F876A5177942
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s2 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 22822912 B (22.8 MB)
| FileVault: No
|
+-> Volume disk1s3 FCDE2964-2621-4FD7-A3CD-5F35F1188EF8
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s3 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 517783552 B (517.8 MB)
| FileVault: No
|
+-> Volume disk1s4 F17E3357-A018-4EF0-A99A-FA1BFB87FC4B
---------------------------------------------------
APFS Volume Disk (Role): disk1s4 (VM)
Name: VM (Case-insensitive)
Mount Point: /private/var/vm
Capacity Consumed: 1073766400 B (1.1 GB)
FileVault: No
Bloc de code:diskutil ap list APFS Container (1 found) | +-- Container disk1 19A3D967-4A2A-425D-8247-69B3DA962F4A ==================================================== APFS Container Reference: disk1 Size (Capacity Ceiling): 969809166336 B (969.8 GB) Minimum Size: 956259467264 B (956.3 GB) Capacity In Use By Volumes: 926867017728 B (926.9 GB) (95.6% used) Capacity Not Allocated: 42942148608 B (42.9 GB) (4.4% free)
Capacity Not Allocated: 42942148608 B (42.9 GB) (4.4% free)
diskutil verifyVolume disk1
diskutil verifyVolume disk1
Started file system verification on disk1
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking volume
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the object map
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Verifying allocated space
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Finished file system verification on disk1
diskutil repairDisk disk0
disktutil repairVolume disk2
diskutil ap list
diskutil list
APFS Container (1 found)
|
+-- Container disk1 19A3D967-4A2A-425D-8247-69B3DA962F4A
====================================================
APFS Container Reference: disk1
Size (Capacity Ceiling): 969809166336 B (969.8 GB)
Minimum Size: 956321116160 B (956.3 GB)
Capacity In Use By Volumes: 926914445312 B (926.9 GB) (95.6% used)
Capacity Not Allocated: 42894721024 B (42.9 GB) (4.4% free)
|
+-< Physical Store disk0s2 11E96138-A579-4CF6-A1C8-EBD4F15B091A
| -----------------------------------------------------------
| APFS Physical Store Disk: disk0s2
| Size: 1000345828864 B (1.0 TB)
|
+-> Volume disk1s1 24B6CC83-93D7-3BEF-AEF1-B6A9C5C1B6D5
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s1 (No specific role)
| Name: Macintosh HD (Case-insensitive)
| Mount Point: /
| Capacity Consumed: 925095104512 B (925.1 GB)
| FileVault: Yes (Unlocked)
|
+-> Volume disk1s2 E471BA67-E850-42D4-B8EA-F876A5177942
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s2 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 22822912 B (22.8 MB)
| FileVault: No
|
+-> Volume disk1s3 FCDE2964-2621-4FD7-A3CD-5F35F1188EF8
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s3 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 517783552 B (517.8 MB)
| FileVault: No
|
+-> Volume disk1s4 F17E3357-A018-4EF0-A99A-FA1BFB87FC4B
---------------------------------------------------
APFS Volume Disk (Role): disk1s4 (VM)
Name: VM (Case-insensitive)
Mount Point: /private/var/vm
Capacity Consumed: 1073766400 B (1.1 GB)
FileVault: No