User Tools

Site Tools


docs:tips_n_tricks:max_os_x:fix_time_machine_sparsebundle_errors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
docs:tips_n_tricks:max_os_x:fix_time_machine_sparsebundle_errors [17.04.2020 17:44 CEST] peterdocs:tips_n_tricks:max_os_x:fix_time_machine_sparsebundle_errors [17.04.2020 20:40 CEST] peter
Line 3: Line 3:
 [This is an extract from //[[http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html|Fix Time Machine Sparsebundle NAS Based Backup Errors]]// by //Garth Gillespie//] [This is an extract from //[[http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html|Fix Time Machine Sparsebundle NAS Based Backup Errors]]// by //Garth Gillespie//]
  
-:!: 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> 
-:!: Maybe one reference in the comments to the article denoted above is worth reading: http://sansumbrella.com/writing/2012/the-reluctant-sysadmin-nas-time-machine/((Basically he suggests to create a sparsebundle on your own first, give it a custom band size:+<note tip>Maybe one reference in the comments to the article denoted above is worth reading: http://sansumbrella.com/writing/2012/the-reluctant-sysadmin-nas-time-machine/((Basically he suggests to create a sparsebundle on your own first, give it a custom band size:
   # creates a sparsebundle disk image with a 128MB band size   # creates a sparsebundle disk image with a 128MB band size
   MACHINE_NAME=your-machine-name   MACHINE_NAME=your-machine-name
   echo $MACHINE_NAME   echo $MACHINE_NAME
   hdiutil create -size 900g -type SPARSEBUNDLE -nospotlight -volname "Backup of $MACHINE_NAME" -fs "Case-sensitive Journaled HFS+" -imagekey sparse-band-size=262144 -verbose ./$MACHINE_NAME.sparsebundle   hdiutil create -size 900g -type SPARSEBUNDLE -nospotlight -volname "Backup of $MACHINE_NAME" -fs "Case-sensitive Journaled HFS+" -imagekey sparse-band-size=262144 -verbose ./$MACHINE_NAME.sparsebundle
-)) :!: \\ +))\\ 
-Inspired by his basic Idea, that the problem might be related to //ext2/3/4// file systems limitations, I changed to XFS for the underlying file system and got a stable backup.\\ +Inspired by his basic Idea, that the problem might be related to //ext2/3/4// file systems limitations, I changed to XFS for the underlying file system and got a stable backup.</note> 
-:!: Just realized that the source recommends to use raw disk devices, which means to use ''/dev/rdisk''... instead of ''/dev/disk''... :!:+<note important>Just realized that the source recommends to use raw disk devices, which means to use ''/dev/rdisk''... instead of ''/dev/disk''...</note> 
  
  
Line 60: Line 60:
 ** Checking volume information. ** Checking volume information.
 ** The volume Time Machine-Backups was repaired successfully. ** The volume Time Machine-Backups was repaired successfully.
-</code>(If something goes wrong and you have to start over, you need to clear the //user immutable flag// again.)\\ Most failures at this point were due to accidental unmount of the underlying ''/Volumes/Backup_Volume''. I believe the unmounts were caused by network errors while using WIFI.\\ :!: Therefore I recommend cabled network during the recovery process.+</code>(If something goes wrong and you have to start over, you need to clear the //user immutable flag// again.)\\ Most failures at this point were due to accidental unmount of the underlying ''/Volumes/Backup_Volume''. I believe the unmounts were caused by network errors while using WIFI. 
 +<note important>Therefore I recommend cabled network during the recovery process.</note>
   - If this does not finish successfully or did a "QUICKCHECK ONLY", run disk repair again:<code>   - If this does not finish successfully or did a "QUICKCHECK ONLY", run disk repair again:<code>
 ~ # fsck_hfs -drfy /dev/rdisk1s2 ~ # fsck_hfs -drfy /dev/rdisk1s2
docs/tips_n_tricks/max_os_x/fix_time_machine_sparsebundle_errors.txt · Last modified: 25.06.2020 01:01 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki