Je crois surtout que la recopie ne t'est pas aisée ; tu as demandé à redimensionner le disque 21, au lieu du disque 3 :je crois que je suis maudit
Oui ! je le vois en position n°3.
Passe la commande :
Bloc de code:diskutil resizeVolume disk3s2 220g jhfs+ SOS 0b
Bloc de code:-bash-3.2# diskutil resizeVolume disk21s2 200g jhfs+ SOS 0b Unable to find disk for disk21s2 -bash-3.2#
sysctl hw.model
-bash-3.2# 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_CoreStorage Macintosh HD 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS OS X Base System 2.0 GB disk1s1
/dev/disk2 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +999.0 GB disk2
Logical Volume on disk0s2
ED89A93B-1AA6-43F9-98B8-419852DDA80A
Unencrypted
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB 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 +2.1 MB 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 +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 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 +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB 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
-bash-3.2#
diskutil info /Volumes/"Macintosh HD"
ls /Volumes/"Macintosh HD"
bless --info /Volumes/"Macintosh HD"
-bash-3.2# diskutil info /Volumes/"Macintosh HD"
Device Identifier: disk2
Device Node: /dev/disk2
Whole: Yes
Part of Whole: disk2
Device / Media Name: APPLE HDD HTS541010A9E662
Volume Name: Macintosh HD
Mounted: Yes
Mount Point: /Volumes/Macintosh HD
Content (IOContent): Apple_HFS
File System Personality: Journaled HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended (Journaled)
Journal: Journal size 81920 KB at offset 0x1b216000
Owners: Enabled
OS Can Be Installed: Yes
Booter Disk: disk0s3
Recovery Disk: disk0s3
Media Type: Generic
Protocol: SATA
SMART Status: Not Supported
Volume UUID: C5D30D6B-39A9-3F0A-B2F6-362E662D4F94
Disk / Partition UUID: ED89A93B-1AA6-43F9-98B8-419852DDA80A
Disk Size: 999.0 GB (998986858496 Bytes) (exactly 1951146208 512-Byte-Units)
Device Block Size: 512 Bytes
Volume Total Space: 999.0 GB (998986858496 Bytes) (exactly 1951146208 512-Byte-Units)
Volume Used Space: 260.6 GB (260621832192 Bytes) (exactly 509027016 512-Byte-Units) (26.1%)
Volume Available Space: 738.4 GB (738365026304 Bytes) (exactly 1442119192 512-Byte-Units) (73.9%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: Internal
Removable Media: Fixed
Solid State: No
Virtual: Yes
OS 9 Drivers: No
Low Level Format: Not supported
This disk is a Core Storage Logical Volume (LV). Core Storage Information:
LV UUID: ED89A93B-1AA6-43F9-98B8-419852DDA80A
LVF UUID: 1A894830-0C74-40A7-8807-1842781DED20
LVG UUID: 42872406-7EE5-462D-BBC8-55BA153246C5
PV UUID (disk): 4FBD09DA-DDE6-4B95-A772-E10D355D7102 (disk0s2)
Fusion Drive: No
Encrypted: No
-bash-3.2# ls /Volumes/"Macintosh HD"
.DS_Store Users
.DocumentRevisions-V100 Volumes
.IAProductInfo bin
.PKInstallSandboxManager cores
.PKInstallSandboxManager-SystemSoftware dev
.Spotlight-V100 etc
.Trashes home
.file installer.failurerequests
.fseventsd macOS Install Data
.hotfiles.btree net
.vol private
Applications sbin
Library tmp
Network usr
System var
-bash-3.2# bless --info /Volumes/"Macintosh HD"
finderinfo[0]: 8138160 => Blessed System Folder is /Volumes/Macintosh HD/System/Library/CoreServices
finderinfo[1]: 9178835 => Blessed System File is /Volumes/Macintosh HD/System/Library/CoreServices/boot.efi
finderinfo[2]: 0 => Open-folder linked list empty
finderinfo[3]: 0 => No alternate OS blessed file/folder
finderinfo[4]: 0 => Unused field unset
finderinfo[5]: 8138160 => OS X blessed folder is /Volumes/Macintosh HD/System/Library/CoreServices
64-bit VSDB volume id: 0xC1E602E4A2BBB579
-bash-3.2#
defaults read /Volumes/"Macintosh HD"/System/Library/CoreServices/SystemVersion.plist ProductVersion