diskutil list ; df -H
-bash-3.2# diskutil list ; df -H
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_HFS Macintosh HD 120.9 GB disk0s2
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS macOS Base System 2.0 GB disk1s1
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +10.5 MB disk2
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_HFS Elements 999.8 GB disk3s2
(free space) 135.2 MB -
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +10.5 MB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +10.5 MB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk20
/dev/disk21 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk21
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 2.0G 1.8G 182M 91% 54717 4294912562 0% /
devfs 206k 206k 0B 100% 698 0 100% /dev
tmpfs 4.3G 12k 4.3G 1% 7 999993 0% /private/tmp
tmpfs 4.3G 8.2k 4.3G 1% 13 999987 0% /private/var/tmp
tmpfs 4.3G 11M 4.3G 1% 113 999887 0% /private/var/folders
/dev/disk2 10M 1.2M 9.3M 12% 23 4294967256 0% /private/var/log
/dev/disk4 10M 266k 10M 3% 3 4294967276 0% /private/var/log/dm
/dev/disk5 524k 147k 377k 29% 5 4294967274 0% /Volumes
/dev/disk6 524k 164k 360k 32% 20 4294967259 0% /private/var/run
/dev/disk7 524k 143k 381k 28% 3 4294967276 0% /private/var/rpc/ncacn_np
/dev/disk8 524k 143k 381k 28% 2 4294967277 0% /System/Installation
/dev/disk9 10M 401k 10M 4% 31 4294967248 0% /private/var/db
/dev/disk10 2.1M 143k 2.0M 7% 2 4294967277 0% /private/var/db/com.apple.xpc.roleaccountd.staging
/dev/disk11 4.2M 344k 3.9M 9% 49 4294967230 0% /private/var/root/Library
/dev/disk13 2.1M 1.1M 963k 55% 290 4294966989 0% /private/var/root/Library/Containers
/dev/disk14 524k 176k 348k 34% 13 4294967266 0% /Library/Preferences
/dev/disk15 2.1M 143k 2.0M 7% 2 4294967277 0% /Library/Preferences/Logging
/dev/disk16 524k 160k 365k 31% 6 4294967273 0% /Library/Preferences/SystemConfiguration
/dev/disk17 1.0M 201k 848k 20% 6 4294967273 0% /Library/Keychains
/dev/disk18 524k 143k 381k 28% 2 4294967277 0% /Library/Security/Trust Settings
/dev/disk19 524k 143k 381k 28% 3 4294967276 0% /Library/Logs
/dev/disk20 2.1M 143k 2.0M 7% 2 4294967277 0% /Library/Logs/DiagnosticReportsForNewHardware
/dev/disk21 2.1M 143k 2.0M 7% 2 4294967277 0% /Library/Logs/DiagnosticReports
/dev/disk0s2 121G 998M 120G 1% 15 4294967264 0% /Volumes/Macintosh HD
/dev/disk3s2 1000 87G 913G 9% 1154268 4293813011 0% /Volumes/Elements
diskutil resizeVolume disk3s2 850g jhfs+ TEST 0b
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_HFS Elements 999.8 GB disk3s2
(free space) 135.2 MB -
diskutil list
-bash-3.2# diskutil resizeVolume disk3s2 850g jhfs+ TEST 0b
Resizing to 850000000000 bytes and adding 1 partition
Started partitioning on disk3s2 (Elements)
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk3s2
Checking Journaled HFS Plus volume
Detected a case-sensitive volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking multi-linked directories
Checking volume bitmap
Checking volume information
The volume Elements 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/rdisk3s3 as a 139 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
Finished partitioning on disk3s2 (Elements)
La commande a réussi. Attends qu'il sorte de sa piscine.Alors ?