Come rimuovere / espellere dispositivi esterni non esistenti da Utility Disco?

2

Per qualche motivo Utility Disco (16.0) non ha espulso correttamente i miei HDD e mostra l'elenco di unità esterne ghosts come da immagine qui sotto:

nonostante non ci siano dischi rigidi esterni collegati. Espellerli dal menu contestuale non fa nulla.

Ho provato a utilizzare diskutil per smontare queste unità non esistenti:

diskutil list
diskutil unmountDisk /dev/disk2

ma non ha funzionato.

Compreso questo comando shell per smontarli tutti:

$ while read disk _; do diskutil unmountDisk force $disk; done < <(diskutil list | grep external)
Unmount of all volumes on disk2 was successful
Unmount of all volumes on disk4 was successful
Unmount of all volumes on disk5 was successful
Unmount of all volumes on disk6 was successful
Unmount of all volumes on disk7 was successful
Unmount of all volumes on disk8 was successful
Unmount of all volumes on disk9 was successful
Unmount of all volumes on disk10 was successful

ma il comando non prende alcun effetto (anche con force ) nonostante il messaggio riuscito. Quindi, questi dischi vengono ancora visualizzati dopo il riavvio di Utility Disco come indicato nel seguente comando:

$ diskutil list | grep external
/dev/disk2 (external, physical):
/dev/disk4 (external, physical):
/dev/disk5 (external, physical):
/dev/disk6 (external, physical):
/dev/disk7 (external, physical):
/dev/disk8 (external, physical):
/dev/disk9 (external, physical):
/dev/disk10 (external, physical):

Le seguenti voci di registro mostrano quando smontare un singolo disco:

$ log stream
opendirectoryd: Client: <private>, UID: 501, EUID: 501, GID: 20, EGID: 20
opendirectoryd: <private> completed, delivered 1 result
diskutil: (CoreFoundation) Loading Preferences From System CFPrefsD For Search List
diskutil: (CoreFoundation) Loading Preferences From User CFPrefsD For Search List
authd: (Security) SecTrustEvaluateIfNecessary
trustd: [com.apple.securityd.policy] cert[2]: AnchorTrusted =(leaf)[force]> <CFBoolean 0x7fffcc25d578 [0x7fffcc25cbd0]>{value = false}
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
authd: Succeeded authorizing right 'system.volume.external.unmount' by client '/usr/sbin/diskutil' [30724] for authorization created by '/usr/sbin/diskutil' [30724] (13,0)
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
authd: Succeeded authorizing right 'system.volume.external.unmount' by client '/usr/libexec/diskarbitrationd' [97] for authorization created by '/usr/sbin/diskutil' [30724] (2,0)
taskgated: (Security) [com.apple.securityd.security_exception] MacOS error: -67062
taskgated: (Security) [com.apple.securityd.security_exception] MacOS error: -67062

Come faccio a eliminare questi volumi non esistenti senza riavviare il sistema?

    
posta kenorb 13.10.2017 - 14:13
fonte

0 risposte

Leggi altre domande sui tag