Uso MacBook Air Mid 2013 (Intel Core i5 a 1,3 GHz, DDR3 Intel a 4 GB 1600 MHz, Intel HD Graphics 5000 1536 MB, memoria flash da 128 GB) con macOS Sierra 10.12
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12
BuildVersion: 16A323
Ho un disco rigido esterno (Western Digital WD Elements per 1 TB USB3) che utilizzo per l'archiviazione esterna per file di grandi dimensioni. Partizionato in 2 partizioni: JUMBO
(HFS +, 794,8 GB, crittografato) e JUMBO 2
(exFAT, 205,0 GB).
Il problema è che a volte (specialmente quando lo uso per uno o più giorni senza espulsione) quando espellisco il disco e poi ricollego non "monta". Posso vedere / utilizzare solo la partizione exFAT. Ho provato a smontare ed espellere tutto usando diskutil
ma non aiuta.
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Macintosh HD +120.1 GB disk1
Logical Volume on disk0s2
EEFEF749-BA27-42D1-9B89-DA793E10F33D
Unencrypted
/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_CoreStorage JUMBO 794.8 GB disk2s2
3: Apple_Boot Boot OS X 134.2 MB disk2s3
4: Microsoft Basic Data 205.0 GB disk2s4
/dev/disk3 (external, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: +794.5 GB disk3
Logical Volume JUMBO on disk2s2
3E1DB12A-A176-4A2A-BE65-5CC7D25C8582
Locked Encrypted
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_CoreStorage 794.8 GB disk4s2
3: Apple_Boot Boot OS X 134.2 MB disk4s3
4: Microsoft Basic Data JUMBO 2 205.0 GB disk4s4
Offline
Logical Volume JUMBO on disk2s2
3E1DB12A-A176-4A2A-BE65-5CC7D25C8582
Locked Encrypted
Così, ho provato a smontare tutti i dischi (2, 3, 4) e poi espellerli:
$ diskutil unmountDisk force /dev/disk2
Forced unmount of all volumes on disk2 was successful
$ diskutil unmountDisk force /dev/disk3
Forced unmount of all volumes on disk3 was successful
$ diskutil unmountDisk force /dev/disk4
Forced unmount of all volumes on disk4 was successful
$ diskutil eject /dev/disk2
Disk /dev/disk2 ejected
$ diskutil eject /dev/disk3
Volume failed to eject
$ diskutil eject /dev/disk4
Disk /dev/disk4 ejected
Dopo questo, disconnetto il disco e ricevo questo:
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Macintosh HD +120.1 GB disk1
Logical Volume on disk0s2
EEFEF749-BA27-42D1-9B89-DA793E10F33D
Unencrypted
/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_CoreStorage JUMBO 794.8 GB disk2s2
3: Apple_Boot Boot OS X 134.2 MB disk2s3
4: Microsoft Basic Data 205.0 GB disk2s4
/dev/disk3 (external, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: +794.5 GB disk3
Logical Volume JUMBO on disk2s2
3E1DB12A-A176-4A2A-BE65-5CC7D25C8582
Locked Encrypted
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_CoreStorage 794.8 GB disk4s2
3: Apple_Boot Boot OS X 134.2 MB disk4s3
4: Microsoft Basic Data JUMBO 2 205.0 GB disk4s4
Offline
Logical Volume JUMBO on disk2s2
3E1DB12A-A176-4A2A-BE65-5CC7D25C8582
Locked Encrypted
Quindi, non posso liberarmene.
Il problema si risolve usando il riavvio, ma ho bisogno di farlo senza riavviare. Qualcuno ha qualche idea?
PS: Inoltre, ho dimenticato di menzionare che nessun programma sta utilizzando file dal disco:
$ lsof | grep "JUMBO"
non dà risultati.
UPD: Quindi, dopo il riavvio, l'unità ghost è scomparsa:
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Macintosh HD +120.1 GB disk1
Logical Volume on disk0s2
EEFEF749-BA27-42D1-9B89-DA793E10F33D
Unencrypted
E dopo averlo collegato, è stato rilevato e montato automaticamente e tutto funziona come al solito:
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Macintosh HD +120.1 GB disk1
Logical Volume on disk0s2
EEFEF749-BA27-42D1-9B89-DA793E10F33D
Unencrypted
/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_CoreStorage JUMBO 794.8 GB disk2s2
3: Apple_Boot Boot OS X 134.2 MB disk2s3
4: Microsoft Basic Data JUMBO 2 205.0 GB disk2s4
/dev/disk3 (external, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: JUMBO +794.5 GB disk3
Logical Volume on disk2s2
3E1DB12A-A176-4A2A-BE65-5CC7D25C8582
Unlocked Encrypted