10.14 Mojave Mot de passe grisé montage volume

Pour compléter ma réponse voici un diskutil list :
Bloc de code:
dLast login: Sat Oct 20 22:11:26 on ttys000
ismacbookethernet:~ gregoryen$ diskutil list
/dev/disk0 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk3         1000.0 GB  disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         250.8 GB   disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk2
                                 Physical Store disk1s2
   1:                APFS Volume Macintosh HD ( ancie... 143.8 GB   disk2s1
   2:                APFS Volume Preboot                 110.5 MB   disk2s2
   3:                APFS Volume Recovery                3.1 GB     disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4
   5:                APFS Volume Sans titre              55.0 GB    disk2s5
   6:                APFS Volume macOS Mojave            83.5 GB    disk2s6

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1000.0 GB  disk3
                                 Physical Store disk0s2
   1:                APFS Volume **Macintosh HD (anci... 249.4 GB   disk3s1
   2:                APFS Volume Preboot                 106.0 MB   disk3s2
   3:                APFS Volume Recovery                1.6 GB     disk3s3
   4:                APFS Volume Sans titre TM *****     250.3 GB   disk3s4
   5:                APFS Volume Macintosh HD            190.9 GB   disk3s6
   6:                APFS Volume VM                      1.1 GB     disk3s7

macbookethernet:~ gregoryen$


Les deux volumes qui ont un fichier " ContainerToInvert " sont :
Bloc de code:
   1:                APFS Volume **Macintosh HD (anci... 249.4 GB   disk3s1
   4:                APFS Volume Sans titre TM *****     250.3 GB   disk3s4
 
En effet : tu n'as qu'à le faire - ou du moins supprimer les fichiers ContainerToInvert contenus.

Quand c'est fait > repasse la commande :
Bloc de code:
df -H /

  • et poste le tableau mis à jour.
 
Voilà j'ai supprimé ces deux volumes et fait la commande :

Bloc de code:
Last login: Sat Oct 20 22:18:43 on ttys001
df -H /
macbookethernet:~ gregoryen$ df -H /
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk3s6   1.0T   191G   806G    20% 2124562 9223372036852651245    0%   /
macbookethernet:~ gregoryen$
 
806 Go d'espace libre : ça fait coquet, en effet.

Alors passe la commande :
Bloc de code:
diskutil ap resizeContainer disk3 300g jhfs+ BROL 0b

  • la commande rétrécit le Conteneur à 300 Go et crée un BROL de 700 Go

Poste le retour.
 
Il n'y a pas d'erreur > simplement ça prend du temps. Est-ce que les choses ont évolué dans l'affichage ?
 
Arg jetait en train d’écrire qu’il freezais et tout à repris en ramant.

J’ai pas pu copier coller alors j’ai voulu prendre une photo mais il a redémarré automatiquement.

Mais l’affichage avais bougé sur le terminal.

Là il met du temps à redémarrer je te fais le retour dès que tout reviens.
 
Bloc de code:
Last login: Sat Oct 20 22:10:42 on ttys001
macbookethernet:~ gregoryen$ tmutil listlocalsnapshots /
macbookethernet:~ gregoryen$ diskutil
Disk Utility Tool
Utility to manage local disks and volumes
Most commands require an administrator or root user

WARNING: Most destructive operations are not prompted

Usage:  diskutil [quiet] <verb> <options>, where <verb> is as follows:

     list                 (List the partitions of a disk)
     info[rmation]        (Get information on a specific disk or partition)
     listFilesystems      (List file systems available for formatting)
     activity             (Continuous log of system-wide disk arbitration)

     u[n]mount            (Unmount a single volume)
     unmountDisk          (Unmount an entire disk (all volumes))
     eject                (Eject a disk)
     mount                (Mount a single volume)
     mountDisk            (Mount an entire disk (all mountable volumes))

     enableJournal        (Enable HFS+ journaling on a mounted HFS+ volume)
     disableJournal       (Disable HFS+ journaling on a mounted HFS+ volume)
     moveJournal          (Move the HFS+ journal onto another volume)
     enableOwnership      (Exact on-disk User/Group IDs on a mounted volume)
     disableOwnership     (Ignore on-disk User/Group IDs on a mounted volume)

     rename[Volume]       (Rename a volume)

     verifyVolume         (Verify the file system data structures of a volume)
     repairVolume         (Repair the file system data structures of a volume)
     verifyDisk           (Verify the components of a partition map of a disk)
     repairDisk           (Repair the components of a partition map of a disk)
     resetFusion          (Reset the components of a machine's Fusion Drive)

     eraseDisk            (Erase an existing disk, removing all volumes)
     eraseVolume          (Erase an existing volume)
     reformat             (Erase an existing volume with same name and type)
     eraseOptical         (Erase optical media (CD/RW, DVD/RW, etc.))
     zeroDisk             (Erase a disk, writing zeros to the media)
     randomDisk           (Erase a disk, writing random data to the media)
     secureErase          (Securely erase a disk or freespace on a volume)

     partitionDisk        ((re)Partition a disk, removing all volumes)
     resizeVolume         (Resize a volume, increasing or decreasing its size)
     splitPartition       (Split an existing partition into two or more)
     mergePartitions      (Combine two or more existing partitions into one)

     appleRAID <verb>     (Perform additional verbs related to AppleRAID)
     coreStorage <verb>   (Perform additional verbs related to CoreStorage)
     apfs <verb>          (Perform additional verbs related to APFS)

diskutil <verb> with no options will provide help on that verb

macbookethernet:~ gregoryen$ diskutil
  [Restauré 20 oct. 2018 à 22:57:08]
Last login: Sat Oct 20 22:56:01 on console
Restored session: Sam 20 oct 2018 22:30:56 CEST
macbookethernet:~ gregoryen$
 
Oups en fit j'ai cru que c'était la réponse mais il m'avais restauré une ancienne page du terminal /....

Du coup comment savoir s'il a réussis?

Voici le diskutil list :

Bloc de code:
diskutil list
Last login: Sat Oct 20 22:57:12 on ttys002
macbookethernet:~ gregoryen$ diskutil list
/dev/disk0 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk3         1000.0 GB  disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         250.8 GB   disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk2
                                 Physical Store disk1s2
   1:                APFS Volume Macintosh HD ( ancie... 143.8 GB   disk2s1
   2:                APFS Volume Preboot                 110.5 MB   disk2s2
   3:                APFS Volume Recovery                3.1 GB     disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4
   5:                APFS Volume Sans titre              55.0 GB    disk2s5
   6:                APFS Volume macOS Mojave            83.5 GB    disk2s6

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1000.0 GB  disk3
                                 Physical Store disk0s2
   1:                APFS Volume Preboot                 106.0 MB   disk3s2
   2:                APFS Volume Recovery                1.6 GB     disk3s3
   3:                APFS Volume Macintosh HD            190.9 GB   disk3s6
   4:                APFS Volume VM                      1.1 GB     disk3s7

macbookethernet:~ gregoryen$
 
Il ne s'est rien passé > car les opérations se sont bloquées sur la vérification du système de fichiers apfs > préalable au redimensionnement. Le Conteneur fait toujours 1 To.

Le plus commode pour toi serait que > pour cette opération > tu redémarres sur le volume interne Mojave. Effectuer l'opération à partir de ce volume démarré. Donc quand tu es dans ta session de Mojave > repasse la commande :
Bloc de code:
diskutil list

  • et reposte le tableau des disques --> que je vérifie si les index des Conteneurs n'ont pas varié...
 
Désolé ça à mis du temps !

Donc j'ai démarré sur le volume Macos Mojave de mon disque interne.

Mais quand j'allais sur ma session, finder ne voulais pas se lancer ni rien d'autre donc j'ai redémarré et ça met une plombe, et suis allé sur ma session invité qui marche bien.

Donc voici :

Bloc de code:
Last login: Sat Oct 20 23:45:51 on console
macbookethernet:~ test$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         250.8 GB   disk0s2

/dev/disk1 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk3         1000.0 GB  disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD ( ancie... 143.8 GB   disk2s1
   2:                APFS Volume Preboot                 110.5 MB   disk2s2
   3:                APFS Volume Recovery                3.1 GB     disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4
   5:                APFS Volume Sans titre              55.0 GB    disk2s5
   6:                APFS Volume macOS Mojave            83.5 GB    disk2s6

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1000.0 GB  disk3
                                 Physical Store disk1s2
   1:                APFS Volume Preboot                 106.0 MB   disk3s2
   2:                APFS Volume Recovery                1.6 GB     disk3s3
   3:                APFS Volume Macintosh HD            190.9 GB   disk3s6
   4:                APFS Volume VM                      1.1 GB     disk3s7

macbookethernet:~ test$
 
Alors passe la commande :
Bloc de code:
diskutil ap resizeContainer disk3 300g jhfs+ BROL 0b

  • qui rétrécit le Conteneur externe à 300 Go et crée un volume BROL indépendant de 700 Go

Poste l'affichage retourné.

Note : je n'imaginais pas que repartitionner ce Conteneur allait amener autant de péripéties...
 
Voici le retour :

Bloc de code:
Last login: Sat Oct 20 23:53:06 on ttys001
diskutil ap resizeContainer disk3 300g jhfs+ BROL 0b
macbookethernet:~ test$ diskutil ap resizeContainer disk3 300g jhfs+ BROL 0b

Started APFS operation
Aligning shrink delta to 699 995 131 904 bytes and targeting a new physical store size of 299 999 997 952 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 200 937 254 912 bytes
Resizing APFS Container designated by APFS Container Reference disk3
The specific APFS Physical Store being resized is disk1s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l -S /dev/disk1s2
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by asr (945.200.129) and last modified by apfs_kext (945.200.129)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Recovery was formatted by asr (945.200.129) and last modified by apfs_kext (945.200.129)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Macintosh HD was formatted by diskmanagementd (945.200.129) and last modified by apfs_kext (945.200.129)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume VM was formatted by newfs_apfs (748.77.8) and last modified by apfs_kext (945.200.129)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Verifying allocated space
Performing deferred repairs
The volume /dev/disk1s2 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk1s2 from 999 995 129 856 to 299 999 997 952 bytes
Shrinking APFS data structures
[ - 0%..10%..20%..30%..40%............................... ] 48.2%

En attendant les 100 % je vais me coucher, Que faudra t-il faire après les 100 % ?
 
Ça a l'air de fonctionner. Le partitionnement effectué > redémarre > et choisis le volume externe Macintosh HD comme volume de démarrage (il gaut que tu sois démarré sur un Système indépendant de la source et de la destination).

Repasse une commande :
Bloc de code:
diskutil list

  • et poste le tableau.
 
Donc il a bien fini sans buguer :

Bloc de code:
Last login: Sat Oct 20 23:53:06 on ttys001
diskutil ap resizeContainer disk3 300g jhfs+ BROL 0b
macbookethernet:~ test$ diskutil ap resizeContainer disk3 300g jhfs+ BROL 0b

Started APFS operation
Aligning shrink delta to 699 995 131 904 bytes and targeting a new physical store size of 299 999 997 952 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 200 937 254 912 bytes
Resizing APFS Container designated by APFS Container Reference disk3
The specific APFS Physical Store being resized is disk1s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l -S /dev/disk1s2
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by asr (945.200.129) and last modified by apfs_kext (945.200.129)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Recovery was formatted by asr (945.200.129) and last modified by apfs_kext (945.200.129)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Macintosh HD was formatted by diskmanagementd (945.200.129) and last modified by apfs_kext (945.200.129)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume VM was formatted by newfs_apfs (748.77.8) and last modified by apfs_kext (945.200.129)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Verifying allocated space
Performing deferred repairs
The volume /dev/disk1s2 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk1s2 from 999 995 129 856 to 299 999 997 952 bytes
Shrinking APFS data structures
Shrinking partition
Modifying partition map
Initialized /dev/rdisk1s3 as a 652 GB case-insensitive HFS Plus volume with a 57344k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk1s3
Finished APFS operation
macbookethernet:~ test$
macbookethernet:~ test$


Diskutil:

Bloc de code:
Last login: Sun Oct 21 05:22:16 on ttys000
macbookethernet:~ test$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk2         250.8 GB   disk0s2

/dev/disk1 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk3         300.0 GB   disk1s2
   3:                  Apple_HFS BROL                    699.9 GB   disk1s3

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD ( ancie... 143.8 GB   disk2s1
   2:                APFS Volume Preboot                 110.5 MB   disk2s2
   3:                APFS Volume Recovery                3.1 GB     disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4
   5:                APFS Volume Sans titre              55.0 GB    disk2s5
   6:                APFS Volume macOS Mojave            83.5 GB    disk2s6

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +300.0 GB   disk3
                                 Physical Store disk1s2
   1:                APFS Volume Preboot                 106.0 MB   disk3s2
   2:                APFS Volume Recovery                1.6 GB     disk3s3
   3:                APFS Volume Macintosh HD            191.7 GB   disk3s6
   4:                APFS Volume VM                      1.1 GB     disk3s7

macbookethernet:~ test$
 
Je suppose que tu es bien démarré actuellement sur le volume Macintosh HD du DDE externe ?

- donc : il n'est possible de cloner en 1ère passe d'asr qu'un volume principal du Conteneur du disque interne --> est-ce que c'est le volume Sans titre que tu veux cloner alors ?
 
Re coucou j'espère que tu a bien dormis ^^

Oui j'ai envie de tester sans titre en premier, on sera vite fixé car il n'est pas gros et si cela marche on pourra essayer l'autre.

Actuellement je suis sur une session de mon HDD externe, dis moi si je reste sur celle la ou s'il faut que j'aille sur mon HDD interne. Je pensais etre sur mon interne mais je suis sur mon externe, j'avais oublié de faire ALT et de choisir.