Ok merci !Aucune importance : on réinitialisera le disque et hop !
Ok merci !Aucune importance : on réinitialisera le disque et hop !
diskutil list
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Sierra OSX 399.9 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 99.2 GB disk0s4
/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 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS My Passport for Mac 999.8 GB disk2s2
/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 +6.3 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 +524.3 KB disk18
-bash-3.2#
diskutil eraseVolume jhfs+ Clone disk2s2
-bash-3.2# diskutil eraseVolume jhfs+ Clone disk2s2
Started erase on disk2s2 Clone
Unmounting disk
Erasing
Initialized /dev/rdisk2s2 as a 931 GB case-insensitive HFS Plus volume with a 81920k journal
Mounting disk
Finished erase on disk2s2 Clone
-bash-3.2#
caffeinate -dimsu &
cp -av /Volumes/"Sierra OSX"/* /Volumes/Clone
df -H
-bash-3.2# df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 2.0G 1.3G 724M 64% 48782 4294918497 0% /
devfs 204k 204k 0B 100% 690 0 100% /dev
/dev/disk3 5.2M 647k 4.6M 13% 18 4294967261 0% /private/var/log
/dev/disk4 524k 147k 377k 29% 6 4294967273 0% /Volumes
/dev/disk5 524k 143k 381k 28% 5 4294967274 0% /private/var/tmp
/dev/disk6 524k 160k 365k 31% 10 4294967269 0% /private/var/run
/dev/disk7 2.1M 143k 2.0M 7% 2 4294967277 0% /private/tmp
/dev/disk8 524k 143k 381k 28% 2 4294967277 0% /System/Installation
/dev/disk9 524k 299k 225k 58% 20 4294967259 0% /private/var/db
/dev/disk10 6.3M 3.4M 2.8M 55% 67 4294967212 0% /private/var/folders
/dev/disk11 2.1M 2.1M 0B 100% 219 4294967060 0% /private/var/root/Library
/dev/disk13 2.1M 143k 2.0M 7% 2 4294967277 0% /private/var/root/Library/Containers
/dev/disk14 524k 172k 352k 33% 9 4294967270 0% /Library/Preferences
/dev/disk15 524k 164k 360k 32% 6 4294967273 0% /Library/Preferences/SystemConfiguration
/dev/disk16 1.0M 143k 905k 14% 2 4294967277 0% /Library/Keychains
/dev/disk17 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/RecoveryTemp
/dev/disk18 524k 143k 381k 28% 2 4294967277 0% /private/var/tmp/InstallerCookies
/dev/disk0s2 400G 171G 229G 43% 1121665 4293845614 0% /Volumes/Sierra OSX
/dev/disk0s4 99G 15G 85G 15% 96241 82546151 0% /Volumes/BOOTCAMP
/dev/disk2s2 1000 177G 823G 18% 1110457 4293856822 0% /Volumes/Clone
-bash-3.2#
Yes!171 Go d'occupation pour Sierra OS X vs 177 Go pour Clone -->
- la commande cp a pour routine de consommer davantage de blocs pour l'écriture des fichiers sur la destination > en comparaison de la source. +6 Go d'excédent seulement --> montre que Clone est un bon clone.
On peut poursuivre l'opération des « 4 r » par le reformatage de Sierra OSX : prêt ?
diskutil eraseVolume jhfs+ "Sierra OSX" disk0s2
-bash-3.2# diskutil eraseVolume jhfs+ "Sierra OSX" disk0s2
Started erase on disk0s2 Sierra OSX
Unmounting disk
Erasing
Initialized /dev/rdisk0s2 as a 372 GB case-insensitive HFS Plus volume with a 32768k journal
Mounting disk
Finished erase on disk0s2 Sierra OSX
-bash-3.2# -bash-3.2# diskutil eraseVolume jhfs+ "Sierra OSX" disk0s2
-bash: -bash-3.2#: command not found
-bash-3.2# Started erase on disk0s2 Sierra OSX
-bash: Started: command not found
-bash-3.2# Unmounting disk
-bash: Unmounting: command not found
-bash-3.2# Erasing
-bash: Erasing: command not found
-bash-3.2# Initialized /dev/rdisk0s2 as a 372 GB case-insensitive HFS Plus volume with a 32768k journal
-bash: Initialized: command not found
-bash-3.2# Mounting disk
-bash: Mounting: command not found
-bash-3.2# Finished erase on disk0s2 Sierra OSX
-bash: Finished: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2#
-bash-3.2# -bash-3.2# diskutil eraseVolume jhfs+ "Sierra OSX" disk0s2
-bash: -bash-3.2#: command not found
-bash-3.2# Started erase on disk0s2 Sierra OSX
-bash: Started: command not found
-bash-3.2# Unmounting disk
-bash: Unmounting: command not found
-bash-3.2# Erasing
-bash: Erasing: command not found
-bash-3.2# Initialized /dev/rdisk0s2 as a 372 GB case-insensitive HFS Plus volume with a 32768k journal
-bash: Initialized: command not found
-bash-3.2# Mounting disk
-bash: Mounting: command not found
-bash-3.2# Finished erase on disk0s2 Sierra OSX
-bash: Finished: command not found
-bash-3.2# -bash-3.2# -bash-3.2# diskutil eraseVolume jhfs+ "Sierra OSX" disk0s2
-bash: -bash-3.2#: command not found
-bash-3.2# -bash: -bash-3.2#: command not found
-bash: -bash:: command not found
-bash-3.2# -bash-3.2# Started erase on disk0s2 Sierra OSX
-bash: -bash-3.2#: command not found
-bash-3.2# -bash: Started: command not found
-bash: -bash:: command not found
-bash-3.2# -bash-3.2# Unmounting disk
-bash: -bash-3.2#: command not found
-bash-3.2# -bash: Unmounting: command not found
-bash: -bash:: command not found
-bash-3.2# -bash-3.2# Erasing
-bash: -bash-3.2#: command not found
-bash-3.2# -bash: Erasing: command not found
-bash: -bash:: command not found
-bash-3.2# -bash-3.2# Initialized /dev/rdisk0s2 as a 372 GB case-insensitive HFS Plus volume with a 32768k journal
-bash: -bash-3.2#: command not found
-bash-3.2# -bash: Initialized: command not found
-bash: -bash:: command not found
-bash-3.2# -bash-3.2# Mounting disk
-bash: -bash-3.2#: command not found
-bash-3.2# -bash: Mounting: command not found
-bash: -bash:: command not found
-bash-3.2# -bash-3.2# Finished erase on disk0s2 Sierra OSX
-bash: -bash-3.2#: command not found
-bash-3.2# -bash: Finished: command not found
-bash: -bash:: command not found
-bash-3.2# -bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash: -bash-3.2#: command not found
-bash: -bash:: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2# -bash-3.2#
-bash: -bash-3.2#: command not found
-bash-3.2#