M
Membre supprimé 1060554
Invité
Alors il te faudrait un DDE avec un volume de 1 To libre pour y effectuer la recopie. Est-ce que tu disposes d'un pareil périphérique ?
-bash-3.2# diskutil info /Volumes/"Macintosh HD"
Device Identifier: disk0s2
Device Node: /dev/disk0s2
Whole: No
Part of Whole: disk0
Volume Name: Macintosh HD
Mounted: Yes
Mount Point: /Volumes/Macintosh HD
Partition Type: Apple_HFS
File System Personality: HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended
Owners: Enabled
OS Can Be Installed: No
Recovery Disk: disk0s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: 44CE4F34-277B-3F20-BF13-065A3CBD308F
Disk / Partition UUID: 000066A2-7B53-0000-225D-00003E4B0000
Disk Size: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Device Block Size: 512 Bytes
Volume Total Space: 999.3 GB (999345127424 Bytes) (exactly 1951845952 512-Byte-Units)
Volume Used Space: 903.3 GB (903320846336 Bytes) (exactly 1764298528 512-Byte-Units) (90.4%)
Volume Available Space: 96.0 GB (96024281088 Bytes) (exactly 187547424 512-Byte-Units) (9.6%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: Yes
Device Location: Internal
Removable Media: Fixed
Solid State: No
-bash-3.2# df -H/volumes/"Macintosh HD"
df: illegal option -- /
usage: df [-b | -H | -h | -k | -m | -g | -P] [-ailn] [-T type] [-t] [filesystem ...]
-bash-3.2# df -H /Volumes/"Macintosh HD"
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 999G 903G 96G 91% 921578 4294045701 0% /Volumes/Macintosh HD
-bash-3.2#
diskutil list
df -H
diskutil list
-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_HFS 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 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB 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 +524.3 KB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 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 +524.3 KB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk16
/dev/disk17 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *1.0 TB disk17
1: Windows_FAT_32 VERBATIM HD 1.0 TB disk17s1
-bash-3.2#
diskutil partitionDisk disk17 gpt jhfs+ Clone 100%
caffeinate -dimsu &
cp -av /Volumes/"Macintosh HD"/* /Volumes/Clone
-bash-3.2# diskutil partitionDisk disk17gpt jhfs+
Usage: diskutil partitionDisk MountPoint|DiskIdentifier|DeviceNode
[numberOfPartitions] [APM[Format]|MBR[Format]|GPT[Format]]
[part1Format part1Name part1Size part2Format part2Name part2Size
part3Format part3Name part3Size ...]
(Re)Partition an existing disk. All volumes on this disk will be destroyed.
Ownership of the affected disk is required.
For the partition scheme parameter:
APM specifies that an Apple Partition Map scheme be created.
MBR specifies that a DOS-compatible format scheme be created.
GPT specifies that a GUID Partitioning scheme be created.
APMFormat and APMScheme are synonyms for APM; the same applies to the others.
For each partition triplet:
Format is normally the file system personality used to set the
partition type and to choose the initialization (newfs) program.
"diskutil listFilesystems" shows a list of supported personalities.
Alternatively, you can specify "Free Space" to leave a gap.
Or you can explicitly specify the partition type (either as a human-
readable string or as a GPT UUID constant) surrounded by "%".
Explicitly specifying the type or Free Space implies %noformat% (below).
Name is the initial volume name (subject to file system-specific naming
restrictions). You can also specify %noformat% to skip initialization
(newfs). If the format (above) is "Free Space" or an explicit partition
type, the name is ignored, but it must still be present.
Size is the length of the partition (slice); the exact resulting size may
be somewhat larger or smaller as necessary in certain cases.
Valid sizes are floating-point numbers with a suffix of B(ytes), S(512-byte-
blocks), K(ilobytes), M(egabytes), G(igabytes), T(erabytes), P(etabytes),
or (%)percentage of the total size of the whole disk; also, at most 1 triplet
can specify a size of "R" (without a preceding number) to specify the remainder
left on the whole disk after considering the other sizes.
The last partition will be lengthened to the end of the disk; to specify an
exact size for the last usable partition, specify an additional partition
of type "Free Space".
-bash-3.2#
-bash-3.2#