Bloc de code:
Last login: Mon Nov 20 10:06:14 on ttys000
You have mail.
imac-de-jean:~ jeanbboules$ diskutil resizevolume disk2s2 0b
Resizing to full size (fit to fill)
Started partitioning on disk2s2 STOREVA
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk2s2
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 STOREVA 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 STOREVA
/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 STOREVA 999.9 GB disk2s2
imac-de-jean:~ jeanbboules$
et
Bloc de code:
Last login: Mon Nov 20 10:11:54 on ttys000
You have mail.
imac-de-jean:~ jeanbboules$ diskutil resizevolume disk2s2 500g jhfs+ "Donnees storeva" 0b
Resizing to 500000000000 bytes and adding 1 partition
Started partitioning on disk2s2 STOREVA
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk2s2
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 STOREVA 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/rdisk2s3 as a 465 GB case-insensitive HFS Plus volume with a 40960k journal
Mounting disk
Finished partitioning on disk2s2 STOREVA
/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 STOREVA 500.0 GB disk2s2
3: Apple_HFS Donnees storeva 499.7 GB disk2s3
imac-de-jean:~ jeanbboules$