Riparazione della macchina temporale sparabondle che non si monterà più
-
30-10-2019 - |
Domanda
In qualche modo ho incasinato il mio backup della macchina del tempo. Non sono più in grado di montare il file sparsbundle poiché ricevo un errore affermando che non ci sono filesystem montati.
Ho usato il comando hdiutil per allegare il file sparsbundle:
hdiutil attach -nomount -readwrite flattop.sparsebundle
che ha comportato il seguente / dev / dispositivi:
/dev/disk2 Apple_partition_scheme
/dev/disk2s1 Apple_partition_map
/dev/disk2s2 Apple_HFSX
Successivamente ho eseguito il comando fsch_hfs per controllare il volume principale (/dev/disk2s2):
fsck_hfs -drf /dev/disk2s2
Ciò ha comportato un avviso che il volume di backup della macchina del tempo è corrotto e doveva essere riparato:
Unable to open block device /dev/disk2s2: Permission deniedjournal_replay(/dev/disk2s2) returned 13
** /dev/rdisk2s2 (NO WRITE)
Using cacheBlockSize=32K cacheTotalBlock=32768 cacheSize=1048576K.
Executing fsck_hfs (version diskdev_cmds-540.1~34).
Non-empty journal: start = 66310144, end = 94912512
Journal need to be replayed but volume is read-only
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
The volume name is Time Machine Backups
** Checking extents overflow file.
Unused node is not erased (node = 3568)
Unused node is not erased (node = 3574)
Unused node is not erased (node = 3575)
** Checking catalog file.
** The volume Time Machine Backups was found corrupt and needs to be repaired.
volume type is pure HFS+
primary MDB is at block 0 0x00
alternate MDB is at block 0 0x00
primary VHB is at block 2 0x02
alternate VHB is at block 2865568974 0xaacd1cce
sector size = 512 0x200
VolumeObject flags = 0x07
total sectors for volume = 2865568976 0xaacd1cd0
total sectors for embedded volume = 0 0x00
Come puoi vedere, c'è anche un errore che dice "Impossibile aprire Block Device/Dev/Disk2S2: autorizzazione deniedJournal_Replay (/Dev/Disk2S2) restituito 13".
Ho pensato che ciò potesse essere dovuto al non eseguire il comando FSCK_HFS come SU, quindi l'ho provato con sudo ma questo ha avuto lo stesso risultato.
Il mio file sparsbundle è su una sinologia ds408 NAS e ha funzionato senza problemi da circa 2 anni :(
Qualcuno è un'idea come portarlo oltre?
Cordiali saluti, Niels R.
AGGIORNAMENTO: come sospettavo mentre scrivo questa domanda, probabilmente ho un problema con le autorizzazioni di lettura/scrittura. Ora vedo il volume apparire nell'utilità del disco e quando faccio clic su "Verifica" ottengo il seguente output:
Verifying volume “Time Machine Backups”
Checking file systemJournal need to be replayed but volume is read-only
Checking Journaled HFS Plus volume.
Detected a case-sensitive volume.
Checking extents overflow file.
Unused node is not erased (node = 3568)
Checking catalog file.
Keys out of order
The volume Time Machine Backups was found corrupt and needs to be repaired.
Error: This disk needs to be repaired. Click Repair Disk.
Posso semplicemente chmod il file sparsbundle per impostare le autorizzazioni giuste?
Nessuna soluzione corretta