diskutil eraseVolume free null disk2s3 ; diskutil eraseVolume free null disk2s4 ; diskutil resizeVolume disk2s2 0b ; diskutil list
Started erase on disk2s3
Unmounting disk
Finished erase on disk2
Started erase on disk2s4
Unmounting disk
Finished erase on disk2
Resizing to full size (fit to fill)
Started partitioning on disk2s2 Time Machine
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk2s2
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 Time Machine appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Modifying partition map
Growing file system
Finished partitioning on disk2s2 Time Machine
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk2
1: Microsoft Basic Data Gaëtan - Grosse Fade 1.1 TB disk2s1
2: Apple_HFS Time Machine 1.9 TB disk2s2
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Mac OS - Données 112.3 GB disk1s1
2: APFS Volume Mac OS 11.1 GB disk1s2
3: APFS Volume Preboot 25.4 MB disk1s3
4: APFS Volume Recovery 525.0 MB disk1s4
5: APFS Volume VM 2.1 GB disk1s5
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk2
1: Microsoft Basic Data Gaëtan - Grosse Fade 1.1 TB disk2s1
2: Apple_HFS Time Machine 1.9 TB disk2s2