docs:tips_n_tricks:max_os_x:fix_time_machine_sparsebundle_errors
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docs:tips_n_tricks:max_os_x:fix_time_machine_sparsebundle_errors [13.08.2012 13:40 CEST] – peter | docs:tips_n_tricks:max_os_x:fix_time_machine_sparsebundle_errors [25.06.2020 01:01 CEST] (current) – peter | ||
---|---|---|---|
Line 3: | Line 3: | ||
[This is an extract from // | [This is an extract from // | ||
- | :!: This is work in progress! Not all steps are verified yet! :!: | + | <note warning>This is work in progress! Not all steps are verified yet!</ |
+ | <note tip> | ||
+ | # creates a sparsebundle disk image with a 128MB band size | ||
+ | MACHINE_NAME=your-machine-name | ||
+ | echo $MACHINE_NAME | ||
+ | hdiutil create -size 900g -type SPARSEBUNDLE -nospotlight -volname " | ||
+ | ))\\ | ||
+ | Inspired by his basic Idea, that the problem might be related to // | ||
+ | <note important> | ||
- | | + | |
- | {{ : | + | |
- | - I recommend to disable your backups as successive tries to backup during the recovery | + | - I recommend to disable your backups((Either in the Time Machine system preferences dialog or by '' |
- Start a shell (Terminal Window) with root permissions and recursively clear the //user immutable flag//:< | - Start a shell (Terminal Window) with root permissions and recursively clear the //user immutable flag//:< | ||
- | ~ # chflags -R nouchg / | + | ~ # chflags |
- | - attach the sparsebundle as volume without mounting< | + | - attach the sparsebundle as volume without mounting((it's been '' |
~ # hdiutil attach -nomount / | ~ # hdiutil attach -nomount / | ||
/ | / | ||
/ | / | ||
/ | / | ||
- | ~ #</ | + | ~ #</ |
- Monitor the progress of the file system check< | - Monitor the progress of the file system check< | ||
~ # tail -f / | ~ # tail -f / | ||
- | / | ||
- | / | ||
- | / | ||
- | QUICKCHECK ONLY; FILESYSTEM DIRTY | ||
- | |||
- | / | ||
/ | / | ||
/ | / | ||
Line 35: | Line 37: | ||
** Checking multi-linked directories. | ** Checking multi-linked directories. | ||
** Checking volume bitmap. | ** Checking volume bitmap. | ||
+ | | ||
** Checking volume information. | ** Checking volume information. | ||
| | ||
- | (It should be 2706734 | + | (It should be 3180308 |
| | ||
- | (It should be 277698 | + | (It should be 356386 |
| | ||
- | (It should be 28460131 | + | (It should be 15844066 |
| | ||
(2, 0) | (2, 0) | ||
Line 57: | Line 60: | ||
** Checking volume information. | ** Checking volume information. | ||
** The volume Time Machine-Backups was repaired successfully. | ** The volume Time Machine-Backups was repaired successfully. | ||
- | </ | + | </ |
- | - When done (successfully), run disk repair:< | + | <note important> |
- | ~ # fsck_hfs -drfy /dev/disk1s2 | + | - If this does not finish |
+ | ~ # fsck_hfs -drfy /dev/rdisk1s2 | ||
** / | ** / | ||
Using cacheBlockSize=32K cacheTotalBlock=8192 cacheSize=262144K. | Using cacheBlockSize=32K cacheTotalBlock=8192 cacheSize=262144K. | ||
Line 86: | Line 90: | ||
- Finally, detach the file system< | - Finally, detach the file system< | ||
~ # hdiutil detach / | ~ # hdiutil detach / | ||
- | - When complete, you need to edit an plist file within the sparsebundle that records the state of the backup. Within the sparsebundle open the file '' | + | - When complete, you need to edit an plist file within((use rightclick -> open package contents, not doubleclick)) |
|RecoveryBackupDeclinedDate |Date |DD.MM.YYYY HH:MM:SS | | |RecoveryBackupDeclinedDate |Date |DD.MM.YYYY HH:MM:SS | | ||
</ | </ | ||
Line 95: | Line 99: | ||
</ | </ | ||
- | Now you can eject the network share and have Time Machine give it another go. After the (long) verification step, backups should proceed once again. | + | Now you can eject the network share((Use '' |
+ | <note tip> | ||
+ | After the (long) verification step, backups should proceed once again. | ||
+ | |||
+ | {{tag> | ||
+ | {{entry> | ||
+ | {{entry> |
docs/tips_n_tricks/max_os_x/fix_time_machine_sparsebundle_errors.1344858030.txt.gz · Last modified: 13.08.2012 13:40 CEST by peter